diff options
219 files changed, 6820 insertions, 5901 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3 index 60dde5bf6..e2001754e 100644 --- a/docs/man/man3/Admin.3 +++ b/docs/man/man3/Admin.3 @@ -1,4 +1,4 @@ -.TH "Admin" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Admin" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -43,10 +43,10 @@ Definition at line 123 of file modules.h. .PP .SS "Admin::Admin (std::string name, std::string email, std::string nick)" .PP -Definition at line 314 of file modules.cpp. +Definition at line 238 of file modules.cpp. .PP .nf -314 : Name(name), Email(email), Nick(nick) { }; +238 : Name(name), Email(email), Nick(nick) { }; .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3 index 1d3720576..8fb296ba1 100644 --- a/docs/man/man3/BanItem.3 +++ b/docs/man/man3/BanItem.3 @@ -1,4 +1,4 @@ -.TH "BanItem" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "BanItem" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3 index fe2042e0c..23b16d688 100644 --- a/docs/man/man3/ConfigReader.3 +++ b/docs/man/man3/ConfigReader.3 @@ -1,4 +1,4 @@ -.TH "ConfigReader" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ConfigReader" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -84,239 +84,239 @@ Allows reading of values from configuration files This class allows a module to It may either be instantiated with one parameter or none. Constructing the class using one parameter allows you to specify a path to your own configuration file, otherwise, inspircd.conf is read. .PP -Definition at line 1147 of file modules.h. +Definition at line 1150 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "ConfigReader::ConfigReader ()" .PP -Default constructor. This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.Definition at line 870 of file modules.cpp. +Default constructor. This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.Definition at line 799 of file modules.cpp. .PP References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror. .PP .nf -871 { -872 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -873 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -874 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -875 if (!this->readerror) -876 this->error = CONF_FILE_NOT_FOUND; -877 } +800 { +801 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +802 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +803 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +804 if (!this->readerror) +805 this->error = CONF_FILE_NOT_FOUND; +806 } .fi .SS "ConfigReader::ConfigReader (std::string filename)" .PP -Overloaded constructor. This constructor initialises the ConfigReader class to read a user-specified config fileDefinition at line 889 of file modules.cpp. +Overloaded constructor. This constructor initialises the ConfigReader class to read a user-specified config fileDefinition at line 818 of file modules.cpp. .PP References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror. .PP .nf -890 { -891 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -892 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -893 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog); -894 if (!this->readerror) -895 this->error = CONF_FILE_NOT_FOUND; -896 }; +819 { +820 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +821 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +822 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog); +823 if (!this->readerror) +824 this->error = CONF_FILE_NOT_FOUND; +825 }; .fi .SS "ConfigReader::~\fBConfigReader\fP ()" .PP -Default destructor. This method destroys the ConfigReader class.Definition at line 880 of file modules.cpp. +Default destructor. This method destroys the ConfigReader class.Definition at line 809 of file modules.cpp. .PP References cache, and errorlog. .PP .nf -881 { -882 if (this->cache) -883 delete this->cache; -884 if (this->errorlog) -885 delete this->errorlog; -886 } +810 { +811 if (this->cache) +812 delete this->cache; +813 if (this->errorlog) +814 delete this->errorlog; +815 } .fi .SH "Member Function Documentation" .PP .SS "void ConfigReader::DumpErrors (bool bail, \fBuserrec\fP * user)" .PP -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 967 of file modules.cpp. +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 896 of file modules.cpp. .PP References errorlog, connection::fd, and userrec::nick. .PP .nf -968 { -969 if (bail) -970 { -971 printf('There were errors in your configuration:\n%s',errorlog->str().c_str()); -972 exit(0); -973 } -974 else -975 { -976 char dataline[1024]; -977 if (user) -978 { -979 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick); -980 while (!errorlog->eof()) -981 { -982 errorlog->getline(dataline,1024); -983 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline); -984 } -985 } -986 else -987 { -988 WriteOpers('There were errors in the configuration file:',user->nick); -989 while (!errorlog->eof()) -990 { -991 errorlog->getline(dataline,1024); -992 WriteOpers(dataline); -993 } -994 } -995 return; -996 } -997 } +897 { +898 if (bail) +899 { +900 printf('There were errors in your configuration:\n%s',errorlog->str().c_str()); +901 exit(0); +902 } +903 else +904 { +905 char dataline[1024]; +906 if (user) +907 { +908 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick); +909 while (!errorlog->eof()) +910 { +911 errorlog->getline(dataline,1024); +912 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline); +913 } +914 } +915 else +916 { +917 WriteOpers('There were errors in the configuration file:',user->nick); +918 while (!errorlog->eof()) +919 { +920 errorlog->getline(dataline,1024); +921 WriteOpers(dataline); +922 } +923 } +924 return; +925 } +926 } .fi .SS "int ConfigReader::Enumerate (std::string tag)" .PP -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 \fBConfigReader::ReadValue\fP to loop through all copies of a multiple instance tag.Definition at line 1000 of file modules.cpp. +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 \fBConfigReader::ReadValue\fP to loop through all copies of a multiple instance tag.Definition at line 929 of file modules.cpp. .PP References cache. .PP .nf -1001 { -1002 return EnumConf(cache,tag.c_str()); -1003 } +930 { +931 return EnumConf(cache,tag.c_str()); +932 } .fi .SS "int ConfigReader::EnumerateValues (std::string tag, int index)" .PP -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 1005 of file modules.cpp. +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 934 of file modules.cpp. .PP References cache. .PP .nf -1006 { -1007 return EnumValues(cache, tag.c_str(), index); -1008 } +935 { +936 return EnumValues(cache, tag.c_str(), index); +937 } .fi .SS "long ConfigReader::GetError ()" .PP -Returns the last error to occur. Valid errors can be found by looking in \fBmodules.h\fP. Any nonzero value indicates an error condition. A call to \fBGetError()\fP resets the error flag back to 0.Definition at line 960 of file modules.cpp. +Returns the last error to occur. Valid errors can be found by looking in \fBmodules.h\fP. Any nonzero value indicates an error condition. A call to \fBGetError()\fP resets the error flag back to 0.Definition at line 889 of file modules.cpp. .PP References error. .PP .nf -961 { -962 long olderr = this->error; -963 this->error = 0; -964 return olderr; -965 } +890 { +891 long olderr = this->error; +892 this->error = 0; +893 return olderr; +894 } .fi .SS "bool ConfigReader::ReadFlag (std::string tag, std::string name, int index)" .PP -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 914 of file modules.cpp. +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 843 of file modules.cpp. .PP References cache, CONF_VALUE_NOT_FOUND, and error. .PP .nf -915 { -916 char val[MAXBUF]; -917 char t[MAXBUF]; -918 char n[MAXBUF]; -919 strlcpy(t,tag.c_str(),MAXBUF); -920 strlcpy(n,name.c_str(),MAXBUF); -921 int res = ReadConf(cache,t,n,index,val); -922 if (!res) -923 { -924 this->error = CONF_VALUE_NOT_FOUND; -925 return false; -926 } -927 std::string s = val; -928 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1')); -929 } +844 { +845 char val[MAXBUF]; +846 char t[MAXBUF]; +847 char n[MAXBUF]; +848 strlcpy(t,tag.c_str(),MAXBUF); +849 strlcpy(n,name.c_str(),MAXBUF); +850 int res = ReadConf(cache,t,n,index,val); +851 if (!res) +852 { +853 this->error = CONF_VALUE_NOT_FOUND; +854 return false; +855 } +856 std::string s = val; +857 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1')); +858 } .fi .SS "long ConfigReader::ReadInteger (std::string tag, std::string name, int index, bool needs_unsigned)" .PP -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 \fBGetError()\fP 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 \fBGetError()\fP will return CONF_NOT_UNSIGNEDDefinition at line 931 of file modules.cpp. +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 \fBGetError()\fP 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 \fBGetError()\fP will return CONF_NOT_UNSIGNEDDefinition at line 860 of file modules.cpp. .PP References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error. .PP .nf -932 { -933 char val[MAXBUF]; -934 char t[MAXBUF]; -935 char n[MAXBUF]; -936 strlcpy(t,tag.c_str(),MAXBUF); -937 strlcpy(n,name.c_str(),MAXBUF); -938 int res = ReadConf(cache,t,n,index,val); -939 if (!res) -940 { -941 this->error = CONF_VALUE_NOT_FOUND; -942 return 0; -943 } -944 for (int i = 0; i < strlen(val); i++) -945 { -946 if (!isdigit(val[i])) -947 { -948 this->error = CONF_NOT_A_NUMBER; -949 return 0; -950 } -951 } -952 if ((needs_unsigned) && (atoi(val)<0)) -953 { -954 this->error = CONF_NOT_UNSIGNED; -955 return 0; -956 } -957 return atoi(val); -958 } +861 { +862 char val[MAXBUF]; +863 char t[MAXBUF]; +864 char n[MAXBUF]; +865 strlcpy(t,tag.c_str(),MAXBUF); +866 strlcpy(n,name.c_str(),MAXBUF); +867 int res = ReadConf(cache,t,n,index,val); +868 if (!res) +869 { +870 this->error = CONF_VALUE_NOT_FOUND; +871 return 0; +872 } +873 for (int i = 0; i < strlen(val); i++) +874 { +875 if (!isdigit(val[i])) +876 { +877 this->error = CONF_NOT_A_NUMBER; +878 return 0; +879 } +880 } +881 if ((needs_unsigned) && (atoi(val)<0)) +882 { +883 this->error = CONF_NOT_UNSIGNED; +884 return 0; +885 } +886 return atoi(val); +887 } .fi .SS "std::string ConfigReader::ReadValue (std::string tag, std::string name, int index)" .PP -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 898 of file modules.cpp. +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 827 of file modules.cpp. .PP References cache, CONF_VALUE_NOT_FOUND, and error. .PP .nf -899 { -900 char val[MAXBUF]; -901 char t[MAXBUF]; -902 char n[MAXBUF]; -903 strlcpy(t,tag.c_str(),MAXBUF); -904 strlcpy(n,name.c_str(),MAXBUF); -905 int res = ReadConf(cache,t,n,index,val); -906 if (!res) -907 { -908 this->error = CONF_VALUE_NOT_FOUND; -909 return ''; -910 } -911 return val; -912 } +828 { +829 char val[MAXBUF]; +830 char t[MAXBUF]; +831 char n[MAXBUF]; +832 strlcpy(t,tag.c_str(),MAXBUF); +833 strlcpy(n,name.c_str(),MAXBUF); +834 int res = ReadConf(cache,t,n,index,val); +835 if (!res) +836 { +837 this->error = CONF_VALUE_NOT_FOUND; +838 return ''; +839 } +840 return val; +841 } .fi .SS "bool ConfigReader::Verify ()" .PP -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 1010 of file modules.cpp. +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 939 of file modules.cpp. .PP References readerror. .PP .nf -1011 { -1012 return this->readerror; -1013 } +940 { +941 return this->readerror; +942 } .fi .SH "Member Data Documentation" .PP .SS "std::stringstream* \fBConfigReader::cache\fP\fC [protected]\fP" .PP -The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 1155 of file modules.h. +The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 1158 of file modules.h. .PP Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader(). .SS "long \fBConfigReader::error\fP\fC [protected]\fP" .PP -Definition at line 1160 of file modules.h. +Definition at line 1163 of file modules.h. .PP Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue(). .SS "std::stringstream* \fBConfigReader::errorlog\fP\fC [protected]\fP" .PP -Definition at line 1156 of file modules.h. +Definition at line 1159 of file modules.h. .PP Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader(). .SS "bool \fBConfigReader::readerror\fP\fC [protected]\fP" .PP -Used to store errors. Definition at line 1159 of file modules.h. +Used to store errors. Definition at line 1162 of file modules.h. .PP Referenced by ConfigReader(), and Verify(). diff --git a/docs/man/man3/ConnectClass.3 b/docs/man/man3/ConnectClass.3 index 3a7c5d1f5..c71050d3c 100644 --- a/docs/man/man3/ConnectClass.3 +++ b/docs/man/man3/ConnectClass.3 @@ -1,4 +1,4 @@ -.TH "ConnectClass" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ConnectClass" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3 index 7af2610b6..f70f13979 100644 --- a/docs/man/man3/DNS.3 +++ b/docs/man/man3/DNS.3 @@ -1,4 +1,4 @@ -.TH "DNS" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "DNS" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3 index dd20df94f..cf223c4a7 100644 --- a/docs/man/man3/ELine.3 +++ b/docs/man/man3/ELine.3 @@ -1,4 +1,4 @@ -.TH "ELine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ELine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3 index dabb4c1d4..249e9bcba 100644 --- a/docs/man/man3/Event.3 +++ b/docs/man/man3/Event.3 @@ -1,4 +1,4 @@ -.TH "Event" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Event" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -63,59 +63,59 @@ Definition at line 194 of file modules.h. .PP .SS "Event::Event (char * anydata, \fBModule\fP * src, std::string eventid)" .PP -Create a new Event. Definition at line 345 of file modules.cpp. +Create a new Event. Definition at line 269 of file modules.cpp. .PP .nf -345 : data(anydata), source(src), id(eventid) { }; +269 : data(anydata), source(src), id(eventid) { }; .fi .SH "Member Function Documentation" .PP .SS "char * Event::GetData ()" .PP -Get the Event data. Definition at line 347 of file modules.cpp. +Get the Event data. Definition at line 271 of file modules.cpp. .PP References data. .PP .nf -348 { -349 return this->data; -350 } +272 { +273 return this->data; +274 } .fi .SS "std::string Event::GetEventID ()" .PP -Get the event ID. Use this to determine the event type for safe casting of the data Definition at line 363 of file modules.cpp. +Get the event ID. Use this to determine the event type for safe casting of the data Definition at line 287 of file modules.cpp. .PP References id. .PP .nf -364 { -365 return this->id; -366 } +288 { +289 return this->id; +290 } .fi .SS "\fBModule\fP * Event::GetSource ()" .PP -Get the event Source. Definition at line 352 of file modules.cpp. +Get the event Source. Definition at line 276 of file modules.cpp. .PP References source. .PP .nf -353 { -354 return this->source; -355 } +277 { +278 return this->source; +279 } .fi .SS "char * Event::Send ()\fC [virtual]\fP" .PP Send the Event. The return result of an \fBEvent::Send()\fP will always be NULL as no replies are expected. Implements \fBModuleMessage\fP. .PP -Definition at line 357 of file modules.cpp. +Definition at line 281 of file modules.cpp. .PP References FOREACH_MOD. .PP .nf -358 { -359 FOREACH_MOD OnEvent(this); -360 return NULL; -361 } +282 { +283 FOREACH_MOD OnEvent(this); +284 return NULL; +285 } .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3 index bd9e59b1e..b30ba6601 100644 --- a/docs/man/man3/ExemptItem.3 +++ b/docs/man/man3/ExemptItem.3 @@ -1,4 +1,4 @@ -.TH "ExemptItem" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ExemptItem" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3 index cb5210120..353b17ce3 100644 --- a/docs/man/man3/ExtMode.3 +++ b/docs/man/man3/ExtMode.3 @@ -1,4 +1,4 @@ -.TH "ExtMode" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ExtMode" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -41,41 +41,41 @@ Inherits \fBclassbase\fP. .PP .SS "ExtMode::ExtMode (char mc, int ty, bool oper, int p_on, int p_off)\fC [inline]\fP" .PP -Definition at line 212 of file modules.cpp. +Definition at line 136 of file modules.cpp. .PP References modechar, needsoper, params_when_off, params_when_on, and type. .PP .nf -212 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; +136 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; .fi .SH "Member Data Documentation" .PP .SS "bool \fBExtMode::list\fP" .PP -Definition at line 211 of file modules.cpp. +Definition at line 135 of file modules.cpp. .SS "char \fBExtMode::modechar\fP" .PP -Definition at line 206 of file modules.cpp. +Definition at line 130 of file modules.cpp. .PP Referenced by ExtMode(). .SS "bool \fBExtMode::needsoper\fP" .PP -Definition at line 210 of file modules.cpp. +Definition at line 134 of file modules.cpp. .PP Referenced by ExtMode(). .SS "int \fBExtMode::params_when_off\fP" .PP -Definition at line 209 of file modules.cpp. +Definition at line 133 of file modules.cpp. .PP Referenced by ExtMode(). .SS "int \fBExtMode::params_when_on\fP" .PP -Definition at line 208 of file modules.cpp. +Definition at line 132 of file modules.cpp. .PP Referenced by ExtMode(). .SS "int \fBExtMode::type\fP" .PP -Definition at line 207 of file modules.cpp. +Definition at line 131 of file modules.cpp. .PP Referenced by ExtMode(). diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3 index 530de1651..46a699705 100644 --- a/docs/man/man3/Extensible.3 +++ b/docs/man/man3/Extensible.3 @@ -1,4 +1,4 @@ -.TH "Extensible" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Extensible" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3 index d22ca3912..1df4ff063 100644 --- a/docs/man/man3/FileReader.3 +++ b/docs/man/man3/FileReader.3 @@ -1,4 +1,4 @@ -.TH "FileReader" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "FileReader" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -57,100 +57,100 @@ Caches a text file into memory and can be used to retrieve lines from it. This class contains methods for read-only manipulation of a text file in memory. Either use the constructor type with one parameter to load a file into memory at construction, or use the LoadFile method to load a file. .PP -Definition at line 1236 of file modules.h. +Definition at line 1239 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "FileReader::FileReader ()" .PP -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 1023 of file modules.cpp. +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 952 of file modules.cpp. .PP .nf -1024 { -1025 } +953 { +954 } .fi .SS "FileReader::FileReader (std::string filename)" .PP -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, \fBFileReader::FileSize\fP returns 0.Definition at line 1016 of file modules.cpp. +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, \fBFileReader::FileSize\fP returns 0.Definition at line 945 of file modules.cpp. .PP References fc, and file_cache. .PP .nf -1017 { -1018 file_cache c; -1019 readfile(c,filename.c_str()); -1020 this->fc = c; -1021 } +946 { +947 file_cache c; +948 readfile(c,filename.c_str()); +949 this->fc = c; +950 } .fi .SS "FileReader::~\fBFileReader\fP ()" .PP -Default destructor. This deletes the memory allocated to the file.Definition at line 1035 of file modules.cpp. +Default destructor. This deletes the memory allocated to the file.Definition at line 964 of file modules.cpp. .PP .nf -1036 { -1037 } +965 { +966 } .fi .SH "Member Function Documentation" .PP .SS "bool FileReader::Exists ()" .PP -Returns true if the file exists This function will return false if the file could not be opened. Definition at line 1039 of file modules.cpp. +Returns true if the file exists This function will return false if the file could not be opened. Definition at line 968 of file modules.cpp. .PP References fc. .PP .nf -1040 { -1041 if (fc.size() == 0) -1042 { -1043 return(false); -1044 } -1045 else -1046 { -1047 return(true); -1048 } -1049 } +969 { +970 if (fc.size() == 0) +971 { +972 return(false); +973 } +974 else +975 { +976 return(true); +977 } +978 } .fi .SS "int FileReader::FileSize ()" .PP -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 1058 of file modules.cpp. +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 987 of file modules.cpp. .PP References fc. .PP .nf -1059 { -1060 return fc.size(); -1061 } +988 { +989 return fc.size(); +990 } .fi .SS "std::string FileReader::GetLine (int x)" .PP -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 1051 of file modules.cpp. +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 980 of file modules.cpp. .PP References fc. .PP .nf -1052 { -1053 if ((x<0) || (x>fc.size())) -1054 return ''; -1055 return fc[x]; -1056 } +981 { +982 if ((x<0) || (x>fc.size())) +983 return ''; +984 return fc[x]; +985 } .fi .SS "void FileReader::LoadFile (std::string filename)" .PP -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, \fBFileReader::FileSize\fP returns 0.Definition at line 1027 of file modules.cpp. +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, \fBFileReader::FileSize\fP returns 0.Definition at line 956 of file modules.cpp. .PP References fc, and file_cache. .PP .nf -1028 { -1029 file_cache c; -1030 readfile(c,filename.c_str()); -1031 this->fc = c; -1032 } +957 { +958 file_cache c; +959 readfile(c,filename.c_str()); +960 this->fc = c; +961 } .fi .SH "Member Data Documentation" .PP .SS "\fBfile_cache\fP \fBFileReader::fc\fP\fC [private]\fP" .PP -Definition at line 1238 of file modules.h. +Definition at line 1241 of file modules.h. .PP Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile(). diff --git a/docs/man/man3/GLine.3 b/docs/man/man3/GLine.3 index 720e44cf2..e781013fa 100644 --- a/docs/man/man3/GLine.3 +++ b/docs/man/man3/GLine.3 @@ -1,4 +1,4 @@ -.TH "GLine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "GLine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3 index eeab03ac9..37b11a714 100644 --- a/docs/man/man3/HostItem.3 +++ b/docs/man/man3/HostItem.3 @@ -1,4 +1,4 @@ -.TH "HostItem" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "HostItem" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/InAddr_HashComp.3 b/docs/man/man3/InAddr_HashComp.3 index 284f16016..38bfe4075 100644 --- a/docs/man/man3/InAddr_HashComp.3 +++ b/docs/man/man3/InAddr_HashComp.3 @@ -1,36 +1,35 @@ -.TH "InAddr_HashComp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "InAddr_HashComp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME -InAddr_HashComp \- +InAddr_HashComp \- This class returns true if two in_addr structs match. + +.PP .SH SYNOPSIS .br .PP +\fC#include <hashcomp.h>\fP +.PP .SS "Public Member Functions" .in +1c .ti -1c .RI "bool \fBoperator()\fP (const in_addr &s1, const in_addr &s2) const" .br +.RI "\fIThe operator () does the actual comparison in hash_map. \fP" .in -1c -.SH "Member Function Documentation" +.SH "Detailed Description" .PP -.SS "bool InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const\fC [inline]\fP" +This class returns true if two in_addr structs match. + +Checking is done by copying both into a size_t then doing a numeric comparison of the two. .PP -Definition at line 171 of file modules.cpp. +Definition at line 71 of file hashcomp.h. +.SH "Member Function Documentation" +.PP +.SS "bool InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const" .PP -.nf -172 { -173 size_t q; -174 size_t p; -175 -176 memcpy(&q,&s1,sizeof(size_t)); -177 memcpy(&p,&s2,sizeof(size_t)); -178 -179 return (q == p); -180 } -.fi - +The operator () does the actual comparison in hash_map. .SH "Author" .PP diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3 index 301a0d350..50608345f 100644 --- a/docs/man/man3/InviteItem.3 +++ b/docs/man/man3/InviteItem.3 @@ -1,4 +1,4 @@ -.TH "InviteItem" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "InviteItem" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3 index 3040a4902..e09d4d9b5 100644 --- a/docs/man/man3/Invited.3 +++ b/docs/man/man3/Invited.3 @@ -1,4 +1,4 @@ -.TH "Invited" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Invited" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3 index 4281b3d43..ed73e3e15 100644 --- a/docs/man/man3/KLine.3 +++ b/docs/man/man3/KLine.3 @@ -1,4 +1,4 @@ -.TH "KLine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "KLine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3 index 1b6cfe6ed..2a85198db 100644 --- a/docs/man/man3/ModeParameter.3 +++ b/docs/man/man3/ModeParameter.3 @@ -1,4 +1,4 @@ -.TH "ModeParameter" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ModeParameter" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3 index 49fa49d4b..b33e933cd 100644 --- a/docs/man/man3/Module.3 +++ b/docs/man/man3/Module.3 @@ -1,4 +1,4 @@ -.TH "Module" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Module" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -251,35 +251,35 @@ Definition at line 236 of file modules.h. .PP .SS "Module::Module ()" .PP -Default constructor creates a module class. Definition at line 370 of file modules.cpp. +Default constructor creates a module class. Definition at line 294 of file modules.cpp. .PP .nf -370 { } +294 { } .fi .SS "Module::~\fBModule\fP ()\fC [virtual]\fP" .PP -Default destructor destroys a module class. Definition at line 371 of file modules.cpp. +Default destructor destroys a module class. Definition at line 295 of file modules.cpp. .PP .nf -371 { } +295 { } .fi .SH "Member Function Documentation" .PP .SS "\fBVersion\fP Module::GetVersion ()\fC [virtual]\fP" .PP -Returns the version number of a Module. The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fPDefinition at line 383 of file modules.cpp. +Returns the version number of a Module. The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fPDefinition at line 307 of file modules.cpp. .PP References VF_VENDOR. .PP .nf -383 { return Version(1,0,0,0,VF_VENDOR); } +307 { return Version(1,0,0,0,VF_VENDOR); } .fi .SS "void Module::On005Numeric (std::string & output)\fC [virtual]\fP" .PP -Called when a 005 numeric is about to be output. The module should modify the 005 numeric if needed to indicate its features.Definition at line 395 of file modules.cpp. +Called when a 005 numeric is about to be output. The module should modify the 005 numeric if needed to indicate its features.Definition at line 319 of file modules.cpp. .PP .nf -395 { }; +319 { }; .fi .SS "int Module::OnAccessCheck (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel, int access_type)\fC [virtual]\fP" .PP @@ -307,312 +307,312 @@ Called before an action which requires a channel privilage check. This function .br .br - Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).Definition at line 392 of file modules.cpp. + Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).Definition at line 316 of file modules.cpp. .PP References ACR_DEFAULT. .PP .nf -392 { return ACR_DEFAULT; }; +316 { return ACR_DEFAULT; }; .fi .SS "int Module::OnAddBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, std::string banmask)\fC [virtual]\fP" .PP -Called whenever a ban is added to a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being added.Definition at line 420 of file modules.cpp. +Called whenever a ban is added to a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being added.Definition at line 344 of file modules.cpp. .PP .nf -420 { return 0; }; +344 { return 0; }; .fi .SS "void Module::OnBackgroundTimer (time_t curtime)\fC [virtual]\fP" .PP -Called once every five seconds for background processing. This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server.Definition at line 398 of file modules.cpp. +Called once every five seconds for background processing. This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server.Definition at line 322 of file modules.cpp. .PP .nf -398 { }; +322 { }; .fi .SS "int Module::OnChangeLocalUserGECOS (\fBuserrec\fP * user, std::string newhost)\fC [virtual]\fP" .PP -Called whenever a change of a local users GECOS (fullname field) is attempted. return 1 to deny the name change, or 0 to allow it.Definition at line 412 of file modules.cpp. +Called whenever a change of a local users GECOS (fullname field) is attempted. return 1 to deny the name change, or 0 to allow it.Definition at line 336 of file modules.cpp. .PP .nf -412 { return 0; }; +336 { return 0; }; .fi .SS "int Module::OnChangeLocalUserHost (\fBuserrec\fP * user, std::string newhost)\fC [virtual]\fP" .PP -Called whenever a change of a local users displayed host is attempted. Return 1 to deny the host change, or 0 to allow it.Definition at line 411 of file modules.cpp. +Called whenever a change of a local users displayed host is attempted. Return 1 to deny the host change, or 0 to allow it.Definition at line 335 of file modules.cpp. .PP .nf -411 { return 0; }; +335 { return 0; }; .fi .SS "\fBstring_list\fP Module::OnChannelSync (\fBchanrec\fP * chan)\fC [virtual]\fP" .PP -Called during a netburst to sync channel data. This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 394 of file modules.cpp. +Called during a netburst to sync channel data. This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 318 of file modules.cpp. .PP References string_list. .PP .nf -394 { string_list empty; return empty; } +318 { string_list empty; return empty; } .fi .SS "int Module::OnCheckBan (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" .PP -Called whenever a user joins a channel, to determine if banlist checks should go ahead or not. This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 409 of file modules.cpp. +Called whenever a user joins a channel, to determine if banlist checks should go ahead or not. This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 333 of file modules.cpp. .PP .nf -409 { return 0; }; +333 { return 0; }; .fi .SS "int Module::OnCheckInvite (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" .PP -Called whenever a user joins a channel, to determine if invite checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.Definition at line 406 of file modules.cpp. +Called whenever a user joins a channel, to determine if invite checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.Definition at line 330 of file modules.cpp. .PP .nf -406 { return 0; }; +330 { return 0; }; .fi .SS "int Module::OnCheckKey (\fBuserrec\fP * user, \fBchanrec\fP * chan, std::string keygiven)\fC [virtual]\fP" .PP -Called whenever a user joins a channel, to determine if key checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 407 of file modules.cpp. +Called whenever a user joins a channel, to determine if key checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 331 of file modules.cpp. .PP .nf -407 { return 0; }; +331 { return 0; }; .fi .SS "int Module::OnCheckLimit (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" .PP -Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 408 of file modules.cpp. +Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 332 of file modules.cpp. .PP .nf -408 { return 0; }; +332 { return 0; }; .fi .SS "bool Module::OnCheckReady (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.Definition at line 401 of file modules.cpp. +Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.Definition at line 325 of file modules.cpp. .PP .nf -401 { return true; }; +325 { return true; }; .fi .SS "int Module::OnDelBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, std::string banmask)\fC [virtual]\fP" .PP -Called whenever a ban is removed from a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.Definition at line 421 of file modules.cpp. +Called whenever a ban is removed from a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.Definition at line 345 of file modules.cpp. .PP .nf -421 { return 0; }; +345 { return 0; }; .fi .SS "void Module::OnEvent (\fBEvent\fP * event)\fC [virtual]\fP" .PP -Called whenever an \fBEvent\fP class is sent to all module by another module. Please see the documentation of \fBEvent::Send()\fP for further information. The \fBEvent\fP sent can always be assumed to be non-NULL, you should *always* check the value of \fBEvent::GetEventID()\fP before doing anything to the event data, and you should *not* change the event data in any way!Definition at line 415 of file modules.cpp. +Called whenever an \fBEvent\fP class is sent to all module by another module. Please see the documentation of \fBEvent::Send()\fP for further information. The \fBEvent\fP sent can always be assumed to be non-NULL, you should *always* check the value of \fBEvent::GetEventID()\fP before doing anything to the event data, and you should *not* change the event data in any way!Definition at line 339 of file modules.cpp. .PP .nf -415 { return; }; +339 { return; }; .fi .SS "int Module::OnExtendedMode (\fBuserrec\fP * user, void * target, char modechar, int type, bool mode_on, \fBstring_list\fP & params)\fC [virtual]\fP" .PP -Called whenever an extended mode is to be processed. The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with \fBServer::AddExtendedMode\fP If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.Definition at line 382 of file modules.cpp. +Called whenever an extended mode is to be processed. The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with \fBServer::AddExtendedMode\fP If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.Definition at line 306 of file modules.cpp. .PP .nf -382 { return false; } +306 { return false; } .fi .SS "void Module::OnGlobalConnect (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever a user connects, anywhere on the network. This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users.Definition at line 419 of file modules.cpp. +Called whenever a user connects, anywhere on the network. This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users.Definition at line 343 of file modules.cpp. .PP .nf -419 { }; +343 { }; .fi .SS "void Module::OnGlobalOper (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever a user is given usermode +o, anywhere on the network. You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes.Definition at line 418 of file modules.cpp. +Called whenever a user is given usermode +o, anywhere on the network. You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes.Definition at line 342 of file modules.cpp. .PP .nf -418 { }; +342 { }; .fi .SS "void Module::OnInfo (\fBuserrec\fP * user)\fC [virtual]\fP" .PP Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format: .PP -<nick> :information hereDefinition at line 385 of file modules.cpp. +<nick> :information hereDefinition at line 309 of file modules.cpp. .PP .nf -385 { }; +309 { }; .fi .SS "int Module::OnKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, std::string reason)\fC [virtual]\fP" .PP -Called when a client is disconnected by KILL. If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!Definition at line 396 of file modules.cpp. +Called when a client is disconnected by KILL. If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!Definition at line 320 of file modules.cpp. .PP .nf -396 { return 0; }; +320 { return 0; }; .fi .SS "void Module::OnLoadModule (\fBModule\fP * mod, std::string name)\fC [virtual]\fP" .PP -Called whenever a module is loaded. mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded 'm_killwidgets.so' with 'm_makewidgets.so'. It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).Definition at line 397 of file modules.cpp. +Called whenever a module is loaded. mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded 'm_killwidgets.so' with 'm_makewidgets.so'. It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).Definition at line 321 of file modules.cpp. .PP .nf -397 { }; +321 { }; .fi .SS "int Module::OnLocalTopicChange (\fBuserrec\fP * user, \fBchanrec\fP * chan, std::string topic)\fC [virtual]\fP" .PP -Called whenever a topic is changed by a local user. Return 1 to deny the topic change, or 0 to allow it.Definition at line 413 of file modules.cpp. +Called whenever a topic is changed by a local user. Return 1 to deny the topic change, or 0 to allow it.Definition at line 337 of file modules.cpp. .PP .nf -413 { return 0; }; +337 { return 0; }; .fi .SS "int Module::OnMeshToken (char token, \fBstring_list\fP params, \fBserverrec\fP * source, \fBserverrec\fP * reply, std::string tcp_host, std::string ipaddr, int port)\fC [virtual]\fP" .PP -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 414 of file modules.cpp. +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 338 of file modules.cpp. .PP .nf -414 { return 0; }; +338 { return 0; }; .fi .SS "void Module::OnOper (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever a user opers locally. The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.Definition at line 384 of file modules.cpp. +Called whenever a user opers locally. The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.Definition at line 308 of file modules.cpp. .PP .nf -384 { }; +308 { }; .fi .SS "int Module::OnOperCompare (std::string password, std::string input)\fC [virtual]\fP" .PP -Called whenever an oper password is to be compared to what a user has input. The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing.Definition at line 417 of file modules.cpp. +Called whenever an oper password is to be compared to what a user has input. The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing.Definition at line 341 of file modules.cpp. .PP .nf -417 { return 0; }; +341 { return 0; }; .fi .SS "void Module::OnPacketReceive (std::string & data, std::string serv)\fC [virtual]\fP" .PP -Called after a packet is received from another irc server. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.Definition at line 378 of file modules.cpp. +Called after a packet is received from another irc server. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.Definition at line 302 of file modules.cpp. .PP .nf -378 { } +302 { } .fi .SS "void Module::OnPacketTransmit (std::string & data, std::string serv)\fC [virtual]\fP" .PP -Called before a packet is transmitted across the irc network between two irc servers. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.Definition at line 377 of file modules.cpp. +Called before a packet is transmitted across the irc network between two irc servers. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.Definition at line 301 of file modules.cpp. .PP .nf -377 { } +301 { } .fi .SS "int Module::OnPreCommand (std::string command, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever any command is about to be executed. This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using \fBServer::QuitUser\fP) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!)Definition at line 400 of file modules.cpp. +Called whenever any command is about to be executed. This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using \fBServer::QuitUser\fP) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!)Definition at line 324 of file modules.cpp. .PP .nf -400 { return 0; }; +324 { return 0; }; .fi .SS "int Module::OnRawMode (\fBuserrec\fP * user, \fBchanrec\fP * chan, char mode, std::string param, bool adding, int pcnt)\fC [virtual]\fP" .PP -Called whenever a mode character is processed. Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!Definition at line 405 of file modules.cpp. +Called whenever a mode character is processed. Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!Definition at line 329 of file modules.cpp. .PP .nf -405 { return 0; }; +329 { return 0; }; .fi .SS "void Module::OnRawSocketAccept (int fd, std::string ip, int localport)\fC [virtual]\fP" .PP -Called immediately after any connection is accepted. This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection.Definition at line 422 of file modules.cpp. +Called immediately after any connection is accepted. This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection.Definition at line 346 of file modules.cpp. .PP .nf -422 { }; +346 { }; .fi .SS "void Module::OnRawSocketClose (int fd)\fC [virtual]\fP" .PP -Called immediately before any socket is closed. When this event is called, shutdown() has not yet been called on the socket.Definition at line 424 of file modules.cpp. +Called immediately before any socket is closed. When this event is called, shutdown() has not yet been called on the socket.Definition at line 348 of file modules.cpp. .PP .nf -424 { }; +348 { }; .fi .SS "int Module::OnRawSocketRead (int fd, char * buffer, unsigned int count, int & readresult)\fC [virtual]\fP" .PP -Called immediately before any read() operation on a client socket in the core. This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult.Definition at line 425 of file modules.cpp. +Called immediately before any read() operation on a client socket in the core. This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult.Definition at line 349 of file modules.cpp. .PP .nf -425 { return 0; }; +349 { return 0; }; .fi .SS "int Module::OnRawSocketWrite (int fd, char * buffer, int count)\fC [virtual]\fP" .PP -Called immediately before any write() operation on a user's socket in the core. Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write().Definition at line 423 of file modules.cpp. +Called immediately before any write() operation on a user's socket in the core. Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write().Definition at line 347 of file modules.cpp. .PP .nf -423 { return 0; }; +347 { return 0; }; .fi .SS "void Module::OnRehash ()\fC [virtual]\fP" .PP -Called on rehash. This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.Definition at line 379 of file modules.cpp. +Called on rehash. This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.Definition at line 303 of file modules.cpp. .PP .nf -379 { } +303 { } .fi .SS "char * Module::OnRequest (\fBRequest\fP * request)\fC [virtual]\fP" .PP -Called whenever a \fBRequest\fP class is sent to your module by another module. Please see the documentation of \fBRequest::Send()\fP for further information. The \fBRequest\fP sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).Definition at line 416 of file modules.cpp. +Called whenever a \fBRequest\fP class is sent to your module by another module. Please see the documentation of \fBRequest::Send()\fP for further information. The \fBRequest\fP sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).Definition at line 340 of file modules.cpp. .PP Referenced by Request::Send(). .PP .nf -416 { return NULL; }; +340 { return NULL; }; .fi .SS "void Module::OnSendList (\fBuserrec\fP * user, \fBchanrec\fP * channel, char mode)\fC [virtual]\fP" .PP -Called whenever a list is needed for a listmode. For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle.Definition at line 399 of file modules.cpp. +Called whenever a list is needed for a listmode. For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle.Definition at line 323 of file modules.cpp. .PP .nf -399 { }; +323 { }; .fi .SS "void Module::OnServerRaw (std::string & raw, bool inbound, \fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called when a raw command is transmitted or received. This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter 'raw'. If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.Definition at line 380 of file modules.cpp. +Called when a raw command is transmitted or received. This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter 'raw'. If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.Definition at line 304 of file modules.cpp. .PP .nf -380 { } +304 { } .fi .SS "void Module::OnStats (char symbol)\fC [virtual]\fP" .PP -Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core. Definition at line 410 of file modules.cpp. +Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core. Definition at line 334 of file modules.cpp. .PP .nf -410 { }; +334 { }; .fi .SS "void Module::OnUserConnect (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called when a user connects. The details of the connecting user are available to you in the parameter userrec *userDefinition at line 372 of file modules.cpp. +Called when a user connects. The details of the connecting user are available to you in the parameter userrec *userDefinition at line 296 of file modules.cpp. .PP .nf -372 { } +296 { } .fi .SS "void Module::OnUserDisconnect (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever a user's socket is closed. The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets.Definition at line 374 of file modules.cpp. +Called whenever a user's socket is closed. The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets.Definition at line 298 of file modules.cpp. .PP .nf -374 { } +298 { } .fi .SS "void Module::OnUserJoin (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP" .PP -Called when a user joins a channel. The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channelDefinition at line 375 of file modules.cpp. +Called when a user joins a channel. The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channelDefinition at line 299 of file modules.cpp. .PP .nf -375 { } +299 { } .fi .SS "void Module::OnUserKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, std::string reason)\fC [virtual]\fP" .PP -Called whenever a user is kicked. If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use \fBModule::OnUserPreKick\fP instead of this method.Definition at line 404 of file modules.cpp. +Called whenever a user is kicked. If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use \fBModule::OnUserPreKick\fP instead of this method.Definition at line 328 of file modules.cpp. .PP .nf -404 { }; +328 { }; .fi .SS "void Module::OnUserPart (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP" .PP -Called when a user parts a channel. The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channelDefinition at line 376 of file modules.cpp. +Called when a user parts a channel. The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channelDefinition at line 300 of file modules.cpp. .PP .nf -376 { } +300 { } .fi .SS "void Module::OnUserPostNick (\fBuserrec\fP * user, std::string oldnick)\fC [virtual]\fP" .PP -Called after any nickchange, local or remote. This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. Definition at line 391 of file modules.cpp. +Called after any nickchange, local or remote. This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. Definition at line 315 of file modules.cpp. .PP .nf -391 { }; +315 { }; .fi .SS "int Module::OnUserPreInvite (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel)\fC [virtual]\fP" .PP -Called whenever a user is about to invite another user into a channel, before any processing is done. Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.Definition at line 387 of file modules.cpp. +Called whenever a user is about to invite another user into a channel, before any processing is done. Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.Definition at line 311 of file modules.cpp. .PP .nf -387 { return 0; }; +311 { return 0; }; .fi .SS "int Module::OnUserPreJoin (\fBuserrec\fP * user, \fBchanrec\fP * chan, const char * cname)\fC [virtual]\fP" .PP @@ -620,68 +620,68 @@ Called whenever a user is about to join a channel, before any processing is done .PP IMPORTANT NOTE! .PP -If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.Definition at line 381 of file modules.cpp. +If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.Definition at line 305 of file modules.cpp. .PP .nf -381 { return 0; } +305 { return 0; } .fi .SS "int Module::OnUserPreKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, std::string reason)\fC [virtual]\fP" .PP -Called whenever a user is about to be kicked. Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. Definition at line 403 of file modules.cpp. +Called whenever a user is about to be kicked. Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. Definition at line 327 of file modules.cpp. .PP .nf -403 { return 0; }; +327 { return 0; }; .fi .SS "int Module::OnUserPreMessage (\fBuserrec\fP * user, void * dest, int target_type, std::string & text)\fC [virtual]\fP" .PP -Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.Definition at line 388 of file modules.cpp. +Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.Definition at line 312 of file modules.cpp. .PP .nf -388 { return 0; }; +312 { return 0; }; .fi .SS "int Module::OnUserPreNick (\fBuserrec\fP * user, std::string newnick)\fC [virtual]\fP" .PP -Called before any nickchange, local or remote. This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.Definition at line 390 of file modules.cpp. +Called before any nickchange, local or remote. This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.Definition at line 314 of file modules.cpp. .PP .nf -390 { return 0; }; +314 { return 0; }; .fi .SS "int Module::OnUserPreNotice (\fBuserrec\fP * user, void * dest, int target_type, std::string & text)\fC [virtual]\fP" .PP -Called whenever a user is about to NOTICE A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.Definition at line 389 of file modules.cpp. +Called whenever a user is about to NOTICE A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.Definition at line 313 of file modules.cpp. .PP .nf -389 { return 0; }; +313 { return 0; }; .fi .SS "void Module::OnUserQuit (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called when a user quits. The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method.Definition at line 373 of file modules.cpp. +Called when a user quits. The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method.Definition at line 297 of file modules.cpp. .PP .nf -373 { } +297 { } .fi .SS "void Module::OnUserRegister (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called whenever a user is about to register their connection (e.g. before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead.Definition at line 402 of file modules.cpp. +Called whenever a user is about to register their connection (e.g. before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead.Definition at line 326 of file modules.cpp. .PP .nf -402 { }; +326 { }; .fi .SS "\fBstring_list\fP Module::OnUserSync (\fBuserrec\fP * user)\fC [virtual]\fP" .PP -Called during a netburst to sync user data. This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 393 of file modules.cpp. +Called during a netburst to sync user data. This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 317 of file modules.cpp. .PP References string_list. .PP .nf -393 { string_list empty; return empty; } +317 { string_list empty; return empty; } .fi .SS "void Module::OnWhois (\fBuserrec\fP * source, \fBuserrec\fP * dest)\fC [virtual]\fP" .PP -Called whenever a /WHOIS is performed on a local user. The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.Definition at line 386 of file modules.cpp. +Called whenever a /WHOIS is performed on a local user. The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.Definition at line 310 of file modules.cpp. .PP .nf -386 { }; +310 { }; .fi diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3 index 2abcbcd97..be57b64c8 100644 --- a/docs/man/man3/ModuleFactory.3 +++ b/docs/man/man3/ModuleFactory.3 @@ -1,4 +1,4 @@ -.TH "ModuleFactory" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ModuleFactory" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -32,22 +32,22 @@ Instantiates classes inherited from \fBModule\fP This class creates a class inhe This is to allow for modules to create many different variants of \fBModule\fP, dependent on architecture, configuration, etc. In most cases, the simple class shown in the example module m_foobar.so will suffice for most modules. .PP -Definition at line 1291 of file modules.h. +Definition at line 1294 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "ModuleFactory::ModuleFactory ()\fC [inline]\fP" .PP -Definition at line 1294 of file modules.h. +Definition at line 1297 of file modules.h. .PP .nf -1294 { } +1297 { } .fi .SS "virtual ModuleFactory::~\fBModuleFactory\fP ()\fC [inline, virtual]\fP" .PP -Definition at line 1295 of file modules.h. +Definition at line 1298 of file modules.h. .PP .nf -1295 { } +1298 { } .fi .SH "Member Function Documentation" .PP diff --git a/docs/man/man3/ModuleMessage.3 b/docs/man/man3/ModuleMessage.3 index 8f1484c69..63b7dba85 100644 --- a/docs/man/man3/ModuleMessage.3 +++ b/docs/man/man3/ModuleMessage.3 @@ -1,4 +1,4 @@ -.TH "ModuleMessage" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ModuleMessage" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3 index a57fa6e9d..3d9dbdc20 100644 --- a/docs/man/man3/QLine.3 +++ b/docs/man/man3/QLine.3 @@ -1,4 +1,4 @@ -.TH "QLine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "QLine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3 index 61644568d..2f7487d15 100644 --- a/docs/man/man3/Request.3 +++ b/docs/man/man3/Request.3 @@ -1,4 +1,4 @@ -.TH "Request" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Request" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -63,65 +63,65 @@ Definition at line 154 of file modules.h. .PP .SS "Request::Request (char * anydata, \fBModule\fP * src, \fBModule\fP * dst)" .PP -Create a new Request. Definition at line 316 of file modules.cpp. +Create a new Request. Definition at line 240 of file modules.cpp. .PP .nf -316 : data(anydata), source(src), dest(dst) { }; +240 : data(anydata), source(src), dest(dst) { }; .fi .SH "Member Function Documentation" .PP .SS "char * Request::GetData ()" .PP -Fetch the Request data. Definition at line 318 of file modules.cpp. +Fetch the Request data. Definition at line 242 of file modules.cpp. .PP References data. .PP .nf -319 { -320 return this->data; -321 } +243 { +244 return this->data; +245 } .fi .SS "\fBModule\fP * Request::GetDest ()" .PP -Fetch the request destination (should be 'this' in the receiving module). Definition at line 328 of file modules.cpp. +Fetch the request destination (should be 'this' in the receiving module). Definition at line 252 of file modules.cpp. .PP References dest. .PP .nf -329 { -330 return this->dest; -331 } +253 { +254 return this->dest; +255 } .fi .SS "\fBModule\fP * Request::GetSource ()" .PP -Fetch the request source. Definition at line 323 of file modules.cpp. +Fetch the request source. Definition at line 247 of file modules.cpp. .PP References source. .PP .nf -324 { -325 return this->source; -326 } +248 { +249 return this->source; +250 } .fi .SS "char * Request::Send ()\fC [virtual]\fP" .PP Send the Request. Upon returning the result will be arbitary data returned by the module you sent the request to. It is up to your module to know what this data is and how to deal with it. Implements \fBModuleMessage\fP. .PP -Definition at line 333 of file modules.cpp. +Definition at line 257 of file modules.cpp. .PP References dest, and Module::OnRequest(). .PP .nf -334 { -335 if (this->dest) -336 { -337 return dest->OnRequest(this); -338 } -339 else -340 { -341 return NULL; -342 } -343 } +258 { +259 if (this->dest) +260 { +261 return dest->OnRequest(this); +262 } +263 else +264 { +265 return NULL; +266 } +267 } .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3 index d9c89aa98..93daa2cc9 100644 --- a/docs/man/man3/Server.3 +++ b/docs/man/man3/Server.3 @@ -1,4 +1,4 @@ -.TH "Server" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Server" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -104,6 +104,10 @@ Inherits \fBclassbase\fP. .br .RI "\fIReturns the network name, global to all linked servers. \fP" .ti -1c +.RI "virtual std::string \fBGetServerDescription\fP ()" +.br +.RI "\fIReturns the server description string of the local server. \fP" +.ti -1c .RI "virtual \fBAdmin\fP \fBGetAdmin\fP ()" .br .RI "\fIReturns the information of the server as returned by the /ADMIN command. \fP" @@ -267,19 +271,19 @@ Definition at line 694 of file modules.h. .PP .SS "Server::Server ()" .PP -Default constructor. Creates a Server object.Definition at line 431 of file modules.cpp. +Default constructor. Creates a Server object.Definition at line 355 of file modules.cpp. .PP .nf -432 { -433 } +356 { +357 } .fi .SS "Server::~\fBServer\fP ()\fC [virtual]\fP" .PP -Default destructor. Destroys a Server object.Definition at line 435 of file modules.cpp. +Default destructor. Destroys a Server object.Definition at line 359 of file modules.cpp. .PP .nf -436 { -437 } +360 { +361 } .fi .SH "Member Function Documentation" .PP @@ -289,25 +293,25 @@ Adds a command to the command table. This allows modules to add extra commands i .PP typedef void (handlerfunc) (char**, int, userrec*); ... void \fBhandle_kill(char **parameters, int pcnt, userrec *user)\fP .PP -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 504 of file modules.cpp. +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 428 of file modules.cpp. .PP References createcommand(). .PP .nf -505 { -506 createcommand(cmd,f,flags,minparams,source); -507 } +429 { +430 createcommand(cmd,f,flags,minparams,source); +431 } .fi .SS "void Server::AddELine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP" .PP -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 \fBServer::CalcDuration\fP 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 750 of file modules.cpp. +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 \fBServer::CalcDuration\fP 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 679 of file modules.cpp. .PP References add_eline(), and duration(). .PP .nf -751 { -752 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -753 } +680 { +681 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +682 } .fi .SS "bool Server::AddExtendedListMode (char modechar)\fC [virtual]\fP" .PP @@ -321,540 +325,549 @@ Adds an extended mode letter which is parsed by a module and handled in a list f .PP (4) The mode and its parameter are NOT stored in the channels modes structure .PP -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 667 of file modules.cpp. +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 596 of file modules.cpp. .PP References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL. .PP .nf -668 { -669 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); -670 if (res) -671 ModeMakeList(modechar); -672 return res; -673 } +597 { +598 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); +599 if (res) +600 ModeMakeList(modechar); +601 return res; +602 } .fi .SS "bool Server::AddExtendedMode (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)\fC [virtual]\fP" .PP -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 639 of file modules.cpp. +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 568 of file modules.cpp. .PP References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER. .PP .nf -640 { -641 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z'))) -642 { -643 if (type == MT_SERVER) -644 { -645 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion'); -646 return false; -647 } -648 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) -649 { -650 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported'); -651 return false; -652 } -653 if ((params_when_on>1) || (params_when_off>1)) -654 { -655 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported'); -656 return false; -657 } -658 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); -659 } -660 else -661 { -662 log(DEBUG,'*** API ERROR *** Muppet modechar detected.'); -663 } -664 return false; -665 } +569 { +570 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z'))) +571 { +572 if (type == MT_SERVER) +573 { +574 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion'); +575 return false; +576 } +577 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +578 { +579 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported'); +580 return false; +581 } +582 if ((params_when_on>1) || (params_when_off>1)) +583 { +584 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported'); +585 return false; +586 } +587 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +588 } +589 else +590 { +591 log(DEBUG,'*** API ERROR *** Muppet modechar detected.'); +592 } +593 return false; +594 } .fi .SS "void Server::AddGLine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP" .PP -Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 730 of file modules.cpp. +Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 659 of file modules.cpp. .PP References add_gline(), and duration(). .PP .nf -731 { -732 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -733 } +660 { +661 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +662 } .fi .SS "void Server::AddKLine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP" .PP -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 \fBServer::CalcDuration\fP 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 745 of file modules.cpp. +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 \fBServer::CalcDuration\fP 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 674 of file modules.cpp. .PP References add_kline(), and duration(). .PP .nf -746 { -747 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -748 } +675 { +676 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +677 } .fi .SS "void Server::AddQLine (long duration, std::string source, std::string reason, std::string nickname)\fC [virtual]\fP" .PP -Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 735 of file modules.cpp. +Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 664 of file modules.cpp. .PP References add_qline(), and duration(). .PP .nf -736 { -737 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); -738 } +665 { +666 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); +667 } .fi .SS "void Server::AddZLine (long duration, std::string source, std::string reason, std::string ipaddr)\fC [virtual]\fP" .PP -Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 740 of file modules.cpp. +Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP 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 669 of file modules.cpp. .PP References add_zline(), and duration(). .PP .nf -741 { -742 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -743 } +670 { +671 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +672 } .fi .SS "long Server::CalcDuration (std::string duration)\fC [virtual]\fP" .PP -Calculates a duration This method will take a string containing a formatted duration (e.g. '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 780 of file modules.cpp. +Calculates a duration This method will take a string containing a formatted duration (e.g. '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 709 of file modules.cpp. .PP References duration(). .PP .nf -781 { -782 return duration(delta.c_str()); -783 } +710 { +711 return duration(delta.c_str()); +712 } .fi .SS "void Server::CallCommandHandler (std::string commandname, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" .PP Calls the handler for a command, either implemented by the core or by another module. 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 .br -) 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 \fBAddCommand()\fP. 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 494 of file modules.cpp. +) 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 \fBAddCommand()\fP. 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 418 of file modules.cpp. .PP .nf -495 { -496 call_handler(commandname.c_str(),parameters,pcnt,user); -497 } +419 { +420 call_handler(commandname.c_str(),parameters,pcnt,user); +421 } .fi .SS "void Server::ChangeGECOS (\fBuserrec\fP * user, std::string gecos)\fC [virtual]\fP" .PP -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 587 of file modules.cpp. +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 511 of file modules.cpp. .PP References ChangeName(). .PP .nf -588 { -589 ChangeName(user,gecos.c_str()); -590 } +512 { +513 ChangeName(user,gecos.c_str()); +514 } .fi .SS "void Server::ChangeHost (\fBuserrec\fP * user, std::string host)\fC [virtual]\fP" .PP -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 582 of file modules.cpp. +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 506 of file modules.cpp. .PP References ChangeDisplayedHost(). .PP .nf -583 { -584 ChangeDisplayedHost(user,host.c_str()); -585 } +507 { +508 ChangeDisplayedHost(user,host.c_str()); +509 } .fi .SS "void Server::ChangeUserNick (\fBuserrec\fP * user, std::string nickname)\fC [virtual]\fP" .PP -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 479 of file modules.cpp. +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 403 of file modules.cpp. .PP .nf -480 { -481 force_nickchange(user,nickname.c_str()); -482 } +404 { +405 force_nickchange(user,nickname.c_str()); +406 } .fi .SS "std::string Server::ChanMode (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP" .PP -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 612 of file modules.cpp. +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 536 of file modules.cpp. .PP References cmode(). .PP .nf -613 { -614 return cmode(User,Chan); -615 } +537 { +538 return cmode(User,Chan); +539 } .fi .SS "bool Server::CommonChannels (\fBuserrec\fP * u1, \fBuserrec\fP * u2)\fC [virtual]\fP" .PP -Returns true if two users share a common channel. This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method.Definition at line 560 of file modules.cpp. +Returns true if two users share a common channel. This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method.Definition at line 484 of file modules.cpp. .PP References common_channels(). .PP .nf -561 { -562 return (common_channels(u1,u2) != 0); -563 } +485 { +486 return (common_channels(u1,u2) != 0); +487 } .fi .SS "int Server::CountUsers (\fBchanrec\fP * c)\fC [virtual]\fP" .PP -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 675 of file modules.cpp. +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 604 of file modules.cpp. .PP .nf -676 { -677 return usercount(c); -678 } +605 { +606 return usercount(c); +607 } .fi .SS "bool Server::DelELine (std::string hostmask)\fC [virtual]\fP" .PP -Deletes a local E-Line. Definition at line 775 of file modules.cpp. +Deletes a local E-Line. Definition at line 704 of file modules.cpp. .PP References del_eline(). .PP .nf -776 { -777 del_eline(hostmask.c_str()); -778 } +705 { +706 del_eline(hostmask.c_str()); +707 } .fi .SS "bool Server::DelGLine (std::string hostmask)\fC [virtual]\fP" .PP -Deletes a G-Line from all servers on the mesh. Definition at line 755 of file modules.cpp. +Deletes a G-Line from all servers on the mesh. Definition at line 684 of file modules.cpp. .PP References del_gline(). .PP .nf -756 { -757 del_gline(hostmask.c_str()); -758 } +685 { +686 del_gline(hostmask.c_str()); +687 } .fi .SS "bool Server::DelKLine (std::string hostmask)\fC [virtual]\fP" .PP -Deletes a local K-Line. Definition at line 770 of file modules.cpp. +Deletes a local K-Line. Definition at line 699 of file modules.cpp. .PP References del_kline(). .PP .nf -771 { -772 del_kline(hostmask.c_str()); -773 } +700 { +701 del_kline(hostmask.c_str()); +702 } .fi .SS "bool Server::DelQLine (std::string nickname)\fC [virtual]\fP" .PP -Deletes a Q-Line from all servers on the mesh. Definition at line 760 of file modules.cpp. +Deletes a Q-Line from all servers on the mesh. Definition at line 689 of file modules.cpp. .PP References del_qline(). .PP .nf -761 { -762 del_qline(nickname.c_str()); -763 } +690 { +691 del_qline(nickname.c_str()); +692 } .fi .SS "bool Server::DelZLine (std::string ipaddr)\fC [virtual]\fP" .PP -Deletes a Z-Line from all servers on the mesh. Definition at line 765 of file modules.cpp. +Deletes a Z-Line from all servers on the mesh. Definition at line 694 of file modules.cpp. .PP References del_zline(). .PP .nf -766 { -767 del_zline(ipaddr.c_str()); -768 } +695 { +696 del_zline(ipaddr.c_str()); +697 } .fi .SS "\fBchanrec\fP * Server::FindChannel (std::string channel)\fC [virtual]\fP" .PP -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 607 of file modules.cpp. +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 531 of file modules.cpp. .PP .nf -608 { -609 return FindChan(channel.c_str()); -610 } +532 { +533 return FindChan(channel.c_str()); +534 } .fi .SS "\fBuserrec\fP * Server::FindDescriptor (int socket)\fC [virtual]\fP" .PP -Attempts to look up a nick using the file descriptor associated with that nick. This function will return NULL if the file descriptor is not associated with a valid user.Definition at line 602 of file modules.cpp. +Attempts to look up a nick using the file descriptor associated with that nick. This function will return NULL if the file descriptor is not associated with a valid user.Definition at line 526 of file modules.cpp. .PP References fd_ref_table. .PP .nf -603 { -604 return (socket < 65536 ? fd_ref_table[socket] : NULL); -605 } +527 { +528 return (socket < 65536 ? fd_ref_table[socket] : NULL); +529 } .fi .SS "\fBModule\fP * Server::FindModule (std::string name)\fC [virtual]\fP" .PP -This function finds a module by name. You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.Definition at line 858 of file modules.cpp. +This function finds a module by name. You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.Definition at line 787 of file modules.cpp. .PP References MODCOUNT, module_names, and modules. .PP .nf -859 { -860 for (int i = 0; i <= MODCOUNT; i++) -861 { -862 if (module_names[i] == name) -863 { -864 return modules[i]; -865 } -866 } -867 return NULL; -868 } +788 { +789 for (int i = 0; i <= MODCOUNT; i++) +790 { +791 if (module_names[i] == name) +792 { +793 return modules[i]; +794 } +795 } +796 return NULL; +797 } .fi .SS "\fBuserrec\fP * Server::FindNick (std::string nick)\fC [virtual]\fP" .PP -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 597 of file modules.cpp. +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 521 of file modules.cpp. .PP .nf -598 { -599 return Find(nick); -600 } +522 { +523 return Find(nick); +524 } .fi .SS "\fBAdmin\fP Server::GetAdmin ()\fC [virtual]\fP" .PP -Returns the information of the server as returned by the /ADMIN command. See the \fBAdmin\fP class for further information of the return value. The members \fBAdmin::Nick\fP, \fBAdmin::Email\fP and \fBAdmin::Name\fP contain the information for the server where the module is loaded.Definition at line 632 of file modules.cpp. +Returns the information of the server as returned by the /ADMIN command. See the \fBAdmin\fP class for further information of the return value. The members \fBAdmin::Nick\fP, \fBAdmin::Email\fP and \fBAdmin::Name\fP contain the information for the server where the module is loaded.Definition at line 561 of file modules.cpp. .PP .nf -633 { -634 return Admin(getadminname(),getadminemail(),getadminnick()); -635 } +562 { +563 return Admin(getadminname(),getadminemail(),getadminnick()); +564 } .fi .SS "std::string Server::GetNetworkName ()\fC [virtual]\fP" .PP -Returns the network name, global to all linked servers. Definition at line 627 of file modules.cpp. +Returns the network name, global to all linked servers. Definition at line 551 of file modules.cpp. +.PP +.nf +552 { +553 return getnetworkname(); +554 } +.fi +.SS "std::string Server::GetServerDescription ()\fC [virtual]\fP" +.PP +Returns the server description string of the local server. Definition at line 556 of file modules.cpp. .PP .nf -628 { -629 return getnetworkname(); -630 } +557 { +558 return getserverdesc(); +559 } .fi .SS "std::string Server::GetServerName ()\fC [virtual]\fP" .PP -Returns the server name of the server where the module is loaded. Definition at line 622 of file modules.cpp. +Returns the server name of the server where the module is loaded. Definition at line 546 of file modules.cpp. .PP .nf -623 { -624 return getservername(); -625 } +547 { +548 return getservername(); +549 } .fi .SS "\fBchanuserlist\fP Server::GetUsers (\fBchanrec\fP * chan)\fC [virtual]\fP" .PP -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 467 of file modules.cpp. +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 391 of file modules.cpp. .PP References chanuserlist, chanrec::GetUsers(), and list. .PP .nf -468 { -469 chanuserlist userl; -470 userl.clear(); -471 std::vector<char*> *list = chan->GetUsers(); -472 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -473 { -474 char* o = *i; -475 userl.push_back((userrec*)o); -476 } -477 return userl; -478 } +392 { +393 chanuserlist userl; +394 userl.clear(); +395 std::vector<char*> *list = chan->GetUsers(); +396 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +397 { +398 char* o = *i; +399 userl.push_back((userrec*)o); +400 } +401 return userl; +402 } .fi .SS "bool Server::IsNick (std::string nick)\fC [virtual]\fP" .PP -Returns true if a nick is valid. Nicks for unregistered connections will return false.Definition at line 592 of file modules.cpp. +Returns true if a nick is valid. Nicks for unregistered connections will return false.Definition at line 516 of file modules.cpp. .PP References isnick(). .PP .nf -593 { -594 return (isnick(nick.c_str()) != 0); -595 } +517 { +518 return (isnick(nick.c_str()) != 0); +519 } .fi .SS "bool Server::IsOnChannel (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP" .PP -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 617 of file modules.cpp. +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 541 of file modules.cpp. .PP References has_channel(). .PP .nf -618 { -619 return has_channel(User,Chan); -620 } +542 { +543 return has_channel(User,Chan); +544 } .fi .SS "bool Server::IsUlined (std::string server)\fC [virtual]\fP" .PP -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 489 of file modules.cpp. +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 413 of file modules.cpp. .PP References is_uline(). .PP .nf -490 { -491 return is_uline(server.c_str()); -492 } +414 { +415 return is_uline(server.c_str()); +416 } .fi .SS "bool Server::IsValidMask (std::string mask)\fC [virtual]\fP" .PP -Returns true if a nick!ident string is correctly formatted, false if otherwise. Definition at line 785 of file modules.cpp. +Returns true if a nick!ident string is correctly formatted, false if otherwise. Definition at line 714 of file modules.cpp. .PP .nf -786 { -787 const char* dest = mask.c_str(); -788 if (strchr(dest,'!')==0) -789 return false; -790 if (strchr(dest,'@')==0) -791 return false; -792 for (int i = 0; i < strlen(dest); i++) -793 if (dest[i] < 32) -794 return false; -795 for (int i = 0; i < strlen(dest); i++) -796 if (dest[i] > 126) -797 return false; -798 int c = 0; -799 for (int i = 0; i < strlen(dest); i++) -800 if (dest[i] == '!') -801 c++; -802 if (c>1) -803 return false; -804 c = 0; -805 for (int i = 0; i < strlen(dest); i++) -806 if (dest[i] == '@') -807 c++; -808 if (c>1) -809 return false; -810 -811 return true; -812 } +715 { +716 const char* dest = mask.c_str(); +717 if (strchr(dest,'!')==0) +718 return false; +719 if (strchr(dest,'@')==0) +720 return false; +721 for (int i = 0; i < strlen(dest); i++) +722 if (dest[i] < 32) +723 return false; +724 for (int i = 0; i < strlen(dest); i++) +725 if (dest[i] > 126) +726 return false; +727 int c = 0; +728 for (int i = 0; i < strlen(dest); i++) +729 if (dest[i] == '!') +730 c++; +731 if (c>1) +732 return false; +733 c = 0; +734 for (int i = 0; i < strlen(dest); i++) +735 if (dest[i] == '@') +736 c++; +737 if (c>1) +738 return false; +739 +740 return true; +741 } .fi .SS "\fBchanrec\fP * Server::JoinUserToChannel (\fBuserrec\fP * user, std::string cname, std::string key)\fC [virtual]\fP" .PP -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 457 of file modules.cpp. +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 381 of file modules.cpp. .PP .nf -458 { -459 return add_channel(user,cname.c_str(),key.c_str(),false); -460 } +382 { +383 return add_channel(user,cname.c_str(),key.c_str(),false); +384 } .fi .SS "void Server::Log (int level, std::string s)\fC [virtual]\fP" .PP -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 499 of file modules.cpp. +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 423 of file modules.cpp. .PP .nf -500 { -501 log(level,'%s',s.c_str()); -502 } +424 { +425 log(level,'%s',s.c_str()); +426 } .fi .SS "bool Server::MatchText (std::string sliteral, std::string spattern)\fC [virtual]\fP" .PP -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 444 of file modules.cpp. +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 368 of file modules.cpp. .PP .nf -445 { -446 char literal[MAXBUF],pattern[MAXBUF]; -447 strlcpy(literal,sliteral.c_str(),MAXBUF); -448 strlcpy(pattern,spattern.c_str(),MAXBUF); -449 return match(literal,pattern); -450 } +369 { +370 char literal[MAXBUF],pattern[MAXBUF]; +371 strlcpy(literal,sliteral.c_str(),MAXBUF); +372 strlcpy(pattern,spattern.c_str(),MAXBUF); +373 return match(literal,pattern); +374 } .fi .SS "bool Server::MeshCheckChan (\fBchanrec\fP * c, std::string servername)\fC [virtual]\fP" .PP -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 840 of file modules.cpp. +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 769 of file modules.cpp. .PP .nf -841 { -842 if (c) -843 { -844 return ChanAnyOnThisServer(c,(char*)servername.c_str()); -845 } -846 else return false; -847 } +770 { +771 if (c) +772 { +773 return ChanAnyOnThisServer(c,(char*)servername.c_str()); +774 } +775 else return false; +776 } .fi .SS "bool Server::MeshCheckCommon (\fBuserrec\fP * u, std::string servername)\fC [virtual]\fP" .PP -This function is used to check if user u has any channels in common with users on servername. This is used internally by \fBServer::MeshSendCommon\fP. You should very rarely need to use it.Definition at line 849 of file modules.cpp. +This function is used to check if user u has any channels in common with users on servername. This is used internally by \fBServer::MeshSendCommon\fP. You should very rarely need to use it.Definition at line 778 of file modules.cpp. .PP .nf -850 { -851 if (u) -852 { -853 return CommonOnThisServer(u,(char*)servername.c_str()); -854 } -855 else return false; -856 } +779 { +780 if (u) +781 { +782 return CommonOnThisServer(u,(char*)servername.c_str()); +783 } +784 else return false; +785 } .fi .SS "void Server::MeshSendAll (std::string text)\fC [virtual]\fP" .PP -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 814 of file modules.cpp. +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 743 of file modules.cpp. .PP .nf -815 { -816 NetSendToAll((char*)text.c_str()); -817 } +744 { +745 NetSendToAll((char*)text.c_str()); +746 } .fi .SS "void Server::MeshSendAllAlive (std::string text)\fC [virtual]\fP" .PP -This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. Definition at line 825 of file modules.cpp. +This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. Definition at line 754 of file modules.cpp. .PP .nf -826 { -827 NetSendToAllAlive((char*)text.c_str()); -828 } +755 { +756 NetSendToAllAlive((char*)text.c_str()); +757 } .fi .SS "void Server::MeshSendAllExcept (std::string target, std::string text)\fC [virtual]\fP" .PP -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 835 of file modules.cpp. +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 764 of file modules.cpp. .PP .nf -836 { -837 NetSendToAllExcept(target.c_str(),(char*)text.c_str()); -838 } +765 { +766 NetSendToAllExcept(target.c_str(),(char*)text.c_str()); +767 } .fi .SS "void Server::MeshSendCommon (\fBuserrec\fP * user, std::string text)\fC [virtual]\fP" .PP -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 819 of file modules.cpp. +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 748 of file modules.cpp. .PP .nf -820 { -821 if (user) -822 NetSendToCommon(user,(char*)text.c_str()); -823 } +749 { +750 if (user) +751 NetSendToCommon(user,(char*)text.c_str()); +752 } .fi .SS "void Server::MeshSendUnicast (std::string destination, std::string text)\fC [virtual]\fP" .PP -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 830 of file modules.cpp. +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 759 of file modules.cpp. .PP .nf -831 { -832 NetSendToOne((char*)destination.c_str(),(char*)text.c_str()); -833 } +760 { +761 NetSendToOne((char*)destination.c_str(),(char*)text.c_str()); +762 } .fi .SS "\fBchanrec\fP * Server::PartUserFromChannel (\fBuserrec\fP * user, std::string cname, std::string reason)\fC [virtual]\fP" .PP -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 462 of file modules.cpp. +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 386 of file modules.cpp. .PP .nf -463 { -464 return del_channel(user,cname.c_str(),reason.c_str(),false); -465 } +387 { +388 return del_channel(user,cname.c_str(),reason.c_str(),false); +389 } .fi .SS "bool Server::PseudoToUser (\fBuserrec\fP * alive, \fBuserrec\fP * zombie, std::string message)\fC [virtual]\fP" .PP -This user takes one user, and switches their file descriptor with another user, so that one user 'becomes' the other. 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 700 of file modules.cpp. +This user takes one user, and switches their file descriptor with another user, so that one user 'becomes' the other. 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 629 of file modules.cpp. .PP References ucrec::channel, userrec::chans, userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, fd_ref_table, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset. .PP .nf -701 { -702 zombie->fd = alive->fd; -703 alive->fd = FD_MAGIC_NUMBER; -704 alive->ClearBuffer(); -705 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick); -706 kill_link(alive,message.c_str()); -707 fd_ref_table[zombie->fd] = zombie; -708 for (int i = 0; i != MAXCHANS; i++) -709 { -710 if (zombie->chans[i].channel != NULL) -711 { -712 if (zombie->chans[i].channel->name) -713 { -714 chanrec* Ptr = zombie->chans[i].channel; -715 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name); -716 if (Ptr->topicset) -717 { -718 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic); -719 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); -720 } -721 userlist(zombie,Ptr); -722 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name); -723 -724 } -725 } -726 } -727 -728 } +630 { +631 zombie->fd = alive->fd; +632 alive->fd = FD_MAGIC_NUMBER; +633 alive->ClearBuffer(); +634 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick); +635 kill_link(alive,message.c_str()); +636 fd_ref_table[zombie->fd] = zombie; +637 for (int i = 0; i != MAXCHANS; i++) +638 { +639 if (zombie->chans[i].channel != NULL) +640 { +641 if (zombie->chans[i].channel->name) +642 { +643 chanrec* Ptr = zombie->chans[i].channel; +644 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name); +645 if (Ptr->topicset) +646 { +647 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic); +648 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); +649 } +650 userlist(zombie,Ptr); +651 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name); +652 +653 } +654 } +655 } +656 +657 } .fi .SS "void Server::QuitUser (\fBuserrec\fP * user, std::string reason)\fC [virtual]\fP" .PP @@ -862,71 +875,71 @@ Forces a user to quit with the specified reason. To the user, it will appear as .PP WARNING! .PP -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 484 of file modules.cpp. +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 408 of file modules.cpp. .PP .nf -485 { -486 kill_link(user,reason.c_str()); -487 } +409 { +410 kill_link(user,reason.c_str()); +411 } .fi .SS "void Server::Send (int Socket, std::string s)\fC [virtual]\fP" .PP -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 514 of file modules.cpp. +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 438 of file modules.cpp. .PP .nf -515 { -516 Write(Socket,'%s',s.c_str()); -517 } +439 { +440 Write(Socket,'%s',s.c_str()); +441 } .fi .SS "void Server::SendChannel (\fBuserrec\fP * User, \fBchanrec\fP * Channel, std::string s, bool IncludeSender)\fC [virtual]\fP" .PP -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 548 of file modules.cpp. +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 472 of file modules.cpp. .PP .nf -549 { -550 if (IncludeSender) -551 { -552 WriteChannel(Channel,User,'%s',s.c_str()); -553 } -554 else -555 { -556 ChanExceptSender(Channel,User,'%s',s.c_str()); -557 } -558 } +473 { +474 if (IncludeSender) +475 { +476 WriteChannel(Channel,User,'%s',s.c_str()); +477 } +478 else +479 { +480 ChanExceptSender(Channel,User,'%s',s.c_str()); +481 } +482 } .fi .SS "void Server::SendChannelServerNotice (std::string ServName, \fBchanrec\fP * Channel, std::string text)\fC [virtual]\fP" .PP -Writes text to a channel, but from a server, including all. This can be used to send server notices to a group of users.Definition at line 543 of file modules.cpp. +Writes text to a channel, but from a server, including all. This can be used to send server notices to a group of users.Definition at line 467 of file modules.cpp. .PP .nf -544 { -545 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str()); -546 } +468 { +469 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str()); +470 } .fi .SS "void Server::SendCommon (\fBuserrec\fP * User, std::string text, bool IncludeSender)\fC [virtual]\fP" .PP -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 565 of file modules.cpp. +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 489 of file modules.cpp. .PP .nf -566 { -567 if (IncludeSender) -568 { -569 WriteCommon(User,'%s',text.c_str()); -570 } -571 else -572 { -573 WriteCommonExcept(User,'%s',text.c_str()); -574 } -575 } +490 { +491 if (IncludeSender) +492 { +493 WriteCommon(User,'%s',text.c_str()); +494 } +495 else +496 { +497 WriteCommonExcept(User,'%s',text.c_str()); +498 } +499 } .fi .SS "void Server::SendFrom (int Socket, \fBuserrec\fP * User, std::string s)\fC [virtual]\fP" .PP -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 524 of file modules.cpp. +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 448 of file modules.cpp. .PP .nf -525 { -526 WriteFrom(Socket,User,'%s',s.c_str()); -527 } +449 { +450 WriteFrom(Socket,User,'%s',s.c_str()); +451 } .fi .SS "void Server::SendMode (char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" .PP @@ -944,32 +957,32 @@ modes[2] = user->nick; .PP Srv->SendMode(modes,3,user); .PP -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 509 of file modules.cpp. +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 433 of file modules.cpp. .PP References server_mode(). .PP .nf -510 { -511 server_mode(parameters,pcnt,user); -512 } +434 { +435 server_mode(parameters,pcnt,user); +436 } .fi .SS "void Server::SendOpers (std::string s)\fC [virtual]\fP" .PP -Sends text to all opers. This method sends a server notice to all opers with the usermode +s.Definition at line 439 of file modules.cpp. +Sends text to all opers. This method sends a server notice to all opers with the usermode +s.Definition at line 363 of file modules.cpp. .PP .nf -440 { -441 WriteOpers('%s',s.c_str()); -442 } +364 { +365 WriteOpers('%s',s.c_str()); +366 } .fi .SS "void Server::SendServ (int Socket, std::string s)\fC [virtual]\fP" .PP -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 519 of file modules.cpp. +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 443 of file modules.cpp. .PP .nf -520 { -521 WriteServ(Socket,'%s',s.c_str()); -522 } +444 { +445 WriteServ(Socket,'%s',s.c_str()); +446 } .fi .SS "void Server::SendTo (\fBuserrec\fP * Source, \fBuserrec\fP * Dest, std::string s)\fC [virtual]\fP" .PP @@ -981,23 +994,23 @@ The format will become: .PP :localserver TEXT .PP -Which is useful for numerics and server notices to single users, etc.Definition at line 529 of file modules.cpp. +Which is useful for numerics and server notices to single users, etc.Definition at line 453 of file modules.cpp. .PP References connection::fd. .PP .nf -530 { -531 if (!Source) -532 { -533 // if source is NULL, then the message originates from the local server -534 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str()); -535 } -536 else -537 { -538 // otherwise it comes from the user specified -539 WriteTo(Source,Dest,'%s',s.c_str()); -540 } -541 } +454 { +455 if (!Source) +456 { +457 // if source is NULL, then the message originates from the local server +458 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str()); +459 } +460 else +461 { +462 // otherwise it comes from the user specified +463 WriteTo(Source,Dest,'%s',s.c_str()); +464 } +465 } .fi .SS "void Server::SendToModeMask (std::string modes, int flags, std::string text)\fC [virtual]\fP" .PP @@ -1005,46 +1018,46 @@ Sends to all users matching a mode mask You must specify one or more usermodes a .PP Serv->SendToModeMask('xi', WM_OR, 'm00'); .PP -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 452 of file modules.cpp. +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 376 of file modules.cpp. .PP .nf -453 { -454 WriteMode(modes.c_str(),flags,'%s',text.c_str()); -455 } +377 { +378 WriteMode(modes.c_str(),flags,'%s',text.c_str()); +379 } .fi .SS "void Server::SendWallops (\fBuserrec\fP * User, std::string text)\fC [virtual]\fP" .PP -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 577 of file modules.cpp. +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 501 of file modules.cpp. .PP .nf -578 { -579 WriteWallOps(User,false,'%s',text.c_str()); -580 } +502 { +503 WriteWallOps(User,false,'%s',text.c_str()); +504 } .fi .SS "bool Server::UserToPseudo (\fBuserrec\fP * user, std::string message)\fC [virtual]\fP" .PP -Remove a user's connection to the irc server, but leave their client in existence in the user hash. 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 681 of file modules.cpp. +Remove a user's connection to the irc server, but leave their client in existence in the user hash. 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 610 of file modules.cpp. .PP References userrec::ClearBuffer(), DEBUG, connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident. .PP .nf -682 { -683 unsigned int old_fd = user->fd; -684 user->fd = FD_MAGIC_NUMBER; -685 user->ClearBuffer(); -686 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str()); -687 #ifdef USE_KQUEUE -688 struct kevent ke; -689 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -690 int i = kevent(kq, &ke, 1, 0, 0, NULL); -691 if (i == -1) -692 { -693 log(DEBUG,'kqueue: Failed to remove user from queue!'); -694 } -695 #endif -696 shutdown(old_fd,2); -697 close(old_fd); -698 } +611 { +612 unsigned int old_fd = user->fd; +613 user->fd = FD_MAGIC_NUMBER; +614 user->ClearBuffer(); +615 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str()); +616 #ifdef USE_KQUEUE +617 struct kevent ke; +618 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); +619 int i = kevent(kq, &ke, 1, 0, 0, NULL); +620 if (i == -1) +621 { +622 log(DEBUG,'kqueue: Failed to remove user from queue!'); +623 } +624 #endif +625 shutdown(old_fd,2); +626 close(old_fd); +627 } .fi diff --git a/docs/man/man3/StrHashComp.3 b/docs/man/man3/StrHashComp.3 index 24b2ebb81..bff4dec00 100644 --- a/docs/man/man3/StrHashComp.3 +++ b/docs/man/man3/StrHashComp.3 @@ -1,35 +1,35 @@ -.TH "StrHashComp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "StrHashComp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME -StrHashComp \- +StrHashComp \- This class returns true if two strings match. + +.PP .SH SYNOPSIS .br .PP +\fC#include <hashcomp.h>\fP +.PP .SS "Public Member Functions" .in +1c .ti -1c .RI "bool \fBoperator()\fP (const string &s1, const string &s2) const" .br +.RI "\fIThe operator () does the actual comparison in hash_map. \fP" .in -1c -.SH "Member Function Documentation" +.SH "Detailed Description" .PP -.SS "bool StrHashComp::operator() (const string & s1, const string & s2) const\fC [inline]\fP" +This class returns true if two strings match. + +Case sensitivity is ignored, and the RFC 'character set' is adhered to .PP -Definition at line 156 of file modules.cpp. +Definition at line 60 of file hashcomp.h. +.SH "Member Function Documentation" +.PP +.SS "bool StrHashComp::operator() (const string & s1, const string & s2) const" .PP -.nf -157 { -158 char a[MAXBUF],b[MAXBUF]; -159 strlcpy(a,s1.c_str(),MAXBUF); -160 strlcpy(b,s2.c_str(),MAXBUF); -161 strlower(a); -162 strlower(b); -163 return (strcasecmp(a,b) == 0); -164 } -.fi - +The operator () does the actual comparison in hash_map. .SH "Author" .PP diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3 index f755c1cfb..b553e9e20 100644 --- a/docs/man/man3/Version.3 +++ b/docs/man/man3/Version.3 @@ -1,4 +1,4 @@ -.TH "Version" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "Version" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -49,10 +49,10 @@ Definition at line 111 of file modules.h. .PP .SS "Version::Version (int major, int minor, int revision, int build, int flags)" .PP -Definition at line 310 of file modules.cpp. +Definition at line 234 of file modules.cpp. .PP .nf -310 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +234 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/WhoWasUser.3 b/docs/man/man3/WhoWasUser.3 index 40ffbca4b..a6d45973f 100644 --- a/docs/man/man3/WhoWasUser.3 +++ b/docs/man/man3/WhoWasUser.3 @@ -1,4 +1,4 @@ -.TH "WhoWasUser" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "WhoWasUser" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -37,30 +37,30 @@ WhoWasUser \- A lightweight userrec used by WHOWAS. .in -1c .SH "Detailed Description" .PP -A lightweight userrec used by WHOWAS. Definition at line 315 of file users.h. +A lightweight userrec used by WHOWAS. Definition at line 318 of file users.h. .SH "Member Data Documentation" .PP .SS "char \fBWhoWasUser::dhost\fP[160]" .PP -Definition at line 320 of file users.h. +Definition at line 323 of file users.h. .SS "char \fBWhoWasUser::fullname\fP[128]" .PP -Definition at line 322 of file users.h. +Definition at line 325 of file users.h. .SS "char \fBWhoWasUser::host\fP[160]" .PP -Definition at line 321 of file users.h. +Definition at line 324 of file users.h. .SS "char \fBWhoWasUser::ident\fP[16]" .PP -Definition at line 319 of file users.h. +Definition at line 322 of file users.h. .SS "char \fBWhoWasUser::nick\fP[NICKMAX]" .PP -Definition at line 318 of file users.h. +Definition at line 321 of file users.h. .SS "char \fBWhoWasUser::server\fP[256]" .PP -Definition at line 323 of file users.h. +Definition at line 326 of file users.h. .SS "time_t \fBWhoWasUser::signon\fP" .PP -Definition at line 324 of file users.h. +Definition at line 327 of file users.h. .SH "Author" .PP diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3 index 2933362c4..8cd21fa0c 100644 --- a/docs/man/man3/XLine.3 +++ b/docs/man/man3/XLine.3 @@ -1,4 +1,4 @@ -.TH "XLine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "XLine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3 index 72dbca6fc..916e3681f 100644 --- a/docs/man/man3/ZLine.3 +++ b/docs/man/man3/ZLine.3 @@ -1,4 +1,4 @@ -.TH "ZLine" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ZLine" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/base.h.3 b/docs/man/man3/base.h.3 index f3784d649..d3d7d4065 100644 --- a/docs/man/man3/base.h.3 +++ b/docs/man/man3/base.h.3 @@ -1,4 +1,4 @@ -.TH "base.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "base.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3 index 9cf60156c..1b0bc51c5 100644 --- a/docs/man/man3/channels.cpp.3 +++ b/docs/man/man3/channels.cpp.3 @@ -1,4 +1,4 @@ -.TH "channels.cpp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "channels.cpp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -16,16 +16,12 @@ channels.cpp \- .br \fC#include <unistd.h>\fP .br -\fC#include <fcntl.h>\fP -.br \fC#include <sys/errno.h>\fP .br \fC#include <sys/ioctl.h>\fP .br \fC#include <sys/utsname.h>\fP .br -\fC#include <cstdio>\fP -.br \fC#include <time.h>\fP .br \fC#include <string>\fP @@ -38,12 +34,8 @@ channels.cpp \- .br \fC#include <vector>\fP .br -\fC#include <errno.h>\fP -.br \fC#include <deque>\fP .br -\fC#include <sched.h>\fP -.br \fC#include 'connection.h'\fP .br \fC#include 'users.h'\fP @@ -68,6 +60,8 @@ channels.cpp \- .br \fC#include 'inspstring.h'\fP .br +\fC#include 'helperfuncs.h'\fP +.br .SS "Namespaces" @@ -205,137 +199,137 @@ channels.cpp \- .PP .SS "#define nspace std" .PP -Definition at line 58 of file channels.cpp. +Definition at line 53 of file channels.cpp. .SH "Variable Documentation" .PP .SS "char \fBAdminEmail\fP[MAXBUF]" .PP -Definition at line 72 of file channels.cpp. +Definition at line 67 of file channels.cpp. .SS "char \fBAdminName\fP[MAXBUF]" .PP -Definition at line 71 of file channels.cpp. +Definition at line 66 of file channels.cpp. .SS "char \fBAdminNick\fP[MAXBUF]" .PP -Definition at line 73 of file channels.cpp. +Definition at line 68 of file channels.cpp. .SS "std::vector<long> \fBauth_cookies\fP" .PP -Definition at line 100 of file channels.cpp. +Definition at line 95 of file channels.cpp. .SS "int \fBboundPortCount\fP" .PP -Definition at line 94 of file channels.cpp. +Definition at line 89 of file channels.cpp. .SS "std::stringstream \fBconfig_f\fP" .PP -Definition at line 101 of file channels.cpp. +Definition at line 96 of file channels.cpp. .PP Referenced by userrec::HasPermission(). .SS "std::vector<\fBModeParameter\fP> \fBcustom_mode_params\fP" .PP -Definition at line 111 of file channels.cpp. +Definition at line 106 of file channels.cpp. .PP Referenced by chanrec::GetModeParameter(), and chanrec::SetCustomModeParam(). .SS "int \fBdebugging\fP" .PP -Definition at line 82 of file channels.cpp. +Definition at line 77 of file channels.cpp. .SS "int \fBdefaultRoute\fP" .PP -Definition at line 98 of file channels.cpp. +Definition at line 93 of file channels.cpp. .SS "int \fBDieDelay\fP" .PP -Definition at line 85 of file channels.cpp. +Definition at line 80 of file channels.cpp. .SS "char \fBdiepass\fP[MAXBUF]" .PP -Definition at line 74 of file channels.cpp. +Definition at line 69 of file channels.cpp. .SS "char \fBDieValue\fP[MAXBUF]" .PP -Definition at line 80 of file channels.cpp. +Definition at line 75 of file channels.cpp. .SS "std::vector<\fBircd_module\fP*> factory" .PP -Definition at line 65 of file channels.cpp. +Definition at line 60 of file channels.cpp. .SS "std::vector<int> \fBfd_reap\fP" .PP -Definition at line 91 of file channels.cpp. +Definition at line 86 of file channels.cpp. .SS "char \fBlist\fP[MAXBUF]" .PP -Definition at line 78 of file channels.cpp. +Definition at line 73 of file channels.cpp. .PP Referenced by Server::GetUsers(). .SS "FILE* \fBlog_file\fP" .PP -Definition at line 105 of file channels.cpp. +Definition at line 100 of file channels.cpp. .SS "int \fBLogLevel\fP" .PP -Definition at line 67 of file channels.cpp. +Definition at line 62 of file channels.cpp. .SS "int \fBMaxWhoResults\fP" .PP -Definition at line 88 of file channels.cpp. +Definition at line 83 of file channels.cpp. .SS "\fBserverrec\fP* \fBme\fP[32]" .PP -Definition at line 103 of file channels.cpp. +Definition at line 98 of file channels.cpp. .SS "int \fBMODCOUNT\fP = -1" .PP -Definition at line 1067 of file modules.cpp. +Definition at line 996 of file modules.cpp. .PP Referenced by Server::FindModule(). .SS "std::vector<std::string> \fBmodule_names\fP" .PP -Definition at line 92 of file channels.cpp. +Definition at line 87 of file channels.cpp. .PP Referenced by Server::FindModule(). .SS "std::vector<\fBModule\fP*> modules" .PP -Definition at line 64 of file channels.cpp. +Definition at line 59 of file channels.cpp. .PP Referenced by Server::FindModule(). .SS "char \fBmotd\fP[MAXBUF]" .PP -Definition at line 76 of file channels.cpp. +Definition at line 71 of file channels.cpp. .SS "time_t \fBnb_start\fP" .PP -Definition at line 89 of file channels.cpp. +Definition at line 84 of file channels.cpp. .SS "int \fBNetBufferSize\fP" .PP -Definition at line 87 of file channels.cpp. +Definition at line 82 of file channels.cpp. .SS "char \fBNetwork\fP[MAXBUF]" .PP -Definition at line 69 of file channels.cpp. +Definition at line 64 of file channels.cpp. .SS "int \fBportCount\fP" .PP -Definition at line 95 of file channels.cpp. +Definition at line 90 of file channels.cpp. .SS "int \fBports\fP[MAXSOCKS]" .PP -Definition at line 97 of file channels.cpp. +Definition at line 92 of file channels.cpp. .SS "char \fBPrefixQuit\fP[MAXBUF]" .PP -Definition at line 79 of file channels.cpp. +Definition at line 74 of file channels.cpp. .SS "char \fBrestartpass\fP[MAXBUF]" .PP -Definition at line 75 of file channels.cpp. +Definition at line 70 of file channels.cpp. .SS "char \fBrules\fP[MAXBUF]" .PP -Definition at line 77 of file channels.cpp. +Definition at line 72 of file channels.cpp. .SS "char \fBServerDesc\fP[MAXBUF]" .PP -Definition at line 70 of file channels.cpp. +Definition at line 65 of file channels.cpp. .SS "char \fBServerName\fP[MAXBUF]" .PP -Definition at line 68 of file channels.cpp. +Definition at line 63 of file channels.cpp. .SS "int \fBSERVERportCount\fP" .PP -Definition at line 96 of file channels.cpp. +Definition at line 91 of file channels.cpp. .SS "time_t \fBstartup_time\fP" .PP -Definition at line 86 of file channels.cpp. +Definition at line 81 of file channels.cpp. .SS "time_t \fBTIME\fP" .PP -Definition at line 107 of file channels.cpp. +Definition at line 102 of file channels.cpp. .PP Referenced by serverrec::serverrec(), and userrec::userrec(). .SS "int \fBWHOWAS_MAX\fP" .PP -Definition at line 84 of file channels.cpp. +Definition at line 79 of file channels.cpp. .SS "int \fBWHOWAS_STALE\fP" .PP -Definition at line 83 of file channels.cpp. +Definition at line 78 of file channels.cpp. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3 index 97577d320..0609a03e6 100644 --- a/docs/man/man3/channels.h.3 +++ b/docs/man/man3/channels.h.3 @@ -1,4 +1,4 @@ -.TH "channels.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "channels.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3 index 2e965d43a..0831e46b3 100644 --- a/docs/man/man3/chanrec.3 +++ b/docs/man/man3/chanrec.3 @@ -1,4 +1,4 @@ -.TH "chanrec" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "chanrec" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -114,21 +114,21 @@ Definition at line 101 of file channels.h. .PP .SS "chanrec::chanrec ()" .PP -Creates a channel record and initialises it with default values. Definition at line 113 of file channels.cpp. +Creates a channel record and initialises it with default values. Definition at line 108 of file channels.cpp. .PP References binarymodes, created, custom_modes, internal_userlist, key, limit, name, setby, topic, and topicset. .PP .nf -114 { -115 strcpy(name,''); -116 strcpy(custom_modes,''); -117 strcpy(topic,''); -118 strcpy(setby,''); -119 strcpy(key,''); -120 created = topicset = limit = 0; -121 binarymodes = 0; -122 internal_userlist.clear(); -123 } +109 { +110 strcpy(name,''); +111 strcpy(custom_modes,''); +112 strcpy(topic,''); +113 strcpy(setby,''); +114 strcpy(key,''); +115 created = topicset = limit = 0; +116 binarymodes = 0; +117 internal_userlist.clear(); +118 } .fi .SS "virtual chanrec::~\fBchanrec\fP ()\fC [inline, virtual]\fP" .PP @@ -141,161 +141,161 @@ Definition at line 205 of file channels.h. .PP .SS "void chanrec::AddUser (char * castuser)" .PP -Add a user pointer to the internal reference list The data inserted into the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. Definition at line 207 of file channels.cpp. +Add a user pointer to the internal reference list The data inserted into the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. Definition at line 202 of file channels.cpp. .PP References DEBUG, and internal_userlist. .PP .nf -208 { -209 internal_userlist.push_back(castuser); -210 log(DEBUG,'Added casted user to channel's internal list'); -211 } +203 { +204 internal_userlist.push_back(castuser); +205 log(DEBUG,'Added casted user to channel's internal list'); +206 } .fi .SS "void chanrec::DelUser (char * castuser)" .PP -Delete a user pointer to the internal reference list The data removed from the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. Definition at line 213 of file channels.cpp. +Delete a user pointer to the internal reference list The data removed from the reference list is a table as it is an arbitary pointer compared to other users by its memory address, as this is a very fast 32 or 64 bit integer comparison. Definition at line 208 of file channels.cpp. .PP References DEBUG, internal_userlist, and name. .PP .nf -214 { -215 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) -216 { -217 if (*a == castuser) -218 { -219 log(DEBUG,'Removed casted user from channel's internal list'); -220 internal_userlist.erase(a); -221 return; -222 } -223 } -224 log(DEBUG,'BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!',name); -225 } +209 { +210 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) +211 { +212 if (*a == castuser) +213 { +214 log(DEBUG,'Removed casted user from channel's internal list'); +215 internal_userlist.erase(a); +216 return; +217 } +218 } +219 log(DEBUG,'BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!',name); +220 } .fi .SS "std::string chanrec::GetModeParameter (char mode)" .PP -Returns the parameter for a custom mode on a channel. For example if '+L #foo' is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string.Definition at line 187 of file channels.cpp. +Returns the parameter for a custom mode on a channel. For example if '+L #foo' is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string.Definition at line 182 of file channels.cpp. .PP References custom_mode_params. .PP .nf -188 { -189 if (custom_mode_params.size()) -190 { -191 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) -192 { -193 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -194 { -195 return i->parameter; -196 } -197 } -198 } -199 return ''; -200 } +183 { +184 if (custom_mode_params.size()) +185 { +186 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +187 { +188 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +189 { +190 return i->parameter; +191 } +192 } +193 } +194 return ''; +195 } .fi .SS "long chanrec::GetUserCounter ()" .PP -Obtain the channel 'user counter' This returns the channel reference counter, which is initialized to 0 when the channel is created and incremented/decremented upon joins, parts quits and kicks. Definition at line 202 of file channels.cpp. +Obtain the channel 'user counter' This returns the channel reference counter, which is initialized to 0 when the channel is created and incremented/decremented upon joins, parts quits and kicks. Definition at line 197 of file channels.cpp. .PP References internal_userlist. .PP .nf -203 { -204 return (this->internal_userlist.size()); -205 } +198 { +199 return (this->internal_userlist.size()); +200 } .fi .SS "std::vector< char * > * chanrec::GetUsers ()" .PP -Obrain the internal reference list The internal reference list contains a list of userrec* cast to char*. These are used for rapid comparison to determine channel membership for PRIVMSG, NOTICE, QUIT, PART etc. The resulting pointer to the vector should be considered readonly and only modified via AddUser and DelUser.Definition at line 227 of file channels.cpp. +Obrain the internal reference list The internal reference list contains a list of userrec* cast to char*. These are used for rapid comparison to determine channel membership for PRIVMSG, NOTICE, QUIT, PART etc. The resulting pointer to the vector should be considered readonly and only modified via AddUser and DelUser.Definition at line 222 of file channels.cpp. .PP References internal_userlist. .PP Referenced by Server::GetUsers(). .PP .nf -228 { -229 return &internal_userlist; -230 } +223 { +224 return &internal_userlist; +225 } .fi .SS "bool chanrec::IsCustomModeSet (char mode)" .PP -Returns true if a custom mode is set on a channel. Definition at line 181 of file channels.cpp. +Returns true if a custom mode is set on a channel. Definition at line 176 of file channels.cpp. .PP References DEBUG. .PP .nf -182 { -183 log(DEBUG,'Checking ISCustomModeSet: %c %s',mode,this->custom_modes); -184 return (strchr(this->custom_modes,mode) != 0); -185 } +177 { +178 log(DEBUG,'Checking ISCustomModeSet: %c %s',mode,this->custom_modes); +179 return (strchr(this->custom_modes,mode) != 0); +180 } .fi .SS "void chanrec::SetCustomMode (char mode, bool mode_on)" .PP -Sets or unsets a custom mode in the channels info. Definition at line 125 of file channels.cpp. +Sets or unsets a custom mode in the channels info. Definition at line 120 of file channels.cpp. .PP References custom_modes, DEBUG, and SetCustomModeParam(). .PP .nf -126 { -127 if (mode_on) { -128 static char m[3]; -129 m[0] = mode; -130 m[1] = '\0'; -131 if (!strchr(this->custom_modes,mode)) -132 { -133 strlcat(custom_modes,m,MAXMODES); -134 } -135 log(DEBUG,'Custom mode %c set',mode); -136 } -137 else { +121 { +122 if (mode_on) { +123 static char m[3]; +124 m[0] = mode; +125 m[1] = '\0'; +126 if (!strchr(this->custom_modes,mode)) +127 { +128 strlcat(custom_modes,m,MAXMODES); +129 } +130 log(DEBUG,'Custom mode %c set',mode); +131 } +132 else { +133 +134 std::string a = this->custom_modes; +135 int pos = a.find(mode); +136 a.erase(pos,1); +137 strncpy(this->custom_modes,a.c_str(),MAXMODES); 138 -139 std::string a = this->custom_modes; -140 int pos = a.find(mode); -141 a.erase(pos,1); -142 strncpy(this->custom_modes,a.c_str(),MAXMODES); -143 -144 log(DEBUG,'Custom mode %c removed: modelist='%s'',mode,this->custom_modes); -145 this->SetCustomModeParam(mode,'',false); -146 } -147 } +139 log(DEBUG,'Custom mode %c removed: modelist='%s'',mode,this->custom_modes); +140 this->SetCustomModeParam(mode,'',false); +141 } +142 } .fi .SS "void chanrec::SetCustomModeParam (char mode, char * parameter, bool mode_on)" .PP -Sets or unsets the parameters for a custom mode in a channels info. Definition at line 150 of file channels.cpp. +Sets or unsets the parameters for a custom mode in a channels info. Definition at line 145 of file channels.cpp. .PP References ModeParameter::channel, custom_mode_params, DEBUG, ModeParameter::mode, and ModeParameter::parameter. .PP Referenced by SetCustomMode(). .PP .nf -151 { -152 -153 log(DEBUG,'SetCustomModeParam called'); -154 ModeParameter M; -155 M.mode = mode; -156 strlcpy(M.channel,this->name,CHANMAX); -157 strlcpy(M.parameter,parameter,MAXBUF); -158 if (mode_on) +146 { +147 +148 log(DEBUG,'SetCustomModeParam called'); +149 ModeParameter M; +150 M.mode = mode; +151 strlcpy(M.channel,this->name,CHANMAX); +152 strlcpy(M.parameter,parameter,MAXBUF); +153 if (mode_on) +154 { +155 log(DEBUG,'Custom mode parameter %c %s added',mode,parameter); +156 custom_mode_params.push_back(M); +157 } +158 else 159 { -160 log(DEBUG,'Custom mode parameter %c %s added',mode,parameter); -161 custom_mode_params.push_back(M); -162 } -163 else -164 { -165 if (custom_mode_params.size()) -166 { -167 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) -168 { -169 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -170 { -171 log(DEBUG,'Custom mode parameter %c %s removed',mode,parameter); -172 custom_mode_params.erase(i); -173 return; -174 } -175 } -176 } -177 log(DEBUG,'*** BUG *** Attempt to remove non-existent mode parameter!'); -178 } -179 } +160 if (custom_mode_params.size()) +161 { +162 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +163 { +164 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +165 { +166 log(DEBUG,'Custom mode parameter %c %s removed',mode,parameter); +167 custom_mode_params.erase(i); +168 return; +169 } +170 } +171 } +172 log(DEBUG,'*** BUG *** Attempt to remove non-existent mode parameter!'); +173 } +174 } .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3 index d3c9b34b4..9530bb7c8 100644 --- a/docs/man/man3/classbase.3 +++ b/docs/man/man3/classbase.3 @@ -1,4 +1,4 @@ -.TH "classbase" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "classbase" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3 index fe5b1b348..8309583b7 100644 --- a/docs/man/man3/command_t.3 +++ b/docs/man/man3/command_t.3 @@ -1,4 +1,4 @@ -.TH "command_t" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "command_t" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3 index 3033594c2..c13b7bd21 100644 --- a/docs/man/man3/commands.h.3 +++ b/docs/man/man3/commands.h.3 @@ -1,4 +1,4 @@ -.TH "commands.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "commands.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -178,78 +178,78 @@ commands.h \- .RI "void \fBhandle_unloadmodule\fP (char **parameters, int pcnt, \fBuserrec\fP *user)" .br .ti -1c -.RI "void \fBhandle_link_packet\fP (char *tcp_msg, char *tcp_host, \fBserverrec\fP *serv)" +.RI "void \fBhandle_link_packet\fP (char *tcp_msg, char *tcp_host, \fBserverrec\fP *serv, char *tcp_sum)" .br .RI "\fISpecial functions for processing server to server traffic. \fP" .ti -1c -.RI "void \fBprocess_restricted_commands\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *ipaddr, int port)" +.RI "void \fBprocess_restricted_commands\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *ipaddr, int port, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_amp\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_amp\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .RI "\fIThese are the handlers for server commands (tokens). \fP" .ti -1c -.RI "void \fBhandle_dollar\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_dollar\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_J\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_J\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_R\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_R\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_plus\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_plus\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_b\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_b\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_a\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_a\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_F\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_F\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_N\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_N\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_AT\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_AT\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_k\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_k\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_n\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_n\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_Q\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_Q\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_K\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_K\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_L\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_L\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_m\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_m\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_M\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_M\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_T\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_T\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_t\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_t\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_i\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_i\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_P\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_P\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c -.RI "void \fBhandle_V\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host)" +.RI "void \fBhandle_V\fP (char token, char *params, \fBserverrec\fP *source, \fBserverrec\fP *reply, char *tcp_host, char *tcp_sum)" .br .ti -1c .RI "bool \fBis_uline\fP (const char *server)" @@ -265,32 +265,32 @@ commands.h \- .SS "long duration (const char * str)" .PP Other useful functions. Referenced by Server::AddELine(), Server::AddGLine(), Server::AddKLine(), Server::AddQLine(), Server::AddZLine(), and Server::CalcDuration(). -.SS "void handle_a (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_a (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_admin (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_amp (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_amp (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP These are the handlers for server commands (tokens). -.SS "void handle_AT (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_AT (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_away (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_b (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_b (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_connect (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP .SS "void handle_die (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_dollar (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_dollar (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_eline (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_F (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_F (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_gline (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_i (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_i (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_info (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -298,14 +298,14 @@ These are the handlers for server commands (tokens). .PP .SS "void handle_ison (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_J (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_J (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_join (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP These are the handlers for user commands. -.SS "void handle_K (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_K (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP -.SS "void handle_k (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_k (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_kick (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -313,9 +313,9 @@ These are the handlers for user commands. .PP .SS "void handle_kline (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_L (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_L (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP -.SS "void handle_link_packet (char * tcp_msg, char * tcp_host, \fBserverrec\fP * serv)" +.SS "void handle_link_packet (char * tcp_msg, char * tcp_host, \fBserverrec\fP * serv, char * tcp_sum)" .PP Special functions for processing server to server traffic. .SS "void handle_links (char ** parameters, int pcnt, \fBuserrec\fP * user)" @@ -326,9 +326,9 @@ Special functions for processing server to server traffic. .PP .SS "void handle_lusers (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_M (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_M (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP -.SS "void handle_m (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_m (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_map (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -336,9 +336,9 @@ Special functions for processing server to server traffic. .PP .SS "void handle_motd (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_n (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_n (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP -.SS "void handle_N (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_N (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_names (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -348,7 +348,7 @@ Special functions for processing server to server traffic. .PP .SS "void handle_oper (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_P (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_P (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_part (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -356,19 +356,19 @@ Special functions for processing server to server traffic. .PP .SS "void handle_ping (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_plus (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_plus (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_pong (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP .SS "void handle_privmsg (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_Q (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_Q (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_qline (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP .SS "void handle_quit (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_R (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_R (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_rehash (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -384,9 +384,9 @@ Special functions for processing server to server traffic. .PP .SS "void handle_summon (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_t (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_t (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP -.SS "void handle_T (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_T (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_time (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -402,7 +402,7 @@ Special functions for processing server to server traffic. .PP .SS "void handle_users (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP -.SS "void handle_V (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host)" +.SS "void handle_V (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * tcp_sum)" .PP .SS "void handle_wallops (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP @@ -417,7 +417,7 @@ Special functions for processing server to server traffic. .SS "bool is_uline (const char * server)" .PP Functions for u:lined servers. Referenced by Server::IsUlined(). -.SS "void process_restricted_commands (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * ipaddr, int port)" +.SS "void process_restricted_commands (char token, char * params, \fBserverrec\fP * source, \fBserverrec\fP * reply, char * tcp_host, char * ipaddr, int port, char * tcp_sum)" .PP .SH "Author" .PP diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3 index 089bd108e..e21a84b8d 100644 --- a/docs/man/man3/connection.3 +++ b/docs/man/man3/connection.3 @@ -1,4 +1,4 @@ -.TH "connection" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "connection" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -42,7 +42,7 @@ Inherited by \fBserverrec\fP, and \fBuserrec\fP. .br .RI "\fISend a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. \fP" .ti -1c -.RI "bool \fBRecvPacket\fP (std::deque< std::string > &messages, char *\fBhost\fP)" +.RI "bool \fBRecvPacket\fP (std::deque< std::string > &messages, char *\fBhost\fP, std::deque< std::string > &sums)" .br .RI "\fIReturns the next available packet and returns true if data is available. \fP" .ti -1c @@ -120,7 +120,7 @@ Inherited by \fBserverrec\fP, and \fBuserrec\fP. .in -1c .SH "Detailed Description" .PP -Please note: classes serverrec and userrec both inherit from class connection. Definition at line 210 of file connection.h. +Please note: classes serverrec and userrec both inherit from class connection. Definition at line 212 of file connection.h. .SH "Constructor & Destructor Documentation" .PP .SS "connection::connection ()" @@ -143,7 +143,7 @@ Find the \fBircd_connector\fP oject related to a certain servername given in 'ho .SS "bool connection::MeshCookie (char * targethost, int port, unsigned long cookie, char * servername)" .PP Begin an outbound mesh link to another ircd on a network you are already an authenticated member of. -.SS "bool connection::RecvPacket (std::deque< std::string > & messages, char * host)" +.SS "bool connection::RecvPacket (std::deque< std::string > & messages, char * host, std::deque< std::string > & sums)" .PP Returns the next available packet and returns true if data is available. Writes the servername the data came from to 'host'. If no data is available this function returns false. This function will automatically close broken links and reroute pathways, generating split messages on the network. .SS "bool connection::SendPacket (char * message, const char * host)" @@ -156,75 +156,75 @@ Terminate a link to 'targethost' by calling the \fBircd_connector::CloseConnecti .PP .SS "long \fBconnection::bytes_in\fP" .PP -Stats counter for bytes inbound. Definition at line 227 of file connection.h. +Stats counter for bytes inbound. Definition at line 229 of file connection.h. .PP Referenced by userrec::userrec(). .SS "long \fBconnection::bytes_out\fP" .PP -Stats counter for bytes outbound. Definition at line 231 of file connection.h. +Stats counter for bytes outbound. Definition at line 233 of file connection.h. .PP Referenced by userrec::FlushWriteBuf(), and userrec::userrec(). .SS "long \fBconnection::cmds_in\fP" .PP -Stats counter for commands inbound. Definition at line 235 of file connection.h. +Stats counter for commands inbound. Definition at line 237 of file connection.h. .PP Referenced by userrec::userrec(). .SS "long \fBconnection::cmds_out\fP" .PP -Stats counter for commands outbound. Definition at line 239 of file connection.h. +Stats counter for commands outbound. Definition at line 241 of file connection.h. .PP Referenced by userrec::FlushWriteBuf(), and userrec::userrec(). .SS "std::vector<\fBircd_connector\fP> \fBconnection::connectors\fP" .PP -With a serverrec, this is a list of all established server connections. With a userrec this is unused.Definition at line 274 of file connection.h. +With a serverrec, this is a list of all established server connections. With a userrec this is unused.Definition at line 276 of file connection.h. .SS "int \fBconnection::fd\fP" .PP -File descriptor of the connection. Definition at line 215 of file connection.h. +File descriptor of the connection. Definition at line 217 of file connection.h. .PP Referenced by ConfigReader::DumpErrors(), Server::PseudoToUser(), Server::SendTo(), serverrec::serverrec(), userrec::userrec(), and Server::UserToPseudo(). .SS "bool \fBconnection::haspassed\fP" .PP -True if server/user has authenticated, false if otherwise. Definition at line 243 of file connection.h. +True if server/user has authenticated, false if otherwise. Definition at line 245 of file connection.h. .PP Referenced by userrec::userrec(). .SS "char \fBconnection::host\fP[160]" .PP -Hostname of connection. Not used if this is a serverrecDefinition at line 219 of file connection.h. +Hostname of connection. Not used if this is a serverrecDefinition at line 221 of file connection.h. .PP Referenced by userrec::GetFullRealHost(), Server::PseudoToUser(), userrec::userrec(), and Server::UserToPseudo(). .SS "time_t \fBconnection::idle_lastmsg\fP" .PP -Time that the connection last sent data, used to calculate idle time. Definition at line 265 of file connection.h. +Time that the connection last sent data, used to calculate idle time. Definition at line 267 of file connection.h. .PP Referenced by userrec::userrec(). .SS "char \fBconnection::ip\fP[16]" .PP -IP of connection. Definition at line 223 of file connection.h. +IP of connection. Definition at line 225 of file connection.h. .PP Referenced by userrec::userrec(). .SS "time_t \fBconnection::lastping\fP" .PP -Time the connection was last pinged. Definition at line 257 of file connection.h. +Time the connection was last pinged. Definition at line 259 of file connection.h. .PP Referenced by serverrec::serverrec(), and userrec::userrec(). .SS "time_t \fBconnection::nping\fP" .PP -Used by PING checks with clients. Definition at line 269 of file connection.h. +Used by PING checks with clients. Definition at line 271 of file connection.h. .PP Referenced by userrec::userrec(). .SS "int \fBconnection::port\fP" .PP -Port number For a userrec, this is the port they connected to the network on. For a serverrec this is the current listening port of the serverrec object.Definition at line 249 of file connection.h. +Port number For a userrec, this is the port they connected to the network on. For a serverrec this is the current listening port of the serverrec object.Definition at line 251 of file connection.h. .PP Referenced by userrec::userrec(). .SS "char \fBconnection::registered\fP" .PP -Used by userrec to indicate the registration status of the connection. Definition at line 253 of file connection.h. +Used by userrec to indicate the registration status of the connection. Definition at line 255 of file connection.h. .PP Referenced by userrec::userrec(). .SS "time_t \fBconnection::signon\fP" .PP -Time the connection was created, set in the constructor. Definition at line 261 of file connection.h. +Time the connection was created, set in the constructor. Definition at line 263 of file connection.h. .PP Referenced by serverrec::serverrec(), and userrec::userrec(). diff --git a/docs/man/man3/connection.h.3 b/docs/man/man3/connection.h.3 index 20f716f16..2bd9c858a 100644 --- a/docs/man/man3/connection.h.3 +++ b/docs/man/man3/connection.h.3 @@ -1,4 +1,4 @@ -.TH "connection.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "connection.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -69,6 +69,13 @@ connection.h \- .RI "#define \fBSTATE_SERVICES\fP 5" .br .in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "std::string \fBCreateSum\fP ()" +.br +.in -1c .SH "Define Documentation" .PP .SS "#define STATE_CONNECTED 1" @@ -89,6 +96,10 @@ Definition at line 40 of file connection.h. .SS "#define STATE_SYNC 2" .PP Definition at line 37 of file connection.h. +.SH "Function Documentation" +.PP +.SS "std::string CreateSum ()" +.PP .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/ctables.h.3 b/docs/man/man3/ctables.h.3 index dbbfcd783..2d7eb05c9 100644 --- a/docs/man/man3/ctables.h.3 +++ b/docs/man/man3/ctables.h.3 @@ -1,4 +1,4 @@ -.TH "ctables.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ctables.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/dns.h.3 b/docs/man/man3/dns.h.3 index 2262c8192..aca6fe856 100644 --- a/docs/man/man3/dns.h.3 +++ b/docs/man/man3/dns.h.3 @@ -1,4 +1,4 @@ -.TH "dns.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "dns.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/dns_ip4list.3 b/docs/man/man3/dns_ip4list.3 index 72756c11c..a3835ec7f 100644 --- a/docs/man/man3/dns_ip4list.3 +++ b/docs/man/man3/dns_ip4list.3 @@ -1,4 +1,4 @@ -.TH "dns_ip4list" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "dns_ip4list" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/hashcomp.h.3 b/docs/man/man3/hashcomp.h.3 new file mode 100644 index 000000000..abd940138 --- /dev/null +++ b/docs/man/man3/hashcomp.h.3 @@ -0,0 +1,50 @@ +.TH "hashcomp.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +hashcomp.h \- +.SH SYNOPSIS +.br +.PP +\fC#include 'inspircd_config.h'\fP +.br +\fC#include <ext/hash_map>\fP +.br + +.SS "Namespaces" + +.in +1c +.ti -1c +.RI "namespace \fBirc\fP" +.br +.ti -1c +.RI "namespace \fBnspace\fP" +.br +.in -1c +.SS "Compounds" + +.in +1c +.ti -1c +.RI "struct \fBInAddr_HashComp\fP" +.br +.RI "\fIThis class returns true if two in_addr structs match. \fP" +.ti -1c +.RI "struct \fBStrHashComp\fP" +.br +.RI "\fIThis class returns true if two strings match. \fP" +.in -1c +.SS "Defines" + +.in +1c +.ti -1c +.RI "#define \fBnspace\fP __gnu_cxx" +.br +.in -1c +.SH "Define Documentation" +.PP +.SS "#define nspace __gnu_cxx" +.PP +Definition at line 29 of file hashcomp.h. +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/irc.3 b/docs/man/man3/irc.3 new file mode 100644 index 000000000..a825271ad --- /dev/null +++ b/docs/man/man3/irc.3 @@ -0,0 +1,36 @@ +.TH "irc" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +irc \- The irc namespace contains a number of helper classes. + +.SH SYNOPSIS +.br +.PP +.SS "Compounds" + +.in +1c +.ti -1c +.RI "struct \fBirc_char_traits\fP" +.br +.RI "\fIThe \fBirc_char_traits\fP class is used for RFC-style comparison of strings. \fP" +.in -1c +.SS "Typedefs" + +.in +1c +.ti -1c +.RI "typedef basic_string< char, \fBirc_char_traits\fP, allocator< char > > \fBstring\fP" +.br +.RI "\fIThis typedef declares \fBirc::string\fP based upon \fBirc_char_traits\fP. \fP" +.in -1c +.SH "Detailed Description" +.PP +The irc namespace contains a number of helper classes. +.SH "Typedef Documentation" +.PP +.SS "typedef basic_string<char, \fBirc_char_traits\fP, allocator<char> > \fBirc::string\fP" +.PP +This typedef declares \fBirc::string\fP based upon \fBirc_char_traits\fP. Definition at line 111 of file hashcomp.h. +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/irc_irc_char_traits.3 b/docs/man/man3/irc_irc_char_traits.3 new file mode 100644 index 000000000..1ee931ba6 --- /dev/null +++ b/docs/man/man3/irc_irc_char_traits.3 @@ -0,0 +1,66 @@ +.TH "irc::irc_char_traits" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +irc::irc_char_traits \- The \fBirc_char_traits\fP class is used for RFC-style comparison of strings. + +.PP +.SH SYNOPSIS +.br +.PP +\fC#include <hashcomp.h>\fP +.PP +Inherits \fBchar_traits< char >\fP. +.PP +.SS "Static Public Member Functions" + +.in +1c +.ti -1c +.RI "bool \fBeq\fP (char c1st, char c2nd)" +.br +.RI "\fICheck if two chars match. \fP" +.ti -1c +.RI "bool \fBne\fP (char c1st, char c2nd)" +.br +.RI "\fICheck if two chars do NOT match. \fP" +.ti -1c +.RI "bool \fBlt\fP (char c1st, char c2nd)" +.br +.RI "\fICheck if one char is less than another. \fP" +.ti -1c +.RI "int \fBcompare\fP (const char *str1, const char *str2, size_t n)" +.br +.RI "\fICompare two strings of size n. \fP" +.ti -1c +.RI "const char * \fBfind\fP (const char *s1, int n, char c)" +.br +.RI "\fIFind a char within a string up to position n. \fP" +.in -1c +.SH "Detailed Description" +.PP +The \fBirc_char_traits\fP class is used for RFC-style comparison of strings. + +This class is used to implement \fBirc::string\fP, a case-insensitive, RFC- comparing string class. +.PP +Definition at line 86 of file hashcomp.h. +.SH "Member Function Documentation" +.PP +.SS "int irc::irc_char_traits::compare (const char * str1, const char * str2, size_t n)\fC [static]\fP" +.PP +Compare two strings of size n. +.SS "bool irc::irc_char_traits::eq (char c1st, char c2nd)\fC [static]\fP" +.PP +Check if two chars match. +.SS "const char* irc::irc_char_traits::find (const char * s1, int n, char c)\fC [static]\fP" +.PP +Find a char within a string up to position n. +.SS "bool irc::irc_char_traits::lt (char c1st, char c2nd)\fC [static]\fP" +.PP +Check if one char is less than another. +.SS "bool irc::irc_char_traits::ne (char c1st, char c2nd)\fC [static]\fP" +.PP +Check if two chars do NOT match. + +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/ircd_connector.3 b/docs/man/man3/ircd_connector.3 index f45d65f95..226b6797e 100644 --- a/docs/man/man3/ircd_connector.3 +++ b/docs/man/man3/ircd_connector.3 @@ -1,4 +1,4 @@ -.TH "ircd_connector" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ircd_connector" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -160,7 +160,7 @@ Each connection has one or more of these each represents ONE outbound connection A listening socket that accepts server type connections is represented by one class serverrec. Class serverrec will instantiate several objects of type ircd_connector to represent each established connection, inbound or outbound. So, to determine all linked servers you must walk through all the serverrecs that the core defines, and in each one iterate through until you find connection(s) relating to the server you want information on. The core and module API provide functions for this. .PP -Definition at line 54 of file connection.h. +Definition at line 56 of file connection.h. .SH "Member Function Documentation" .PP .SS "void ircd_connector::AddBuffer (std::string a)" @@ -230,36 +230,36 @@ This method sets the version string of the remote server. .PP .SS "sockaddr_in \fBircd_connector::addr\fP\fC [private]\fP" .PP -Sockaddr of the outbound ip and port. Definition at line 59 of file connection.h. +Sockaddr of the outbound ip and port. Definition at line 61 of file connection.h. .SS "std::string \fBircd_connector::description\fP\fC [private]\fP" .PP -\fBServer\fP 'GECOS'. Definition at line 71 of file connection.h. +\fBServer\fP 'GECOS'. Definition at line 73 of file connection.h. .SS "int \fBircd_connector::fd\fP\fC [private]\fP" .PP -File descriptor of the connection. Definition at line 63 of file connection.h. +File descriptor of the connection. Definition at line 65 of file connection.h. .SS "char \fBircd_connector::host\fP[MAXBUF]" .PP -When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 99 of file connection.h. +When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 101 of file connection.h. .SS "std::string \fBircd_connector::ircdbuffer\fP" .PP IRCD Buffer for input characters, holds as many lines as are pending - Note that the final line may not be complete and should only be read when there is a .br - seperator. Definition at line 92 of file connection.h. + seperator. Definition at line 94 of file connection.h. .SS "int \fBircd_connector::port\fP" .PP -When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 105 of file connection.h. +When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 107 of file connection.h. .SS "std::vector<std::string> \fBircd_connector::routes\fP" .PP -\fBServer\fP names of servers that this server is linked to So for A->B->C, if this was the record for B it would contain A and C whilever both servers are connected to B. Definition at line 111 of file connection.h. +\fBServer\fP names of servers that this server is linked to So for A->B->C, if this was the record for B it would contain A and C whilever both servers are connected to B. Definition at line 113 of file connection.h. .SS "std::string \fBircd_connector::servername\fP\fC [private]\fP" .PP -\fBServer\fP name. Definition at line 67 of file connection.h. +\fBServer\fP name. Definition at line 69 of file connection.h. .SS "char \fBircd_connector::state\fP\fC [private]\fP" .PP -State. STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTEDDefinition at line 76 of file connection.h. +State. STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTEDDefinition at line 78 of file connection.h. .SS "std::string \fBircd_connector::version\fP\fC [private]\fP" .PP -This string holds the ircd's version response. Definition at line 84 of file connection.h. +This string holds the ircd's version response. Definition at line 86 of file connection.h. .SH "Author" .PP diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3 index 3cbc9f2c8..5b7529f6c 100644 --- a/docs/man/man3/message.h.3 +++ b/docs/man/man3/message.h.3 @@ -1,4 +1,4 @@ -.TH "message.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "message.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3 index 9d1833afe..51981f20d 100644 --- a/docs/man/man3/mode.h.3 +++ b/docs/man/man3/mode.h.3 @@ -1,4 +1,4 @@ -.TH "mode.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "mode.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3 index 2c42d18cb..dfea1301b 100644 --- a/docs/man/man3/modules.cpp.3 +++ b/docs/man/man3/modules.cpp.3 @@ -1,4 +1,4 @@ -.TH "modules.cpp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "modules.cpp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -16,16 +16,8 @@ modules.cpp \- .br \fC#include <unistd.h>\fP .br -\fC#include <fcntl.h>\fP -.br \fC#include <sys/errno.h>\fP .br -\fC#include <sys/ioctl.h>\fP -.br -\fC#include <sys/utsname.h>\fP -.br -\fC#include <cstdio>\fP -.br \fC#include <time.h>\fP .br \fC#include <string>\fP @@ -38,12 +30,8 @@ modules.cpp \- .br \fC#include <vector>\fP .br -\fC#include <errno.h>\fP -.br \fC#include <deque>\fP .br -\fC#include <sched.h>\fP -.br \fC#include 'connection.h'\fP .br \fC#include 'users.h'\fP @@ -70,33 +58,17 @@ modules.cpp \- .br \fC#include 'inspstring.h'\fP .br - -.SS "Namespaces" - -.in +1c -.ti -1c -.RI "namespace \fBnspace\fP" +\fC#include 'helperfuncs.h'\fP .br -.in -1c +\fC#include 'hashcomp.h'\fP +.br + .SS "Compounds" .in +1c .ti -1c .RI "class \fBExtMode\fP" .br -.ti -1c -.RI "struct \fBInAddr_HashComp\fP" -.br -.ti -1c -.RI "struct \fBStrHashComp\fP" -.br -.in -1c -.SS "Defines" - -.in +1c -.ti -1c -.RI "#define \fBnspace\fP std" -.br .in -1c .SS "Typedefs" @@ -296,169 +268,164 @@ modules.cpp \- .RI "\fBExtModeList\fP \fBEMode\fP" .br .in -1c -.SH "Define Documentation" -.PP -.SS "#define nspace std" -.PP -Definition at line 64 of file modules.cpp. .SH "Typedef Documentation" .PP .SS "typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, \fBInAddr_HashComp\fP> \fBaddress_cache\fP" .PP -Definition at line 187 of file modules.cpp. +Definition at line 111 of file modules.cpp. .SS "typedef nspace::hash_map<std::string, \fBchanrec\fP*, nspace::hash<string>, \fBStrHashComp\fP> \fBchan_hash\fP" .PP -Definition at line 186 of file modules.cpp. +Definition at line 110 of file modules.cpp. .SS "typedef std::deque<\fBcommand_t\fP> \fBcommand_table\fP" .PP -Definition at line 189 of file modules.cpp. +Definition at line 113 of file modules.cpp. .SS "typedef std::vector<\fBExtMode\fP> \fBExtModeList\fP" .PP -Definition at line 215 of file modules.cpp. +Definition at line 139 of file modules.cpp. .SS "typedef ExtModeList::iterator \fBExtModeListIter\fP" .PP -Definition at line 216 of file modules.cpp. +Definition at line 140 of file modules.cpp. .PP Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList(). .SS "typedef nspace::hash_map<std::string, \fBuserrec\fP*, nspace::hash<string>, \fBStrHashComp\fP> \fBuser_hash\fP" .PP -Definition at line 185 of file modules.cpp. +Definition at line 109 of file modules.cpp. .SS "typedef nspace::hash_map<std::string, \fBWhoWasUser\fP*, nspace::hash<string>, \fBStrHashComp\fP> \fBwhowas_hash\fP" .PP -Definition at line 188 of file modules.cpp. +Definition at line 112 of file modules.cpp. .SH "Function Documentation" .PP .SS "bool DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off)" .PP -Definition at line 285 of file modules.cpp. +Definition at line 209 of file modules.cpp. .PP References EMode, and ModeDefined(). .PP Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode(). .PP .nf -286 { -287 if (ModeDefined(modechar,type)) { -288 return false; -289 } -290 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); -291 return true; -292 } +210 { +211 if (ModeDefined(modechar,type)) { +212 return false; +213 } +214 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); +215 return true; +216 } .fi .SS "std::vector<\fBircd_module\fP*> factory (255)" .PP .SS "bool ModeDefined (char modechar, int type)" .PP -Definition at line 222 of file modules.cpp. +Definition at line 146 of file modules.cpp. .PP References EMode, and ExtModeListIter. .PP Referenced by DoAddExtendedMode(). .PP .nf -223 { -224 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -225 { -226 if ((i->modechar == modechar) && (i->type == type)) -227 { -228 return true; -229 } -230 } -231 return false; -232 } +147 { +148 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +149 { +150 if ((i->modechar == modechar) && (i->type == type)) +151 { +152 return true; +153 } +154 } +155 return false; +156 } .fi .SS "int ModeDefinedOff (char modechar, int type)" .PP -Definition at line 272 of file modules.cpp. +Definition at line 196 of file modules.cpp. .PP References EMode, and ExtModeListIter. .PP .nf -273 { -274 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -275 { -276 if ((i->modechar == modechar) && (i->type == type)) -277 { -278 return i->params_when_off; -279 } -280 } -281 return 0; -282 } +197 { +198 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +199 { +200 if ((i->modechar == modechar) && (i->type == type)) +201 { +202 return i->params_when_off; +203 } +204 } +205 return 0; +206 } .fi .SS "int ModeDefinedOn (char modechar, int type)" .PP -Definition at line 259 of file modules.cpp. +Definition at line 183 of file modules.cpp. .PP References EMode, and ExtModeListIter. .PP .nf -260 { -261 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -262 { -263 if ((i->modechar == modechar) && (i->type == type)) -264 { -265 return i->params_when_on; -266 } -267 } -268 return 0; -269 } +184 { +185 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +186 { +187 if ((i->modechar == modechar) && (i->type == type)) +188 { +189 return i->params_when_on; +190 } +191 } +192 return 0; +193 } .fi .SS "bool ModeDefinedOper (char modechar, int type)" .PP -Definition at line 246 of file modules.cpp. +Definition at line 170 of file modules.cpp. .PP References EMode, and ExtModeListIter. .PP .nf -247 { -248 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -249 { -250 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) -251 { -252 return true; -253 } -254 } -255 return false; -256 } +171 { +172 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +173 { +174 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +175 { +176 return true; +177 } +178 } +179 return false; +180 } .fi .SS "bool ModeIsListMode (char modechar, int type)" .PP -Definition at line 234 of file modules.cpp. +Definition at line 158 of file modules.cpp. .PP References EMode, and ExtModeListIter. .PP .nf -235 { -236 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -237 { -238 if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) -239 { -240 return true; -241 } -242 } -243 return false; -244 } +159 { +160 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +161 { +162 if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) +163 { +164 return true; +165 } +166 } +167 return false; +168 } .fi .SS "void ModeMakeList (char modechar)" .PP -Definition at line 295 of file modules.cpp. +Definition at line 219 of file modules.cpp. .PP References EMode, ExtModeListIter, and MT_CHANNEL. .PP Referenced by Server::AddExtendedListMode(). .PP .nf -296 { -297 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -298 { -299 if ((i->modechar == modechar) && (i->type == MT_CHANNEL)) -300 { -301 i->list = true; -302 return; -303 } -304 } -305 return; -306 } +220 { +221 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +222 { +223 if ((i->modechar == modechar) && (i->type == MT_CHANNEL)) +224 { +225 i->list = true; +226 return; +227 } +228 } +229 return; +230 } .fi .SS "std::vector<\fBModule\fP*> modules (255)" .PP @@ -466,146 +433,146 @@ Referenced by Server::AddExtendedListMode(). .PP .SS "char \fBAdminEmail\fP[MAXBUF]" .PP -Definition at line 84 of file modules.cpp. +Definition at line 72 of file modules.cpp. .SS "char \fBAdminName\fP[MAXBUF]" .PP -Definition at line 83 of file modules.cpp. +Definition at line 71 of file modules.cpp. .SS "char \fBAdminNick\fP[MAXBUF]" .PP -Definition at line 85 of file modules.cpp. +Definition at line 73 of file modules.cpp. .SS "std::vector<long> \fBauth_cookies\fP" .PP -Definition at line 112 of file modules.cpp. +Definition at line 100 of file modules.cpp. .SS "int \fBboundPortCount\fP" .PP -Definition at line 106 of file modules.cpp. +Definition at line 94 of file modules.cpp. .SS "\fBchan_hash\fP \fBchanlist\fP" .PP -Definition at line 193 of file modules.cpp. +Definition at line 117 of file modules.cpp. .SS "\fBuser_hash\fP \fBclientlist\fP" .PP -Definition at line 192 of file modules.cpp. +Definition at line 116 of file modules.cpp. .SS "\fBcommand_table\fP \fBcmdlist\fP" .PP -Definition at line 195 of file modules.cpp. +Definition at line 119 of file modules.cpp. .SS "std::stringstream \fBconfig_f\fP" .PP -Definition at line 113 of file modules.cpp. +Definition at line 101 of file modules.cpp. .SS "int \fBdebugging\fP" .PP -Definition at line 94 of file modules.cpp. +Definition at line 82 of file modules.cpp. .SS "int \fBdefaultRoute\fP" .PP -Definition at line 110 of file modules.cpp. +Definition at line 98 of file modules.cpp. .SS "int \fBDieDelay\fP" .PP -Definition at line 97 of file modules.cpp. +Definition at line 85 of file modules.cpp. .SS "char \fBdiepass\fP[MAXBUF]" .PP -Definition at line 86 of file modules.cpp. +Definition at line 74 of file modules.cpp. .SS "char \fBDieValue\fP[MAXBUF]" .PP -Definition at line 92 of file modules.cpp. +Definition at line 80 of file modules.cpp. .SS "\fBExtModeList\fP \fBEMode\fP" .PP -Definition at line 219 of file modules.cpp. +Definition at line 143 of file modules.cpp. .PP Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList(). .SS "std::vector<\fBircd_module\fP*> factory" .PP -Definition at line 75 of file modules.cpp. +Definition at line 63 of file modules.cpp. .SS "std::vector<int> \fBfd_reap\fP" .PP -Definition at line 103 of file modules.cpp. +Definition at line 91 of file modules.cpp. .SS "\fBuserrec\fP* \fBfd_ref_table\fP[65536]" .PP -Definition at line 119 of file modules.cpp. +Definition at line 107 of file modules.cpp. .PP Referenced by Server::FindDescriptor(), and Server::PseudoToUser(). .SS "\fBaddress_cache\fP \fBIP\fP" .PP -Definition at line 198 of file modules.cpp. +Definition at line 122 of file modules.cpp. .SS "char \fBlist\fP[MAXBUF]" .PP -Definition at line 90 of file modules.cpp. +Definition at line 78 of file modules.cpp. .SS "FILE* \fBlog_file\fP" .PP -Definition at line 117 of file modules.cpp. +Definition at line 105 of file modules.cpp. .SS "int \fBLogLevel\fP" .PP -Definition at line 79 of file modules.cpp. +Definition at line 67 of file modules.cpp. .SS "int \fBMaxWhoResults\fP" .PP -Definition at line 100 of file modules.cpp. +Definition at line 88 of file modules.cpp. .SS "\fBserverrec\fP* \fBme\fP[32]" .PP -Definition at line 115 of file modules.cpp. +Definition at line 103 of file modules.cpp. .SS "int \fBMODCOUNT\fP = -1" .PP -Definition at line 1067 of file modules.cpp. +Definition at line 996 of file modules.cpp. .SS "std::vector<std::string> \fBmodule_names\fP" .PP -Definition at line 104 of file modules.cpp. +Definition at line 92 of file modules.cpp. .SS "std::vector<\fBModule\fP*> modules" .PP -Definition at line 74 of file modules.cpp. +Definition at line 62 of file modules.cpp. .SS "\fBfile_cache\fP \fBMOTD\fP" .PP -Definition at line 196 of file modules.cpp. +Definition at line 120 of file modules.cpp. .SS "char \fBmotd\fP[MAXBUF]" .PP -Definition at line 88 of file modules.cpp. +Definition at line 76 of file modules.cpp. .SS "time_t \fBnb_start\fP" .PP -Definition at line 101 of file modules.cpp. +Definition at line 89 of file modules.cpp. .SS "int \fBNetBufferSize\fP" .PP -Definition at line 99 of file modules.cpp. +Definition at line 87 of file modules.cpp. .SS "char \fBNetwork\fP[MAXBUF]" .PP -Definition at line 81 of file modules.cpp. +Definition at line 69 of file modules.cpp. .SS "int \fBportCount\fP" .PP -Definition at line 107 of file modules.cpp. +Definition at line 95 of file modules.cpp. .SS "int \fBports\fP[MAXSOCKS]" .PP -Definition at line 109 of file modules.cpp. +Definition at line 97 of file modules.cpp. .SS "char \fBPrefixQuit\fP[MAXBUF]" .PP -Definition at line 91 of file modules.cpp. +Definition at line 79 of file modules.cpp. .SS "char \fBrestartpass\fP[MAXBUF]" .PP -Definition at line 87 of file modules.cpp. +Definition at line 75 of file modules.cpp. .SS "\fBfile_cache\fP \fBRULES\fP" .PP -Definition at line 197 of file modules.cpp. +Definition at line 121 of file modules.cpp. .SS "char \fBrules\fP[MAXBUF]" .PP -Definition at line 89 of file modules.cpp. +Definition at line 77 of file modules.cpp. .SS "char \fBServerDesc\fP[MAXBUF]" .PP -Definition at line 82 of file modules.cpp. +Definition at line 70 of file modules.cpp. .SS "char \fBServerName\fP[MAXBUF]" .PP -Definition at line 80 of file modules.cpp. +Definition at line 68 of file modules.cpp. .SS "int \fBSERVERportCount\fP" .PP -Definition at line 108 of file modules.cpp. +Definition at line 96 of file modules.cpp. .SS "time_t \fBstartup_time\fP" .PP -Definition at line 98 of file modules.cpp. +Definition at line 86 of file modules.cpp. .SS "time_t \fBTIME\fP" .PP -Definition at line 77 of file modules.cpp. +Definition at line 65 of file modules.cpp. .SS "\fBwhowas_hash\fP \fBwhowas\fP" .PP -Definition at line 194 of file modules.cpp. +Definition at line 118 of file modules.cpp. .SS "int \fBWHOWAS_MAX\fP" .PP -Definition at line 96 of file modules.cpp. +Definition at line 84 of file modules.cpp. .SS "int \fBWHOWAS_STALE\fP" .PP -Definition at line 95 of file modules.cpp. +Definition at line 83 of file modules.cpp. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/modules.h.3 b/docs/man/man3/modules.h.3 index ac7e9ea35..38bf3733a 100644 --- a/docs/man/man3/modules.h.3 +++ b/docs/man/man3/modules.h.3 @@ -1,4 +1,4 @@ -.TH "modules.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "modules.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -230,22 +230,22 @@ Referenced by Module::OnAccessCheck(). Definition at line 38 of file modules.h. .SS "#define CONF_FILE_NOT_FOUND 0x000200" .PP -Definition at line 1138 of file modules.h. +Definition at line 1141 of file modules.h. .PP Referenced by ConfigReader::ConfigReader(). .SS "#define CONF_NOT_A_NUMBER 0x000010" .PP -Definition at line 1135 of file modules.h. +Definition at line 1138 of file modules.h. .PP Referenced by ConfigReader::ReadInteger(). .SS "#define CONF_NOT_UNSIGNED 0x000080" .PP -Definition at line 1136 of file modules.h. +Definition at line 1139 of file modules.h. .PP Referenced by ConfigReader::ReadInteger(). .SS "#define CONF_VALUE_NOT_FOUND 0x000100" .PP -Definition at line 1137 of file modules.h. +Definition at line 1140 of file modules.h. .PP Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue(). .SS "#define DEBUG 10" @@ -333,7 +333,7 @@ Low level definition of a \fBFileReader\fP classes file cache area. Definition a Referenced by FileReader::FileReader(), and FileReader::LoadFile(). .SS "typedef DLLFactory<\fBModuleFactory\fP> \fBircd_module\fP" .PP -Definition at line 1304 of file modules.h. +Definition at line 1307 of file modules.h. .SS "typedef \fBfile_cache\fP \fBstring_list\fP" .PP Definition at line 68 of file modules.h. diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3 index 736e4cfb7..cbe375840 100644 --- a/docs/man/man3/nspace.3 +++ b/docs/man/man3/nspace.3 @@ -1,4 +1,4 @@ -.TH "nspace" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 b/docs/man/man3/nspace_nspace_hash_ in_addr _.3 index 43b548dd9..a21b8fa75 100644 --- a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 +++ b/docs/man/man3/nspace_nspace_hash_ in_addr _.3 @@ -1,4 +1,4 @@ -.TH "nspace::nspace::hash< in_addr >" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace::nspace::hash< in_addr >" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -6,6 +6,8 @@ nspace::nspace::hash< in_addr > \- .SH SYNOPSIS .br .PP +\fC#include <hashcomp.h>\fP +.PP .SS "Public Member Functions" .in +1c @@ -18,17 +20,8 @@ nspace::nspace::hash< in_addr > \- .SH "Member Function Documentation" .PP -.SS "size_t nspace::hash< in_addr >::operator() (const struct in_addr & a) const\fC [inline]\fP" -.PP -Definition at line 129 of file modules.cpp. +.SS "size_t nspace::hash< in_addr >::operator() (const struct in_addr & a) const" .PP -.nf -130 { -131 size_t q; -132 memcpy(&q,&a,sizeof(size_t)); -133 return q; -134 } -.fi .SH "Author" diff --git a/docs/man/man3/nspace_nspace_hash_ string _.3 b/docs/man/man3/nspace_nspace_hash_ string _.3 index ba9c5a6f5..58c32c257 100644 --- a/docs/man/man3/nspace_nspace_hash_ string _.3 +++ b/docs/man/man3/nspace_nspace_hash_ string _.3 @@ -1,4 +1,4 @@ -.TH "nspace::nspace::hash< string >" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace::nspace::hash< string >" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -6,6 +6,8 @@ nspace::nspace::hash< string > \- .SH SYNOPSIS .br .PP +\fC#include <hashcomp.h>\fP +.PP .SS "Public Member Functions" .in +1c @@ -18,19 +20,8 @@ nspace::nspace::hash< string > \- .SH "Member Function Documentation" .PP -.SS "size_t nspace::hash< string >::operator() (const string & s) const\fC [inline]\fP" -.PP -Definition at line 142 of file modules.cpp. +.SS "size_t nspace::hash< string >::operator() (const string & s) const" .PP -.nf -143 { -144 char a[MAXBUF]; -145 static struct hash<const char *> strhash; -146 strlcpy(a,s.c_str(),MAXBUF); -147 strlower(a); -148 return strhash(a); -149 } -.fi .SH "Author" diff --git a/docs/man/man3/serverrec.3 b/docs/man/man3/serverrec.3 index 8f2ed614c..6dd9d4387 100644 --- a/docs/man/man3/serverrec.3 +++ b/docs/man/man3/serverrec.3 @@ -1,4 +1,4 @@ -.TH "serverrec" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "serverrec" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -82,51 +82,51 @@ A class that defines the local server or a remote server. Definition at line 30 .PP .SS "serverrec::serverrec ()" .PP -Constructor. Definition at line 26 of file servers.cpp. +Constructor. Definition at line 27 of file servers.cpp. .PP References connection::fd, hops_away, jupiter, connection::lastping, name, nickserv, opercount, pingtime, connection::signon, sync_soon, TIME, usercount, usercount_i, and version. .PP .nf -27 { -28 strlcpy(name,'',256); -29 pingtime = 0; -30 lastping = TIME; -31 usercount_i = usercount = opercount = version = 0; -32 hops_away = 1; -33 signon = TIME; -34 jupiter = false; -35 fd = 0; -36 sync_soon = false; -37 strlcpy(nickserv,'',NICKMAX); -38 } +28 { +29 strlcpy(name,'',256); +30 pingtime = 0; +31 lastping = TIME; +32 usercount_i = usercount = opercount = version = 0; +33 hops_away = 1; +34 signon = TIME; +35 jupiter = false; +36 fd = 0; +37 sync_soon = false; +38 strlcpy(nickserv,'',NICKMAX); +39 } .fi .SS "serverrec::serverrec (char * n, long ver, bool jupe)" .PP -Constructor which initialises some of the main variables. Definition at line 45 of file servers.cpp. +Constructor which initialises some of the main variables. Definition at line 46 of file servers.cpp. .PP References connection::fd, hops_away, jupiter, connection::lastping, name, nickserv, opercount, connection::signon, sync_soon, TIME, usercount, usercount_i, and version. .PP .nf -46 { -47 strlcpy(name,n,256); -48 lastping = TIME; -49 usercount_i = usercount = opercount = 0; -50 version = ver; -51 hops_away = 1; -52 signon = TIME; -53 jupiter = jupe; -54 fd = 0; -55 sync_soon = false; -56 strlcpy(nickserv,'',NICKMAX); -57 } +47 { +48 strlcpy(name,n,256); +49 lastping = TIME; +50 usercount_i = usercount = opercount = 0; +51 version = ver; +52 hops_away = 1; +53 signon = TIME; +54 jupiter = jupe; +55 fd = 0; +56 sync_soon = false; +57 strlcpy(nickserv,'',NICKMAX); +58 } .fi .SS "serverrec::~\fBserverrec\fP ()" .PP -Destructor. Definition at line 41 of file servers.cpp. +Destructor. Definition at line 42 of file servers.cpp. .PP .nf -42 { -43 } +43 { +44 } .fi .SH "Member Data Documentation" .PP diff --git a/docs/man/man3/servers.cpp.3 b/docs/man/man3/servers.cpp.3 index e02fb0eb2..af036f7c6 100644 --- a/docs/man/man3/servers.cpp.3 +++ b/docs/man/man3/servers.cpp.3 @@ -1,4 +1,4 @@ -.TH "servers.cpp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "servers.cpp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -18,6 +18,8 @@ servers.cpp \- .br \fC#include 'inspstring.h'\fP .br +\fC#include 'helperfuncs.h'\fP +.br .SS "Variables" @@ -30,7 +32,7 @@ servers.cpp \- .PP .SS "time_t \fBTIME\fP" .PP -Definition at line 24 of file servers.cpp. +Definition at line 25 of file servers.cpp. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/servers.h.3 b/docs/man/man3/servers.h.3 index cb3f26dd6..a048d2a6e 100644 --- a/docs/man/man3/servers.h.3 +++ b/docs/man/man3/servers.h.3 @@ -1,4 +1,4 @@ -.TH "servers.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "servers.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3 index 77d52825a..6d1a2ae72 100644 --- a/docs/man/man3/std.3 +++ b/docs/man/man3/std.3 @@ -1,4 +1,4 @@ -.TH "std" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "std" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/std_char_traits.3 b/docs/man/man3/std_char_traits.3 new file mode 100644 index 000000000..64a98bafc --- /dev/null +++ b/docs/man/man3/std_char_traits.3 @@ -0,0 +1,15 @@ +.TH "std::char_traits" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +std::char_traits \- +.SH SYNOPSIS +.br +.PP +Inherited by \fBirc::irc_char_traits\fP. +.PP + + +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3 index 986d2ba8f..efe396234 100644 --- a/docs/man/man3/ucrec.3 +++ b/docs/man/man3/ucrec.3 @@ -1,4 +1,4 @@ -.TH "ucrec" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "ucrec" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3 index 3afc6d02c..61e70f590 100644 --- a/docs/man/man3/userrec.3 +++ b/docs/man/man3/userrec.3 @@ -1,4 +1,4 @@ -.TH "userrec" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "userrec" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -77,6 +77,10 @@ Inherits \fBconnection\fP. .RI "void \fBFlushWriteBuf\fP ()" .br .RI "\fIFlushes as much of the user's buffer to the file descriptor as possible. \fP" +.ti -1c +.RI "\fBInvitedList\fP * \fBGetInviteList\fP ()" +.br +.RI "\fIReturns the list of channels this user has been invited to but has not yet joined. \fP" .in -1c .SS "Public Attributes" @@ -189,40 +193,40 @@ Definition at line 108 of file users.h. .PP .SS "userrec::userrec ()" .PP -Definition at line 28 of file users.cpp. +Definition at line 29 of file users.cpp. .PP References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, invites, connection::ip, connection::lastping, lines_in, modes, nick, connection::nping, oper, connection::port, recvq, connection::registered, reset_due, result, sendq, server, connection::signon, TIME, timeout, and ucrec::uc_modes. .PP .nf -29 { -30 // the PROPER way to do it, AVOID bzero at *ALL* costs -31 strcpy(nick,''); -32 strcpy(ip,'127.0.0.1'); -33 timeout = 0; -34 strcpy(ident,''); -35 strcpy(host,''); -36 strcpy(dhost,''); -37 strcpy(fullname,''); -38 strcpy(modes,''); -39 strcpy(server,''); -40 strcpy(awaymsg,''); -41 strcpy(oper,''); -42 reset_due = TIME; -43 lines_in = 0; -44 fd = lastping = signon = idle_lastmsg = nping = registered = 0; -45 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0; -46 haspassed = false; -47 dns_done = false; -48 recvq = ''; -49 sendq = ''; -50 strcpy(result,''); -51 for (int i = 0; i < MAXCHANS; i++) -52 { -53 this->chans[i].channel = NULL; -54 this->chans[i].uc_modes = 0; -55 } -56 invites.clear(); -57 } +30 { +31 // the PROPER way to do it, AVOID bzero at *ALL* costs +32 strcpy(nick,''); +33 strcpy(ip,'127.0.0.1'); +34 timeout = 0; +35 strcpy(ident,''); +36 strcpy(host,''); +37 strcpy(dhost,''); +38 strcpy(fullname,''); +39 strcpy(modes,''); +40 strcpy(server,''); +41 strcpy(awaymsg,''); +42 strcpy(oper,''); +43 reset_due = TIME; +44 lines_in = 0; +45 fd = lastping = signon = idle_lastmsg = nping = registered = 0; +46 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0; +47 haspassed = false; +48 dns_done = false; +49 recvq = ''; +50 sendq = ''; +51 strcpy(result,''); +52 for (int i = 0; i < MAXCHANS; i++) +53 { +54 this->chans[i].channel = NULL; +55 this->chans[i].uc_modes = 0; +56 } +57 invites.clear(); +58 } .fi .SS "virtual userrec::~\fBuserrec\fP ()\fC [inline, virtual]\fP" .PP @@ -235,305 +239,316 @@ Definition at line 222 of file users.h. .PP .SS "bool userrec::AddBuffer (std::string a)" .PP -This method adds data to the buffer of the user. The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted.Definition at line 169 of file users.cpp. +This method adds data to the buffer of the user. The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted.Definition at line 175 of file users.cpp. .PP References recvq, recvqmax, and SetWriteError(). .PP .nf -170 { -171 std::string b = ''; -172 for (int i = 0; i < a.length(); i++) -173 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7)) -174 b = b + a[i]; -175 std::stringstream stream(recvq); -176 stream << b; -177 recvq = stream.str(); -178 int i = 0; -179 // count the size of the first line in the buffer. -180 while (i < recvq.length()) -181 { -182 if (recvq[i++] == '\n') -183 break; -184 } -185 if (recvq.length() > this->recvqmax) -186 { -187 this->SetWriteError('RecvQ exceeded'); -188 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax); -189 } -190 // return false if we've had more than 600 characters WITHOUT -191 // a carriage return (this is BAD, drop the socket) -192 return (i < 600); -193 } +176 { +177 std::string b = ''; +178 for (int i = 0; i < a.length(); i++) +179 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7)) +180 b = b + a[i]; +181 std::stringstream stream(recvq); +182 stream << b; +183 recvq = stream.str(); +184 int i = 0; +185 // count the size of the first line in the buffer. +186 while (i < recvq.length()) +187 { +188 if (recvq[i++] == '\n') +189 break; +190 } +191 if (recvq.length() > this->recvqmax) +192 { +193 this->SetWriteError('RecvQ exceeded'); +194 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax); +195 } +196 // return false if we've had more than 600 characters WITHOUT +197 // a carriage return (this is BAD, drop the socket) +198 return (i < 600); +199 } .fi .SS "void userrec::AddWriteBuf (std::string data)" .PP -Adds to the user's write buffer. You may add any amount of text up to this users sendq value, if you exceed the sendq value, \fBSetWriteError()\fP will be called to set the users error string to 'SendQ exceeded', and further buffer adds will be dropped.Definition at line 225 of file users.cpp. +Adds to the user's write buffer. You may add any amount of text up to this users sendq value, if you exceed the sendq value, \fBSetWriteError()\fP will be called to set the users error string to 'SendQ exceeded', and further buffer adds will be dropped.Definition at line 231 of file users.cpp. .PP References GetWriteError(), sendq, sendqmax, and SetWriteError(). .PP .nf -226 { -227 if (this->GetWriteError() != '') -228 return; -229 if (sendq.length() + data.length() > this->sendqmax) -230 { -231 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax); -232 this->SetWriteError('SendQ exceeded'); -233 return; -234 } -235 std::stringstream stream; -236 stream << sendq << data; -237 sendq = stream.str(); -238 } +232 { +233 if (this->GetWriteError() != '') +234 return; +235 if (sendq.length() + data.length() > this->sendqmax) +236 { +237 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax); +238 this->SetWriteError('SendQ exceeded'); +239 return; +240 } +241 std::stringstream stream; +242 stream << sendq << data; +243 sendq = stream.str(); +244 } .fi .SS "bool userrec::BufferIsReady ()" .PP -This method returns true if the buffer contains at least one carriage return character (e.g. one complete line may be read)Definition at line 195 of file users.cpp. +This method returns true if the buffer contains at least one carriage return character (e.g. one complete line may be read)Definition at line 201 of file users.cpp. .PP References recvq. .PP .nf -196 { -197 for (int i = 0; i < recvq.length(); i++) -198 if (recvq[i] == '\n') -199 return true; -200 return false; -201 } +202 { +203 for (int i = 0; i < recvq.length(); i++) +204 if (recvq[i] == '\n') +205 return true; +206 return false; +207 } .fi .SS "void userrec::ClearBuffer ()" .PP -This function clears the entire buffer by setting it to an empty string. Definition at line 203 of file users.cpp. +This function clears the entire buffer by setting it to an empty string. Definition at line 209 of file users.cpp. .PP References recvq. .PP Referenced by Server::PseudoToUser(), and Server::UserToPseudo(). .PP .nf -204 { -205 recvq = ''; -206 } +210 { +211 recvq = ''; +212 } .fi .SS "void userrec::FlushWriteBuf ()" .PP -Flushes as much of the user's buffer to the file descriptor as possible. This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.Definition at line 241 of file users.cpp. +Flushes as much of the user's buffer to the file descriptor as possible. This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.Definition at line 247 of file users.cpp. .PP References connection::bytes_out, connection::cmds_out, sendq, and SetWriteError(). .PP .nf -242 { -243 if (sendq.length()) -244 { -245 char* tb = (char*)this->sendq.c_str(); -246 int n_sent = write(this->fd,tb,this->sendq.length()); -247 if (n_sent == -1) -248 { -249 this->SetWriteError(strerror(errno)); -250 } -251 else -252 { -253 // advance the queue -254 tb += n_sent; -255 this->sendq = tb; -256 // update the user's stats counters -257 this->bytes_out += n_sent; -258 this->cmds_out++; -259 } -260 } -261 } +248 { +249 if (sendq.length()) +250 { +251 char* tb = (char*)this->sendq.c_str(); +252 int n_sent = write(this->fd,tb,this->sendq.length()); +253 if (n_sent == -1) +254 { +255 this->SetWriteError(strerror(errno)); +256 } +257 else +258 { +259 // advance the queue +260 tb += n_sent; +261 this->sendq = tb; +262 // update the user's stats counters +263 this->bytes_out += n_sent; +264 this->cmds_out++; +265 } +266 } +267 } .fi .SS "std::string userrec::GetBuffer ()" .PP -This method returns the first available string at the tail end of the buffer and advances the tail end of the buffer past the string. This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use \fBBufferIsReady()\fP to check if it is ok to read the buffer before calling \fBGetBuffer()\fP.Definition at line 208 of file users.cpp. +This method returns the first available string at the tail end of the buffer and advances the tail end of the buffer past the string. This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use \fBBufferIsReady()\fP to check if it is ok to read the buffer before calling \fBGetBuffer()\fP.Definition at line 214 of file users.cpp. .PP References recvq. .PP .nf -209 { -210 if (recvq == '') -211 return ''; -212 char* line = (char*)recvq.c_str(); -213 std::string ret = ''; -214 while ((*line != '\n') && (strlen(line))) -215 { -216 ret = ret + *line; -217 line++; -218 } -219 if ((*line == '\n') || (*line == '\r')) -220 line++; -221 recvq = line; -222 return ret; -223 } +215 { +216 if (recvq == '') +217 return ''; +218 char* line = (char*)recvq.c_str(); +219 std::string ret = ''; +220 while ((*line != '\n') && (strlen(line))) +221 { +222 ret = ret + *line; +223 line++; +224 } +225 if ((*line == '\n') || (*line == '\r')) +226 line++; +227 recvq = line; +228 return ret; +229 } .fi .SS "char * userrec::GetFullHost ()\fC [virtual]\fP" .PP -Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. Definition at line 61 of file users.cpp. +Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. Definition at line 62 of file users.cpp. .PP References dhost, ident, nick, and result. .PP .nf -62 { -63 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost); -64 return result; -65 } +63 { +64 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost); +65 return result; +66 } .fi .SS "char * userrec::GetFullRealHost ()\fC [virtual]\fP" .PP -Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.Definition at line 68 of file users.cpp. +Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.Definition at line 69 of file users.cpp. .PP References connection::host, ident, nick, and result. .PP .nf -69 { -70 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,host); -71 return result; -72 } +70 { +71 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,host); +72 return result; +73 } +.fi +.SS "\fBInvitedList\fP * userrec::GetInviteList ()" +.PP +Returns the list of channels this user has been invited to but has not yet joined. Definition at line 89 of file users.cpp. +.PP +References InvitedList, and invites. +.PP +.nf +90 { +91 return &invites; +92 } .fi .SS "std::string userrec::GetWriteError ()" .PP -Returns the write error which last occured on this connection or an empty string if none occured. Definition at line 271 of file users.cpp. +Returns the write error which last occured on this connection or an empty string if none occured. Definition at line 277 of file users.cpp. .PP References WriteError. .PP Referenced by AddWriteBuf(). .PP .nf -272 { -273 return this->WriteError; -274 } +278 { +279 return this->WriteError; +280 } .fi .SS "bool userrec::HasPermission (char * command)" .PP -Returns true or false for if a user can execute a privilaged oper command. This is done by looking up their oper type from \fBuserrec::oper\fP, then referencing this to their oper classes and checking the commands they can execute.Definition at line 117 of file users.cpp. +Returns true or false for if a user can execute a privilaged oper command. This is done by looking up their oper type from \fBuserrec::oper\fP, then referencing this to their oper classes and checking the commands they can execute.Definition at line 123 of file users.cpp. .PP References config_f, and DEBUG. .PP .nf -118 { -119 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -120 char* mycmd; -121 char* savept; -122 char* savept2; -123 -124 // are they even an oper at all? -125 if (strchr(this->modes,'o')) -126 { -127 log(DEBUG,'*** HasPermission: %s is an oper',this->nick); -128 for (int j =0; j < ConfValueEnum('type',&config_f); j++) -129 { -130 ConfValue('type','name',j,TypeName,&config_f); -131 if (!strcmp(TypeName,this->oper)) -132 { -133 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper); -134 ConfValue('type','classes',j,Classes,&config_f); -135 char* myclass = strtok_r(Classes,' ',&savept); -136 while (myclass) -137 { -138 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass); -139 for (int k =0; k < ConfValueEnum('class',&config_f); k++) -140 { -141 ConfValue('class','name',k,ClassName,&config_f); -142 if (!strcmp(ClassName,myclass)) -143 { -144 ConfValue('class','commands',k,CommandList,&config_f); -145 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList); -146 -147 -148 mycmd = strtok_r(CommandList,' ',&savept2); -149 while (mycmd) -150 { -151 if (!strcasecmp(mycmd,command)) -152 { -153 log(DEBUG,'*** Command %s found, returning true',command); -154 return true; -155 } -156 mycmd = strtok_r(NULL,' ',&savept2); -157 } -158 } -159 } -160 myclass = strtok_r(NULL,' ',&savept); -161 } -162 } -163 } -164 } -165 return false; -166 } +124 { +125 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +126 char* mycmd; +127 char* savept; +128 char* savept2; +129 +130 // are they even an oper at all? +131 if (strchr(this->modes,'o')) +132 { +133 log(DEBUG,'*** HasPermission: %s is an oper',this->nick); +134 for (int j =0; j < ConfValueEnum('type',&config_f); j++) +135 { +136 ConfValue('type','name',j,TypeName,&config_f); +137 if (!strcmp(TypeName,this->oper)) +138 { +139 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper); +140 ConfValue('type','classes',j,Classes,&config_f); +141 char* myclass = strtok_r(Classes,' ',&savept); +142 while (myclass) +143 { +144 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass); +145 for (int k =0; k < ConfValueEnum('class',&config_f); k++) +146 { +147 ConfValue('class','name',k,ClassName,&config_f); +148 if (!strcmp(ClassName,myclass)) +149 { +150 ConfValue('class','commands',k,CommandList,&config_f); +151 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList); +152 +153 +154 mycmd = strtok_r(CommandList,' ',&savept2); +155 while (mycmd) +156 { +157 if (!strcasecmp(mycmd,command)) +158 { +159 log(DEBUG,'*** Command %s found, returning true',command); +160 return true; +161 } +162 mycmd = strtok_r(NULL,' ',&savept2); +163 } +164 } +165 } +166 myclass = strtok_r(NULL,' ',&savept); +167 } +168 } +169 } +170 } +171 return false; +172 } .fi .SS "void userrec::InviteTo (char * channel)\fC [virtual]\fP" .PP -Adds a channel to a users invite list (invites them to a channel). Definition at line 88 of file users.cpp. +Adds a channel to a users invite list (invites them to a channel). Definition at line 94 of file users.cpp. .PP References Invited::channel, and invites. .PP .nf -89 { -90 Invited i; -91 strlcpy(i.channel,channel,CHANMAX); -92 invites.push_back(i); -93 } +95 { +96 Invited i; +97 strlcpy(i.channel,channel,CHANMAX); +98 invites.push_back(i); +99 } .fi .SS "bool userrec::IsInvited (char * channel)\fC [virtual]\fP" .PP -Returns true if a user is invited to a channel. Definition at line 74 of file users.cpp. +Returns true if a user is invited to a channel. Definition at line 75 of file users.cpp. .PP References invites. .PP .nf -75 { -76 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -77 { -78 if (i->channel) { -79 if (!strcasecmp(i->channel,channel)) -80 { -81 return true; -82 } -83 } -84 } -85 return false; -86 } +76 { +77 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +78 { +79 if (i->channel) { +80 if (!strcasecmp(i->channel,channel)) +81 { +82 return true; +83 } +84 } +85 } +86 return false; +87 } .fi .SS "void userrec::RemoveInvite (char * channel)\fC [virtual]\fP" .PP -Removes a channel from a users invite list. This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.Definition at line 95 of file users.cpp. +Removes a channel from a users invite list. This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.Definition at line 101 of file users.cpp. .PP References DEBUG, and invites. .PP .nf -96 { -97 log(DEBUG,'Removing invites'); -98 if (channel) -99 { -100 if (invites.size()) -101 { -102 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -103 { -104 if (i->channel) -105 { -106 if (!strcasecmp(i->channel,channel)) -107 { -108 invites.erase(i); -109 return; -110 } -111 } -112 } -113 } -114 } -115 } +102 { +103 log(DEBUG,'Removing invites'); +104 if (channel) +105 { +106 if (invites.size()) +107 { +108 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +109 { +110 if (i->channel) +111 { +112 if (!strcasecmp(i->channel,channel)) +113 { +114 invites.erase(i); +115 return; +116 } +117 } +118 } +119 } +120 } +121 } .fi .SS "void userrec::SetWriteError (std::string error)" .PP -Sets the write error for a connection. This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.Definition at line 263 of file users.cpp. +Sets the write error for a connection. This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.Definition at line 269 of file users.cpp. .PP References DEBUG, and WriteError. .PP Referenced by AddBuffer(), AddWriteBuf(), and FlushWriteBuf(). .PP .nf -264 { -265 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str()); -266 // don't try to set the error twice, its already set take the first string. -267 if (this->WriteError == '') -268 this->WriteError = error; -269 } +270 { +271 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str()); +272 // don't try to set the error twice, its already set take the first string. +273 if (this->WriteError == '') +274 this->WriteError = error; +275 } .fi .SH "Member Data Documentation" .PP @@ -576,7 +591,7 @@ Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec( .PP A list of channels the user has a pending invite to. Definition at line 114 of file users.h. .PP -Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec(). +Referenced by GetInviteList(), InviteTo(), IsInvited(), RemoveInvite(), and userrec(). .SS "int \fBuserrec::lines_in\fP" .PP Flood counters. Definition at line 204 of file users.h. diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3 index 72cf2e6fb..e8d74655d 100644 --- a/docs/man/man3/users.cpp.3 +++ b/docs/man/man3/users.cpp.3 @@ -1,4 +1,4 @@ -.TH "users.cpp" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "users.cpp" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -18,6 +18,8 @@ users.cpp \- .br \fC#include 'inspstring.h'\fP .br +\fC#include 'helperfuncs.h'\fP +.br .SS "Variables" @@ -33,10 +35,10 @@ users.cpp \- .PP .SS "std::stringstream \fBconfig_f\fP" .PP -Definition at line 24 of file users.cpp. +Definition at line 25 of file users.cpp. .SS "time_t \fBTIME\fP" .PP -Definition at line 26 of file users.cpp. +Definition at line 27 of file users.cpp. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3 index ea393b917..234320343 100644 --- a/docs/man/man3/users.h.3 +++ b/docs/man/man3/users.h.3 @@ -1,4 +1,4 @@ -.TH "users.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "users.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -99,6 +99,8 @@ Holds a complete list of all allow and deny tags from the configuration file (co .SS "typedef std::vector<\fBInvited\fP> \fBInvitedList\fP" .PP Holds a complete list of all channels to which a user has been invited and has not yet joined. Definition at line 94 of file users.h. +.PP +Referenced by userrec::GetInviteList(). .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/xline.h.3 b/docs/man/man3/xline.h.3 index 49c111470..65e55d871 100644 --- a/docs/man/man3/xline.h.3 +++ b/docs/man/man3/xline.h.3 @@ -1,4 +1,4 @@ -.TH "xline.h" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- +.TH "xline.h" 3 "15 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index ebb8d5dd2..c72a198b1 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -4,11 +4,12 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindexHL" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindexHL" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table> <tr><td class="indexkey"><a class="el" href="classAdmin.html">Admin</a></td><td class="indexvalue">Holds /ADMIN data This class contains the admin details of the local server </td></tr> <tr><td class="indexkey"><a class="el" href="classBanItem.html">BanItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel bans (+b) </td></tr> <tr><td class="indexkey"><a class="el" href="classchanrec.html">chanrec</a></td><td class="indexvalue">Holds all relevent information for a channel </td></tr> + <tr><td class="indexkey"><a class="el" href="classstd_1_1char__traits.html">char_traits</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classclassbase.html">classbase</a></td><td class="indexvalue">The base class for all inspircd classes </td></tr> <tr><td class="indexkey"><a class="el" href="classcommand__t.html">command_t</a></td><td class="indexvalue">A structure that defines a command </td></tr> <tr><td class="indexkey"><a class="el" href="classConfigReader.html">ConfigReader</a></td><td class="indexvalue">Allows reading of values from configuration files This class allows a module to read from either the main configuration file (inspircd.conf) or from a module-specified configuration file </td></tr> @@ -24,9 +25,10 @@ <tr><td class="indexkey"><a class="el" href="classFileReader.html">FileReader</a></td><td class="indexvalue">Caches a text file into memory and can be used to retrieve lines from it </td></tr> <tr><td class="indexkey"><a class="el" href="classGLine.html">GLine</a></td><td class="indexvalue">GLine class </td></tr> <tr><td class="indexkey"><a class="el" href="classHostItem.html">HostItem</a></td><td class="indexvalue">Holds an entry for a ban list, exemption list, or invite list </td></tr> - <tr><td class="indexkey"><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td class="indexvalue">This class returns true if two in_addr structs match </td></tr> <tr><td class="indexkey"><a class="el" href="classInvited.html">Invited</a></td><td class="indexvalue">Holds a channel name to which a user has been invited </td></tr> <tr><td class="indexkey"><a class="el" href="classInviteItem.html">InviteItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel invites (+I) </td></tr> + <tr><td class="indexkey"><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td class="indexvalue">The <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> class is used for RFC-style comparison of strings </td></tr> <tr><td class="indexkey"><a class="el" href="classircd__connector.html">ircd_connector</a></td><td class="indexvalue">Each connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds </td></tr> <tr><td class="indexkey"><a class="el" href="classKLine.html">KLine</a></td><td class="indexvalue">KLine class </td></tr> <tr><td class="indexkey"><a class="el" href="classModeParameter.html">ModeParameter</a></td><td class="indexvalue">Holds a custom parameter to a module-defined channel mode e.g </td></tr> @@ -39,7 +41,7 @@ <tr><td class="indexkey"><a class="el" href="classRequest.html">Request</a></td><td class="indexvalue">Unicast message directed at a given module </td></tr> <tr><td class="indexkey"><a class="el" href="classServer.html">Server</a></td><td class="indexvalue">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 </td></tr> <tr><td class="indexkey"><a class="el" href="classserverrec.html">serverrec</a></td><td class="indexvalue">A class that defines the local server or a remote server </td></tr> - <tr><td class="indexkey"><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td class="indexvalue">This class returns true if two strings match </td></tr> <tr><td class="indexkey"><a class="el" href="classucrec.html">ucrec</a></td><td class="indexvalue">Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class </td></tr> <tr><td class="indexkey"><a class="el" href="classuserrec.html">userrec</a></td><td class="indexvalue">Holds all information about a user This class stores all information about a user connected to the irc server </td></tr> <tr><td class="indexkey"><a class="el" href="classVersion.html">Version</a></td><td class="indexvalue">Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module </td></tr> @@ -47,7 +49,7 @@ <tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr> <tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index bd2bbd269..eb978937b 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>base.h</h1><a href="base_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -55,7 +55,7 @@ 00079 00080 <span class="preprocessor">#endif</span> 00081 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index eadd92c54..cf65200b7 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>base.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include <time.h></code><br> <code>#include <map></code><br> @@ -61,7 +61,7 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="base_8h-source.html#l00025">25</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:43 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:09 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 19e1b9b67..c9117360a 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>channels.cpp</h1><a href="channels_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -26,216 +26,211 @@ 00019 <span class="preprocessor">#include "inspircd_util.h"</span> 00020 <span class="preprocessor">#include "inspircd_config.h"</span> 00021 <span class="preprocessor">#include <unistd.h></span> -00022 <span class="preprocessor">#include <fcntl.h></span> -00023 <span class="preprocessor">#include <sys/errno.h></span> -00024 <span class="preprocessor">#include <sys/ioctl.h></span> -00025 <span class="preprocessor">#include <sys/utsname.h></span> -00026 <span class="preprocessor">#include <cstdio></span> -00027 <span class="preprocessor">#include <time.h></span> -00028 <span class="preprocessor">#include <string></span> -00029 <span class="preprocessor">#ifdef GCC3</span> -00030 <span class="preprocessor"></span><span class="preprocessor">#include <ext/hash_map></span> -00031 <span class="preprocessor">#else</span> -00032 <span class="preprocessor"></span><span class="preprocessor">#include <hash_map></span> -00033 <span class="preprocessor">#endif</span> -00034 <span class="preprocessor"></span><span class="preprocessor">#include <map></span> -00035 <span class="preprocessor">#include <sstream></span> -00036 <span class="preprocessor">#include <vector></span> -00037 <span class="preprocessor">#include <errno.h></span> -00038 <span class="preprocessor">#include <deque></span> -00039 <span class="preprocessor">#include <errno.h></span> -00040 <span class="preprocessor">#include <unistd.h></span> -00041 <span class="preprocessor">#include <sched.h></span> -00042 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> -00043 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> -00044 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> -00045 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -00046 <span class="preprocessor">#include "globals.h"</span> -00047 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> -00048 <span class="preprocessor">#include "dynamic.h"</span> -00049 <span class="preprocessor">#include "wildcard.h"</span> -00050 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> -00051 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> -00052 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> -00053 <span class="preprocessor">#include "inspstring.h"</span> -00054 -00055 <span class="preprocessor">#ifdef GCC3</span> -00056 <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> -00057 <span class="preprocessor"></span><span class="preprocessor">#else</span> -<a name="l00058"></a><a class="code" href="channels_8cpp.html#a0">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> -00059 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -00060 <span class="preprocessor"></span> -00061 <span class="keyword">using</span> <span class="keyword">namespace </span>std; -00062 -00063 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; -<a name="l00064"></a><a class="code" href="channels_8cpp.html#a2">00064</a> <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#a2">modules</a>; -<a name="l00065"></a><a class="code" href="channels_8cpp.html#a3">00065</a> <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#a3">factory</a>; -00066 -<a name="l00067"></a><a class="code" href="channels_8cpp.html#a4">00067</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; -<a name="l00068"></a><a class="code" href="channels_8cpp.html#a5">00068</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; -<a name="l00069"></a><a class="code" href="channels_8cpp.html#a6">00069</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; -<a name="l00070"></a><a class="code" href="channels_8cpp.html#a7">00070</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; -<a name="l00071"></a><a class="code" href="channels_8cpp.html#a8">00071</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; -<a name="l00072"></a><a class="code" href="channels_8cpp.html#a9">00072</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; -<a name="l00073"></a><a class="code" href="channels_8cpp.html#a10">00073</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; -<a name="l00074"></a><a class="code" href="channels_8cpp.html#a11">00074</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; -<a name="l00075"></a><a class="code" href="channels_8cpp.html#a12">00075</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; -<a name="l00076"></a><a class="code" href="channels_8cpp.html#a13">00076</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; -<a name="l00077"></a><a class="code" href="channels_8cpp.html#a14">00077</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; -<a name="l00078"></a><a class="code" href="channels_8cpp.html#a15">00078</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; -<a name="l00079"></a><a class="code" href="channels_8cpp.html#a16">00079</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; -<a name="l00080"></a><a class="code" href="channels_8cpp.html#a17">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; -00081 -<a name="l00082"></a><a class="code" href="channels_8cpp.html#a18">00082</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; -<a name="l00083"></a><a class="code" href="channels_8cpp.html#a19">00083</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; -<a name="l00084"></a><a class="code" href="channels_8cpp.html#a20">00084</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; -<a name="l00085"></a><a class="code" href="channels_8cpp.html#a21">00085</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; -<a name="l00086"></a><a class="code" href="channels_8cpp.html#a22">00086</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; -<a name="l00087"></a><a class="code" href="channels_8cpp.html#a23">00087</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; -<a name="l00088"></a><a class="code" href="channels_8cpp.html#a24">00088</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; -<a name="l00089"></a><a class="code" href="channels_8cpp.html#a25">00089</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; -00090 -<a name="l00091"></a><a class="code" href="channels_8cpp.html#a26">00091</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; -<a name="l00092"></a><a class="code" href="channels_8cpp.html#a27">00092</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; -00093 -<a name="l00094"></a><a class="code" href="channels_8cpp.html#a28">00094</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; -<a name="l00095"></a><a class="code" href="channels_8cpp.html#a29">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; -<a name="l00096"></a><a class="code" href="channels_8cpp.html#a30">00096</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">SERVERportCount</a>; -<a name="l00097"></a><a class="code" href="channels_8cpp.html#a31">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; -<a name="l00098"></a><a class="code" href="channels_8cpp.html#a32">00098</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; +00022 <span class="preprocessor">#include <sys/errno.h></span> +00023 <span class="preprocessor">#include <sys/ioctl.h></span> +00024 <span class="preprocessor">#include <sys/utsname.h></span> +00025 <span class="preprocessor">#include <time.h></span> +00026 <span class="preprocessor">#include <string></span> +00027 <span class="preprocessor">#ifdef GCC3</span> +00028 <span class="preprocessor"></span><span class="preprocessor">#include <ext/hash_map></span> +00029 <span class="preprocessor">#else</span> +00030 <span class="preprocessor"></span><span class="preprocessor">#include <hash_map></span> +00031 <span class="preprocessor">#endif</span> +00032 <span class="preprocessor"></span><span class="preprocessor">#include <map></span> +00033 <span class="preprocessor">#include <sstream></span> +00034 <span class="preprocessor">#include <vector></span> +00035 <span class="preprocessor">#include <deque></span> +00036 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> +00037 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00038 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> +00039 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> +00040 <span class="preprocessor">#include "globals.h"</span> +00041 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> +00042 <span class="preprocessor">#include "dynamic.h"</span> +00043 <span class="preprocessor">#include "wildcard.h"</span> +00044 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> +00045 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> +00046 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> +00047 <span class="preprocessor">#include "inspstring.h"</span> +00048 <span class="preprocessor">#include "helperfuncs.h"</span> +00049 +00050 <span class="preprocessor">#ifdef GCC3</span> +00051 <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> +00052 <span class="preprocessor"></span><span class="preprocessor">#else</span> +<a name="l00053"></a><a class="code" href="channels_8cpp.html#a0">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> +00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +00055 <span class="preprocessor"></span> +00056 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +00057 +00058 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; +<a name="l00059"></a><a class="code" href="channels_8cpp.html#a2">00059</a> <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#a2">modules</a>; +<a name="l00060"></a><a class="code" href="channels_8cpp.html#a3">00060</a> <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#a3">factory</a>; +00061 +<a name="l00062"></a><a class="code" href="channels_8cpp.html#a4">00062</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; +<a name="l00063"></a><a class="code" href="channels_8cpp.html#a5">00063</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; +<a name="l00064"></a><a class="code" href="channels_8cpp.html#a6">00064</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; +<a name="l00065"></a><a class="code" href="channels_8cpp.html#a7">00065</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; +<a name="l00066"></a><a class="code" href="channels_8cpp.html#a8">00066</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; +<a name="l00067"></a><a class="code" href="channels_8cpp.html#a9">00067</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; +<a name="l00068"></a><a class="code" href="channels_8cpp.html#a10">00068</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; +<a name="l00069"></a><a class="code" href="channels_8cpp.html#a11">00069</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; +<a name="l00070"></a><a class="code" href="channels_8cpp.html#a12">00070</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; +<a name="l00071"></a><a class="code" href="channels_8cpp.html#a13">00071</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; +<a name="l00072"></a><a class="code" href="channels_8cpp.html#a14">00072</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; +<a name="l00073"></a><a class="code" href="channels_8cpp.html#a15">00073</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; +<a name="l00074"></a><a class="code" href="channels_8cpp.html#a16">00074</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; +<a name="l00075"></a><a class="code" href="channels_8cpp.html#a17">00075</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; +00076 +<a name="l00077"></a><a class="code" href="channels_8cpp.html#a18">00077</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; +<a name="l00078"></a><a class="code" href="channels_8cpp.html#a19">00078</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; +<a name="l00079"></a><a class="code" href="channels_8cpp.html#a20">00079</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; +<a name="l00080"></a><a class="code" href="channels_8cpp.html#a21">00080</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; +<a name="l00081"></a><a class="code" href="channels_8cpp.html#a22">00081</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; +<a name="l00082"></a><a class="code" href="channels_8cpp.html#a23">00082</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; +<a name="l00083"></a><a class="code" href="channels_8cpp.html#a24">00083</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; +<a name="l00084"></a><a class="code" href="channels_8cpp.html#a25">00084</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; +00085 +<a name="l00086"></a><a class="code" href="channels_8cpp.html#a26">00086</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; +<a name="l00087"></a><a class="code" href="channels_8cpp.html#a27">00087</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; +00088 +<a name="l00089"></a><a class="code" href="channels_8cpp.html#a28">00089</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; +<a name="l00090"></a><a class="code" href="channels_8cpp.html#a29">00090</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; +<a name="l00091"></a><a class="code" href="channels_8cpp.html#a30">00091</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">SERVERportCount</a>; +<a name="l00092"></a><a class="code" href="channels_8cpp.html#a31">00092</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; +<a name="l00093"></a><a class="code" href="channels_8cpp.html#a32">00093</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; +00094 +<a name="l00095"></a><a class="code" href="channels_8cpp.html#a33">00095</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; +<a name="l00096"></a><a class="code" href="channels_8cpp.html#a34">00096</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; +00097 +<a name="l00098"></a><a class="code" href="channels_8cpp.html#a35">00098</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; 00099 -<a name="l00100"></a><a class="code" href="channels_8cpp.html#a33">00100</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; -<a name="l00101"></a><a class="code" href="channels_8cpp.html#a34">00101</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; -00102 -<a name="l00103"></a><a class="code" href="channels_8cpp.html#a35">00103</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; -00104 -<a name="l00105"></a><a class="code" href="channels_8cpp.html#a36">00105</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; -00106 -<a name="l00107"></a><a class="code" href="channels_8cpp.html#a37">00107</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00108 -00109 <span class="keyword">using</span> <span class="keyword">namespace </span>std; -00110 -<a name="l00111"></a><a class="code" href="channels_8cpp.html#a38">00111</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>; -00112 -<a name="l00113"></a><a class="code" href="classchanrec.html#a8">00113</a> <a class="code" href="classchanrec.html#a8">chanrec::chanrec</a>() -00114 { -00115 strcpy(<a class="code" href="classchanrec.html#o0">name</a>,<span class="stringliteral">""</span>); -00116 strcpy(<a class="code" href="classchanrec.html#o1">custom_modes</a>,<span class="stringliteral">""</span>); -00117 strcpy(<a class="code" href="classchanrec.html#o3">topic</a>,<span class="stringliteral">""</span>); -00118 strcpy(<a class="code" href="classchanrec.html#o6">setby</a>,<span class="stringliteral">""</span>); -00119 strcpy(<a class="code" href="classchanrec.html#o8">key</a>,<span class="stringliteral">""</span>); -00120 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; -00121 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; -00122 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); -00123 } -00124 -<a name="l00125"></a><a class="code" href="classchanrec.html#a0">00125</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) -00126 { -00127 <span class="keywordflow">if</span> (mode_on) { -00128 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; -00129 m[0] = mode; -00130 m[1] = <span class="charliteral">'\0'</span>; -00131 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -00132 { -00133 strlcat(<a class="code" href="classchanrec.html#o1">custom_modes</a>,m,MAXMODES); -00134 } -00135 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); -00136 } -00137 <span class="keywordflow">else</span> { +<a name="l00100"></a><a class="code" href="channels_8cpp.html#a36">00100</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; +00101 +<a name="l00102"></a><a class="code" href="channels_8cpp.html#a37">00102</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00103 +00104 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +00105 +<a name="l00106"></a><a class="code" href="channels_8cpp.html#a38">00106</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>; +00107 +<a name="l00108"></a><a class="code" href="classchanrec.html#a8">00108</a> <a class="code" href="classchanrec.html#a8">chanrec::chanrec</a>() +00109 { +00110 strcpy(<a class="code" href="classchanrec.html#o0">name</a>,<span class="stringliteral">""</span>); +00111 strcpy(<a class="code" href="classchanrec.html#o1">custom_modes</a>,<span class="stringliteral">""</span>); +00112 strcpy(<a class="code" href="classchanrec.html#o3">topic</a>,<span class="stringliteral">""</span>); +00113 strcpy(<a class="code" href="classchanrec.html#o6">setby</a>,<span class="stringliteral">""</span>); +00114 strcpy(<a class="code" href="classchanrec.html#o8">key</a>,<span class="stringliteral">""</span>); +00115 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; +00116 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; +00117 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); +00118 } +00119 +<a name="l00120"></a><a class="code" href="classchanrec.html#a0">00120</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) +00121 { +00122 <span class="keywordflow">if</span> (mode_on) { +00123 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; +00124 m[0] = mode; +00125 m[1] = <span class="charliteral">'\0'</span>; +00126 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +00127 { +00128 strlcat(<a class="code" href="classchanrec.html#o1">custom_modes</a>,m,MAXMODES); +00129 } +00130 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); +00131 } +00132 <span class="keywordflow">else</span> { +00133 +00134 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; +00135 <span class="keywordtype">int</span> pos = a.find(mode); +00136 a.erase(pos,1); +00137 strncpy(this->custom_modes,a.c_str(),MAXMODES); 00138 -00139 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; -00140 <span class="keywordtype">int</span> pos = a.find(mode); -00141 a.erase(pos,1); -00142 strncpy(this->custom_modes,a.c_str(),MAXMODES); +00139 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +00140 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +00141 } +00142 } 00143 -00144 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -00145 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -00146 } -00147 } -00148 -00149 -<a name="l00150"></a><a class="code" href="classchanrec.html#a1">00150</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) -00151 { -00152 -00153 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); -00154 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -00155 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; -00156 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); -00157 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); -00158 <span class="keywordflow">if</span> (mode_on) +00144 +<a name="l00145"></a><a class="code" href="classchanrec.html#a1">00145</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) +00146 { +00147 +00148 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); +00149 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +00150 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; +00151 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); +00152 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); +00153 <span class="keywordflow">if</span> (mode_on) +00154 { +00155 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +00156 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); +00157 } +00158 <span class="keywordflow">else</span> 00159 { -00160 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -00161 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); -00162 } -00163 <span class="keywordflow">else</span> -00164 { -00165 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) -00166 { -00167 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) -00168 { -00169 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00170 { -00171 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -00172 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); -00173 <span class="keywordflow">return</span>; -00174 } -00175 } -00176 } -00177 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -00178 } -00179 } -00180 -<a name="l00181"></a><a class="code" href="classchanrec.html#a2">00181</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) -00182 { -00183 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); -00184 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); -00185 } -00186 -<a name="l00187"></a><a class="code" href="classchanrec.html#a3">00187</a> std::string <a class="code" href="classchanrec.html#a3">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) -00188 { -00189 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) -00190 { -00191 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) -00192 { -00193 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00194 { -00195 <span class="keywordflow">return</span> i->parameter; -00196 } -00197 } -00198 } -00199 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00160 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00161 { +00162 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00163 { +00164 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00165 { +00166 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +00167 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); +00168 <span class="keywordflow">return</span>; +00169 } +00170 } +00171 } +00172 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +00173 } +00174 } +00175 +<a name="l00176"></a><a class="code" href="classchanrec.html#a2">00176</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#a2">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) +00177 { +00178 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); +00179 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); +00180 } +00181 +<a name="l00182"></a><a class="code" href="classchanrec.html#a3">00182</a> std::string <a class="code" href="classchanrec.html#a3">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) +00183 { +00184 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00185 { +00186 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00187 { +00188 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00189 { +00190 <span class="keywordflow">return</span> i->parameter; +00191 } +00192 } +00193 } +00194 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00195 } +00196 +<a name="l00197"></a><a class="code" href="classchanrec.html#a4">00197</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a4">chanrec::GetUserCounter</a>() +00198 { +00199 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); 00200 } 00201 -<a name="l00202"></a><a class="code" href="classchanrec.html#a4">00202</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#a4">chanrec::GetUserCounter</a>() +<a name="l00202"></a><a class="code" href="classchanrec.html#a5">00202</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) 00203 { -00204 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); -00205 } -00206 -<a name="l00207"></a><a class="code" href="classchanrec.html#a5">00207</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a5">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) -00208 { -00209 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); -00210 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -00211 } -00212 -<a name="l00213"></a><a class="code" href="classchanrec.html#a6">00213</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a6">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) -00214 { -00215 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) -00216 { -00217 <span class="keywordflow">if</span> (*a == castuser) -00218 { -00219 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -00220 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); -00221 <span class="keywordflow">return</span>; -00222 } -00223 } -00224 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,<a class="code" href="classchanrec.html#o0">name</a>); +00204 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); +00205 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +00206 } +00207 +<a name="l00208"></a><a class="code" href="classchanrec.html#a6">00208</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a6">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) +00209 { +00210 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) +00211 { +00212 <span class="keywordflow">if</span> (*a == castuser) +00213 { +00214 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +00215 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); +00216 <span class="keywordflow">return</span>; +00217 } +00218 } +00219 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,<a class="code" href="classchanrec.html#o0">name</a>); +00220 } +00221 +<a name="l00222"></a><a class="code" href="classchanrec.html#a7">00222</a> std::vector<char*> *<a class="code" href="classchanrec.html#a7">chanrec::GetUsers</a>() +00223 { +00224 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; 00225 } -00226 -<a name="l00227"></a><a class="code" href="classchanrec.html#a7">00227</a> std::vector<char*> *<a class="code" href="classchanrec.html#a7">chanrec::GetUsers</a>() -00228 { -00229 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; -00230 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 0a8560ac3..e653d96c0 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -4,26 +4,22 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>channels.cpp File Reference</h1><code>#include "inspircd.h"</code><br> <code>#include "inspircd_io.h"</code><br> <code>#include "inspircd_util.h"</code><br> <code>#include "inspircd_config.h"</code><br> <code>#include <unistd.h></code><br> -<code>#include <fcntl.h></code><br> <code>#include <sys/errno.h></code><br> <code>#include <sys/ioctl.h></code><br> <code>#include <sys/utsname.h></code><br> -<code>#include <cstdio></code><br> <code>#include <time.h></code><br> <code>#include <string></code><br> <code>#include <hash_map></code><br> <code>#include <map></code><br> <code>#include <sstream></code><br> <code>#include <vector></code><br> -<code>#include <errno.h></code><br> <code>#include <deque></code><br> -<code>#include <sched.h></code><br> <code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> <code>#include "<a class="el" href="servers_8h-source.html">servers.h</a>"</code><br> @@ -36,18 +32,19 @@ <code>#include "<a class="el" href="mode_8h-source.html">mode.h</a>"</code><br> <code>#include "<a class="el" href="xline_8h-source.html">xline.h</a>"</code><br> <code>#include "inspstring.h"</code><br> +<code>#include "helperfuncs.h"</code><br> <p> Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__incl.gif" border="0" usemap="#channels.cpp_map" alt="Include dependency graph"></center> <map name="channels.cpp_map"> -<area href="ctables_8h.html" shape="rect" coords="190,363,265,390" alt=""> -<area href="connection_8h.html" shape="rect" coords="178,1326,277,1353" alt=""> -<area href="users_8h.html" shape="rect" coords="335,1073,399,1099" alt=""> -<area href="servers_8h.html" shape="rect" coords="329,1377,406,1403" alt=""> -<area href="modules_8h.html" shape="rect" coords="326,287,409,314" alt=""> -<area href="message_8h.html" shape="rect" coords="470,997,555,1023" alt=""> -<area href="mode_8h.html" shape="rect" coords="479,718,546,745" alt=""> -<area href="xline_8h.html" shape="rect" coords="482,819,543,846" alt=""> +<area href="ctables_8h.html" shape="rect" coords="190,413,265,439" alt=""> +<area href="connection_8h.html" shape="rect" coords="178,666,277,693" alt=""> +<area href="users_8h.html" shape="rect" coords="335,894,399,921" alt=""> +<area href="servers_8h.html" shape="rect" coords="329,615,406,642" alt=""> +<area href="modules_8h.html" shape="rect" coords="326,1274,409,1301" alt=""> +<area href="message_8h.html" shape="rect" coords="470,919,555,946" alt=""> +<area href="mode_8h.html" shape="rect" coords="479,1603,546,1630" alt=""> +<area href="xline_8h.html" shape="rect" coords="482,1071,543,1098" alt=""> </map> <p> @@ -159,7 +156,7 @@ Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__in <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00058">58</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <hr><h2>Variable Documentation</h2> @@ -169,7 +166,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00058">58</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF] </table> </td> </tr> @@ -184,7 +181,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00058">58</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a8" doxytag="channels.cpp::AdminName"></a><p> @@ -193,7 +190,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">AdminName</a>[MAXBUF] </table> </td> </tr> @@ -208,7 +205,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00066">66</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a10" doxytag="channels.cpp::AdminNick"></a><p> @@ -217,7 +214,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminNick</a>[MAXBUF] </table> </td> </tr> @@ -232,7 +229,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a33" doxytag="channels.cpp::auth_cookies"></a><p> @@ -241,7 +238,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a34">auth_cookies</a> + <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a33">auth_cookies</a> </table> </td> </tr> @@ -256,7 +253,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00100">100</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a28" doxytag="channels.cpp::boundPortCount"></a><p> @@ -265,7 +262,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00100">100</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">boundPortCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">boundPortCount</a> </table> </td> </tr> @@ -280,7 +277,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00100">100</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00094">94</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a34" doxytag="channels.cpp::config_f"></a><p> @@ -304,9 +301,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00094">94</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00101">101</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00096">96</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00123">userrec::HasPermission()</a>. </td> </tr> </table> <a name="a38" doxytag="channels.cpp::custom_mode_params"></a><p> @@ -330,9 +327,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPer <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00111">111</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00106">106</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00187">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00182">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00145">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="a18" doxytag="channels.cpp::debugging"></a><p> @@ -341,7 +338,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00187">chanrec::Get <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a18">debugging</a> </table> </td> </tr> @@ -356,7 +353,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00187">chanrec::Get <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a32" doxytag="channels.cpp::defaultRoute"></a><p> @@ -365,7 +362,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a33">defaultRoute</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">defaultRoute</a> </table> </td> </tr> @@ -380,7 +377,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00098">98</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00093">93</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a21" doxytag="channels.cpp::DieDelay"></a><p> @@ -389,7 +386,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00098">98</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">DieDelay</a> </table> </td> </tr> @@ -404,7 +401,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00098">98</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00085">85</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00080">80</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a11" doxytag="channels.cpp::diepass"></a><p> @@ -413,7 +410,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00085">85</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">diepass</a>[MAXBUF] </table> </td> </tr> @@ -428,7 +425,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00085">85</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a17" doxytag="channels.cpp::DieValue"></a><p> @@ -437,7 +434,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">DieValue</a>[MAXBUF] </table> </td> </tr> @@ -452,7 +449,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00080">80</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00075">75</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a3" doxytag="channels.cpp::factory"></a><p> @@ -476,7 +473,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00080">80</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00060">60</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a26" doxytag="channels.cpp::fd_reap"></a><p> @@ -485,7 +482,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a27">fd_reap</a> + <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a26">fd_reap</a> </table> </td> </tr> @@ -500,7 +497,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a15" doxytag="channels.cpp::list"></a><p> @@ -509,7 +506,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">list</a>[MAXBUF] </table> </td> </tr> @@ -524,9 +521,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00391">Server::GetUsers()</a>. </td> </tr> </table> <a name="a36" doxytag="channels.cpp::log_file"></a><p> @@ -535,7 +532,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUs <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a37">log_file</a> + <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a> </table> </td> </tr> @@ -550,7 +547,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUs <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00105">105</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00100">100</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a4" doxytag="channels.cpp::LogLevel"></a><p> @@ -559,7 +556,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00105">105</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a4">LogLevel</a> </table> </td> </tr> @@ -574,7 +571,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00105">105</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00062">62</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a24" doxytag="channels.cpp::MaxWhoResults"></a><p> @@ -583,7 +580,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a> </table> </td> </tr> @@ -598,7 +595,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00088">88</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a35" doxytag="channels.cpp::me"></a><p> @@ -607,7 +604,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00088">88</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a36">me</a>[32] + <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a35">me</a>[32] </table> </td> </tr> @@ -622,7 +619,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00088">88</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00103">103</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00098">98</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a1" doxytag="channels.cpp::MODCOUNT"></a><p> @@ -631,7 +628,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00103">103</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a> = -1 + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1 </table> </td> </tr> @@ -646,9 +643,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00103">103</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01067">1067</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00996">996</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00787">Server::FindModule()</a>. </td> </tr> </table> <a name="a27" doxytag="channels.cpp::module_names"></a><p> @@ -657,7 +654,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindM <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a28">module_names</a> + <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a27">module_names</a> </table> </td> </tr> @@ -672,9 +669,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindM <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00092">92</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00787">Server::FindModule()</a>. </td> </tr> </table> <a name="a2" doxytag="channels.cpp::modules"></a><p> @@ -698,9 +695,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindM <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00059">59</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00787">Server::FindModule()</a>. </td> </tr> </table> <a name="a13" doxytag="channels.cpp::motd"></a><p> @@ -709,7 +706,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindM <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF] </table> </td> </tr> @@ -724,7 +721,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">Server::FindM <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00076">76</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a25" doxytag="channels.cpp::nb_start"></a><p> @@ -733,7 +730,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00076">76</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a25">nb_start</a> </table> </td> </tr> @@ -748,7 +745,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00076">76</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a23" doxytag="channels.cpp::NetBufferSize"></a><p> @@ -757,7 +754,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">NetBufferSize</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a23">NetBufferSize</a> </table> </td> </tr> @@ -772,7 +769,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a6" doxytag="channels.cpp::Network"></a><p> @@ -781,7 +778,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">Network</a>[MAXBUF] </table> </td> </tr> @@ -796,7 +793,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a29" doxytag="channels.cpp::portCount"></a><p> @@ -805,7 +802,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">portCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">portCount</a> </table> </td> </tr> @@ -820,7 +817,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00090">90</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a31" doxytag="channels.cpp::ports"></a><p> @@ -829,7 +826,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">ports</a>[MAXSOCKS] + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">ports</a>[MAXSOCKS] </table> </td> </tr> @@ -844,7 +841,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00092">92</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a16" doxytag="channels.cpp::PrefixQuit"></a><p> @@ -853,7 +850,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF] </table> </td> </tr> @@ -868,7 +865,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a12" doxytag="channels.cpp::restartpass"></a><p> @@ -877,7 +874,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF] </table> </td> </tr> @@ -892,7 +889,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00075">75</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a14" doxytag="channels.cpp::rules"></a><p> @@ -901,7 +898,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00075">75</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">rules</a>[MAXBUF] </table> </td> </tr> @@ -916,7 +913,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00075">75</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a7" doxytag="channels.cpp::ServerDesc"></a><p> @@ -925,7 +922,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF] </table> </td> </tr> @@ -940,7 +937,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a5" doxytag="channels.cpp::ServerName"></a><p> @@ -949,7 +946,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">ServerName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a5">ServerName</a>[MAXBUF] </table> </td> </tr> @@ -964,7 +961,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00063">63</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a30" doxytag="channels.cpp::SERVERportCount"></a><p> @@ -973,7 +970,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">SERVERportCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">SERVERportCount</a> </table> </td> </tr> @@ -988,7 +985,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00096">96</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a22" doxytag="channels.cpp::startup_time"></a><p> @@ -997,7 +994,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00096">96</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a22">startup_time</a> </table> </td> </tr> @@ -1012,7 +1009,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00096">96</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a37" doxytag="channels.cpp::TIME"></a><p> @@ -1036,9 +1033,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00107">107</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00102">102</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="a20" doxytag="channels.cpp::WHOWAS_MAX"></a><p> @@ -1047,7 +1044,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::se <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a> </table> </td> </tr> @@ -1062,7 +1059,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::se <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> <a name="a19" doxytag="channels.cpp::WHOWAS_STALE"></a><p> @@ -1071,7 +1068,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a> </table> </td> </tr> @@ -1086,10 +1083,10 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a> <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> +Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:17 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8cpp__incl.gif b/docs/module-doc/channels_8cpp__incl.gif Binary files differindex 8e12d08e2..73931eed5 100644 --- a/docs/module-doc/channels_8cpp__incl.gif +++ b/docs/module-doc/channels_8cpp__incl.gif diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 97845d1e3..2c736052b 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>channels.h</h1><a href="channels_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -146,7 +146,7 @@ 00238 00239 <span class="preprocessor">#endif</span> 00240 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 4250c94b5..58076771b 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>channels.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> <code>#include <time.h></code><br> @@ -433,7 +433,7 @@ Holds a complete invite list. Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:20 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 35e715bfb..fc99a14ef 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Admin Member List</h1>This is the complete list of members for <a class="el" href="classAdmin.html">Admin</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classAdmin.html#a0">Admin</a>(std::string name, std::string email, std::string nick)</td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classAdmin.html#o0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classAdmin.html#o2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:19 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:55 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index 54252f78a..588f9d9e5 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Admin Class Reference</h1>Holds /ADMIN data This class contains the admin details of the local server. <a href="#_details">More...</a> <p> @@ -82,9 +82,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00123">123</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00238">238</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00314 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { }; +<div class="fragment"><pre>00238 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { }; </pre></div> </td> </tr> </table> @@ -163,7 +163,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:19 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:55 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 80d27e7cd..caf6514f1 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>BanItem Member List</h1>This is the complete list of members for <a class="el" href="classBanItem.html">BanItem</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:20 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 852b7aa0b..79cbe2fbc 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>BanItem Class Reference</h1>A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel bans (+b). <a href="#_details">More...</a> <p> @@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00052">52</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:20 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 4d4508557..1e20db98d 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ConfigReader Member List</h1>This is the complete list of members for <a class="el" href="classConfigReader.html">ConfigReader</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classConfigReader.html#p0">cache</a></td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td><code> [protected]</code></td></tr> @@ -24,7 +24,7 @@ <tr class="memlist"><td><a class="el" href="classConfigReader.html#a8">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:26 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:09 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index cb2e2e0f5..166aab65b 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ConfigReader Class Reference</h1>Allows reading of values from configuration files This class allows a module to read from either the main configuration file (inspircd.conf) or from a module-specified configuration file. <a href="#_details">More...</a> <p> @@ -73,7 +73,7 @@ It may either be instantiated with one parameter or none. Constructing the class <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01147">1147</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l01150">1150</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ConfigReader::ConfigReader"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -103,17 +103,17 @@ Default constructor. <p> This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00870">870</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00799">799</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>. +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01141">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01163">error</a>, <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01162">readerror</a>. <p> -<div class="fragment"><pre>00871 { -00872 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00873 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00874 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00875 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00876 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00877 } +<div class="fragment"><pre>00800 { +00801 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00802 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00803 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00804 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00805 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00806 } </pre></div> </td> </tr> </table> @@ -147,17 +147,17 @@ Overloaded constructor. <p> This constructor initialises the ConfigReader class to read a user-specified config file <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00889">889</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00818">818</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>. +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01141">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01163">error</a>, <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01162">readerror</a>. <p> -<div class="fragment"><pre>00890 { -00891 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00892 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00893 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); -00894 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00895 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00896 }; +<div class="fragment"><pre>00819 { +00820 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00821 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00822 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); +00823 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00824 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00825 }; </pre></div> </td> </tr> </table> @@ -190,16 +190,16 @@ Default destructor. <p> This method destroys the ConfigReader class. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00880">880</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00809">809</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, and <a class="el" href="modules_8h-source.html#l01156">errorlog</a>. +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, and <a class="el" href="modules_8h-source.html#l01159">errorlog</a>. <p> -<div class="fragment"><pre>00881 { -00882 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00883 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00884 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00885 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00886 } +<div class="fragment"><pre>00810 { +00811 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00812 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00813 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00814 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00815 } </pre></div> </td> </tr> </table> @@ -243,40 +243,40 @@ Dumps the list of errors in a config file to an output location. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00967">967</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>. -<p> -<div class="fragment"><pre>00968 { -00969 <span class="keywordflow">if</span> (bail) -00970 { -00971 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); -00972 exit(0); -00973 } -00974 <span class="keywordflow">else</span> -00975 { -00976 <span class="keywordtype">char</span> dataline[1024]; -00977 <span class="keywordflow">if</span> (user) -00978 { -00979 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00980 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00981 { -00982 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00983 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); -00984 } -00985 } -00986 <span class="keywordflow">else</span> -00987 { -00988 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00989 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00990 { -00991 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00992 WriteOpers(dataline); -00993 } -00994 } -00995 <span class="keywordflow">return</span>; -00996 } -00997 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00896">896</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>. +<p> +<div class="fragment"><pre>00897 { +00898 <span class="keywordflow">if</span> (bail) +00899 { +00900 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); +00901 exit(0); +00902 } +00903 <span class="keywordflow">else</span> +00904 { +00905 <span class="keywordtype">char</span> dataline[1024]; +00906 <span class="keywordflow">if</span> (user) +00907 { +00908 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00909 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00910 { +00911 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00912 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); +00913 } +00914 } +00915 <span class="keywordflow">else</span> +00916 { +00917 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00918 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00919 { +00920 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00921 WriteOpers(dataline); +00922 } +00923 } +00924 <span class="keywordflow">return</span>; +00925 } +00926 } </pre></div> </td> </tr> </table> @@ -310,13 +310,13 @@ Counts the number of times a given tag appears in the config file. <p> 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 <a class="el" href="classConfigReader.html#a3">ConfigReader::ReadValue</a> to loop through all copies of a multiple instance tag. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01000">1000</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00929">929</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>. +References <a class="el" href="modules_8h-source.html#l01158">cache</a>. <p> -<div class="fragment"><pre>01001 { -01002 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); -01003 } +<div class="fragment"><pre>00930 { +00931 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str()); +00932 } </pre></div> </td> </tr> </table> @@ -359,13 +359,13 @@ Returns the number of items within a tag. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01005">1005</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00934">934</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>. +References <a class="el" href="modules_8h-source.html#l01158">cache</a>. <p> -<div class="fragment"><pre>01006 { -01007 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); -01008 } +<div class="fragment"><pre>00935 { +00936 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index); +00937 } </pre></div> </td> </tr> </table> @@ -398,15 +398,15 @@ Returns the last error to occur. <p> Valid errors can be found by looking in <a class="el" href="modules_8h.html">modules.h</a>. Any nonzero value indicates an error condition. A call to <a class="el" href="classConfigReader.html#a6">GetError()</a> resets the error flag back to 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00960">960</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00889">889</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01160">error</a>. +References <a class="el" href="modules_8h-source.html#l01163">error</a>. <p> -<div class="fragment"><pre>00961 { -00962 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00963 this->error = 0; -00964 <span class="keywordflow">return</span> olderr; -00965 } +<div class="fragment"><pre>00890 { +00891 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00892 this->error = 0; +00893 <span class="keywordflow">return</span> olderr; +00894 } </pre></div> </td> </tr> </table> @@ -455,25 +455,25 @@ Retrieves a boolean value from the config file. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00914">914</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. -<p> -<div class="fragment"><pre>00915 { -00916 <span class="keywordtype">char</span> val[MAXBUF]; -00917 <span class="keywordtype">char</span> t[MAXBUF]; -00918 <span class="keywordtype">char</span> n[MAXBUF]; -00919 strlcpy(t,tag.c_str(),MAXBUF); -00920 strlcpy(n,name.c_str(),MAXBUF); -00921 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00922 <span class="keywordflow">if</span> (!res) -00923 { -00924 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00925 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00926 } -00927 std::string s = val; -00928 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); -00929 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00843">843</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>. +<p> +<div class="fragment"><pre>00844 { +00845 <span class="keywordtype">char</span> val[MAXBUF]; +00846 <span class="keywordtype">char</span> t[MAXBUF]; +00847 <span class="keywordtype">char</span> n[MAXBUF]; +00848 strlcpy(t,tag.c_str(),MAXBUF); +00849 strlcpy(n,name.c_str(),MAXBUF); +00850 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00851 <span class="keywordflow">if</span> (!res) +00852 { +00853 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00854 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00855 } +00856 std::string s = val; +00857 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00858 } </pre></div> </td> </tr> </table> @@ -528,37 +528,37 @@ Retrieves an integer value from the config file. <p> 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 <a class="el" href="classConfigReader.html#a6">GetError()</a> 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 <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00931">931</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01135">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01136">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. -<p> -<div class="fragment"><pre>00932 { -00933 <span class="keywordtype">char</span> val[MAXBUF]; -00934 <span class="keywordtype">char</span> t[MAXBUF]; -00935 <span class="keywordtype">char</span> n[MAXBUF]; -00936 strlcpy(t,tag.c_str(),MAXBUF); -00937 strlcpy(n,name.c_str(),MAXBUF); -00938 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00939 <span class="keywordflow">if</span> (!res) -00940 { -00941 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00942 <span class="keywordflow">return</span> 0; -00943 } -00944 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00945 { -00946 <span class="keywordflow">if</span> (!isdigit(val[i])) -00947 { -00948 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; -00949 <span class="keywordflow">return</span> 0; -00950 } -00951 } -00952 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00953 { -00954 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; -00955 <span class="keywordflow">return</span> 0; -00956 } -00957 <span class="keywordflow">return</span> atoi(val); -00958 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00860">860</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01139">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>. +<p> +<div class="fragment"><pre>00861 { +00862 <span class="keywordtype">char</span> val[MAXBUF]; +00863 <span class="keywordtype">char</span> t[MAXBUF]; +00864 <span class="keywordtype">char</span> n[MAXBUF]; +00865 strlcpy(t,tag.c_str(),MAXBUF); +00866 strlcpy(n,name.c_str(),MAXBUF); +00867 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00868 <span class="keywordflow">if</span> (!res) +00869 { +00870 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00871 <span class="keywordflow">return</span> 0; +00872 } +00873 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00874 { +00875 <span class="keywordflow">if</span> (!isdigit(val[i])) +00876 { +00877 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; +00878 <span class="keywordflow">return</span> 0; +00879 } +00880 } +00881 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00882 { +00883 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; +00884 <span class="keywordflow">return</span> 0; +00885 } +00886 <span class="keywordflow">return</span> atoi(val); +00887 } </pre></div> </td> </tr> </table> @@ -607,24 +607,24 @@ Retrieves a value from the config file. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00898">898</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>. -<p> -<div class="fragment"><pre>00899 { -00900 <span class="keywordtype">char</span> val[MAXBUF]; -00901 <span class="keywordtype">char</span> t[MAXBUF]; -00902 <span class="keywordtype">char</span> n[MAXBUF]; -00903 strlcpy(t,tag.c_str(),MAXBUF); -00904 strlcpy(n,name.c_str(),MAXBUF); -00905 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); -00906 <span class="keywordflow">if</span> (!res) -00907 { -00908 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00909 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00910 } -00911 <span class="keywordflow">return</span> val; -00912 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00827">827</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>. +<p> +<div class="fragment"><pre>00828 { +00829 <span class="keywordtype">char</span> val[MAXBUF]; +00830 <span class="keywordtype">char</span> t[MAXBUF]; +00831 <span class="keywordtype">char</span> n[MAXBUF]; +00832 strlcpy(t,tag.c_str(),MAXBUF); +00833 strlcpy(n,name.c_str(),MAXBUF); +00834 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val); +00835 <span class="keywordflow">if</span> (!res) +00836 { +00837 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00838 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00839 } +00840 <span class="keywordflow">return</span> val; +00841 } </pre></div> </td> </tr> </table> @@ -657,13 +657,13 @@ Returns true if a config file is valid. <p> This method is partially implemented and will only return false if the config file does not exist or could not be opened. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01010">1010</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00939">939</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01159">readerror</a>. +References <a class="el" href="modules_8h-source.html#l01162">readerror</a>. <p> -<div class="fragment"><pre>01011 { -01012 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -01013 } +<div class="fragment"><pre>00940 { +00941 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +00942 } </pre></div> </td> </tr> </table> @@ -691,9 +691,9 @@ The contents of the configuration file This protected member should never be acc <p> It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it. <p> -Definition at line <a class="el" href="modules_8h-source.html#l01155">1155</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01158">1158</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l01000">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l01005">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00914">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00898">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00880">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00799">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00929">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00934">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00843">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00860">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00827">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00809">~ConfigReader()</a>. </td> </tr> </table> <a name="p3" doxytag="ConfigReader::error"></a><p> @@ -717,9 +717,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01160">1160</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01163">1163</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00960">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00914">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00898">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00799">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00889">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00843">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00860">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00827">ReadValue()</a>. </td> </tr> </table> <a name="p1" doxytag="ConfigReader::errorlog"></a><p> @@ -743,9 +743,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader( <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01156">1156</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01159">1159</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00967">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00880">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00799">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00896">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00809">~ConfigReader()</a>. </td> </tr> </table> <a name="p2" doxytag="ConfigReader::readerror"></a><p> @@ -771,14 +771,14 @@ Used to store errors. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01159">1159</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01162">1162</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01010">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00799">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00939">Verify()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:26 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:09 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index d6235b042..eae51ce7a 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ConnectClass Member List</h1>This is the complete list of members for <a class="el" href="classConnectClass.html">ConnectClass</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classConnectClass.html#o6">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classConnectClass.html#o0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:28 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 9e60c867e..131cb49be 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ConnectClass Class Reference</h1>Holds information relevent to <connect allow> and <connect deny> tags in the config file. <a href="#_details">More...</a> <p> @@ -355,7 +355,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:28 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:11 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index decd6c889..4c1ae1319 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>DNS Member List</h1>This is the complete list of members for <a class="el" href="classDNS.html">DNS</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classDNS.html#r0">binip</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#a0">DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> @@ -33,7 +33,7 @@ <tr class="memlist"><td><a class="el" href="classDNS.html#a8">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#r2">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classDNS.html#a2">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:30 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:18 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index ba7e9eaa0..4a4a413df 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>DNS Class Reference</h1>The DNS class allows fast nonblocking resolution of hostnames and ip addresses. <a href="#_details">More...</a> <p> @@ -891,7 +891,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:30 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:18 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index b0e74a97f..d0ccc1410 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ELine Member List</h1>This is the complete list of members for <a class="el" href="classELine.html">ELine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:32 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:20 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index c3bdac0da..24279c0f2 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ELine Class Reference</h1><code>#include <<a class="el" href="xline_8h-source.html">xline.h</a>></code> <p> Inheritance diagram for ELine:<p><center><img src="classELine__inherit__graph.gif" border="0" usemap="#ELine__inherit__map" alt="Inheritance graph"></center> @@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:32 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:20 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html index 15b37e1c3..2764d3dce 100644 --- a/docs/module-doc/classEvent-members.html +++ b/docs/module-doc/classEvent-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Event Member List</h1>This is the complete list of members for <a class="el" href="classEvent.html">Event</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classEvent.html#a4">Send</a>()</td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classEvent.html#p1">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:33 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:22 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html index fc2d4dd6f..a7ee526da 100644 --- a/docs/module-doc/classEvent.html +++ b/docs/module-doc/classEvent.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Event Class Reference</h1>The Event class is a unicast message directed at all modules. <a href="#_details">More...</a> <p> @@ -103,9 +103,9 @@ Create a new Event. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00269">269</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00345 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { }; +<div class="fragment"><pre>00269 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { }; </pre></div> </td> </tr> </table> @@ -139,13 +139,13 @@ Get the Event data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00271">271</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00199">data</a>. <p> -<div class="fragment"><pre>00348 { -00349 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; -00350 } +<div class="fragment"><pre>00272 { +00273 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; +00274 } </pre></div> </td> </tr> </table> @@ -178,13 +178,13 @@ Get the event ID. <p> Use this to determine the event type for safe casting of the data <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00287">287</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00208">id</a>. <p> -<div class="fragment"><pre>00364 { -00365 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; -00366 } +<div class="fragment"><pre>00288 { +00289 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; +00290 } </pre></div> </td> </tr> </table> @@ -217,13 +217,13 @@ Get the event Source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00276">276</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00203">source</a>. <p> -<div class="fragment"><pre>00353 { -00354 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; -00355 } +<div class="fragment"><pre>00277 { +00278 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; +00279 } </pre></div> </td> </tr> </table> @@ -258,14 +258,14 @@ The return result of an <a class="el" href="classEvent.html#a4">Event::Send()</a <p> Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00281">281</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00079">FOREACH_MOD</a>. <p> -<div class="fragment"><pre>00358 { -00359 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -00360 <span class="keywordflow">return</span> NULL; -00361 } +<div class="fragment"><pre>00282 { +00283 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +00284 <span class="keywordflow">return</span> NULL; +00285 } </pre></div> </td> </tr> </table> @@ -295,7 +295,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00199">199</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00347">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00271">GetData()</a>. </td> </tr> </table> <a name="p2" doxytag="Event::id"></a><p> @@ -323,7 +323,7 @@ This is arbitary text which should be used to distinguish one type of event from <p> Definition at line <a class="el" href="modules_8h-source.html#l00208">208</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00363">GetEventID()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00287">GetEventID()</a>. </td> </tr> </table> <a name="p1" doxytag="Event::source"></a><p> @@ -351,12 +351,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00203">203</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00352">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00276">GetSource()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:33 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:21 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index a83b3446b..052a4d876 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ExemptItem Member List</h1>This is the complete list of members for <a class="el" href="classExemptItem.html">ExemptItem</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:34 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:23 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 18f6048fb..afc704ef7 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ExemptItem Class Reference</h1>A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel exempts (+e). <a href="#_details">More...</a> <p> @@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:34 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:23 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 1f7b195a5..7804a6447 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ExtMode Member List</h1>This is the complete list of members for <a class="el" href="classExtMode.html">ExtMode</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classExtMode.html#o2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtMode.html#o1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:37 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:25 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index 6626c7c88..88af67a5c 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ExtMode Class Reference</h1>Inheritance diagram for ExtMode:<p><center><img src="classExtMode__inherit__graph.gif" border="0" usemap="#ExtMode__inherit__map" alt="Inheritance graph"></center> <map name="ExtMode__inherit__map"> <area href="classclassbase.html" shape="rect" coords="8,7,88,34" alt=""> @@ -88,11 +88,11 @@ <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00212">212</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00136">136</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00206">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00210">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00209">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00208">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00207">type</a>. +References <a class="el" href="modules_8cpp-source.html#l00130">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00134">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00133">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00132">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00131">type</a>. <p> -<div class="fragment"><pre>00212 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; +<div class="fragment"><pre>00136 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; </pre></div> </td> </tr> </table> @@ -118,7 +118,7 @@ References <a class="el" href="modules_8cpp-source.html#l00206">modechar</a>, <a <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00211">211</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00135">135</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a name="o0" doxytag="ExtMode::modechar"></a><p> @@ -142,9 +142,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00211">211</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00206">206</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00130">130</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00136">ExtMode()</a>. </td> </tr> </table> <a name="o4" doxytag="ExtMode::needsoper"></a><p> @@ -168,9 +168,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00210">210</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00134">134</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00136">ExtMode()</a>. </td> </tr> </table> <a name="o3" doxytag="ExtMode::params_when_off"></a><p> @@ -194,9 +194,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00209">209</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00133">133</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00136">ExtMode()</a>. </td> </tr> </table> <a name="o2" doxytag="ExtMode::params_when_on"></a><p> @@ -220,9 +220,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00208">208</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00132">132</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00136">ExtMode()</a>. </td> </tr> </table> <a name="o1" doxytag="ExtMode::type"></a><p> @@ -246,14 +246,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00131">131</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ExtMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00136">ExtMode()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:37 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:25 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index 4d874896a..93a96a694 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Extensible Member List</h1>This is the complete list of members for <a class="el" href="classExtensible.html">Extensible</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:36 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:24 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 8883a804f..2465aed61 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Extensible Class Reference</h1>class Extensible is the parent class of many classes such as userrec and chanrec. <a href="#_details">More...</a> <p> @@ -180,7 +180,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of fil </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:36 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:24 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 4beac30ad..7a0140fd2 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>FileReader Member List</h1>This is the complete list of members for <a class="el" href="classFileReader.html">FileReader</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:38 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:26 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index d9be72a02..646b92de9 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>FileReader Class Reference</h1>Caches a text file into memory and can be used to retrieve lines from it. <a href="#_details">More...</a> <p> @@ -53,7 +53,7 @@ This class contains methods for read-only manipulation of a text file in memory. <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01236">1236</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l01239">1239</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="FileReader::FileReader"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -83,10 +83,10 @@ Default constructor. <p> This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01023">1023</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00952">952</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>01024 { -01025 } +<div class="fragment"><pre>00953 { +00954 } </pre></div> </td> </tr> </table> @@ -120,15 +120,15 @@ Secondary constructor. <p> 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, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00945">945</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l01241">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>01017 { -01018 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01019 readfile(c,filename.c_str()); -01020 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01021 } +<div class="fragment"><pre>00946 { +00947 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +00948 readfile(c,filename.c_str()); +00949 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00950 } </pre></div> </td> </tr> </table> @@ -161,10 +161,10 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01035">1035</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00964">964</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>01036 { -01037 } +<div class="fragment"><pre>00965 { +00966 } </pre></div> </td> </tr> </table> @@ -198,20 +198,20 @@ Returns true if the file exists This function will return false if the file coul <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01039">1039</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00968">968</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01238">fc</a>. +References <a class="el" href="modules_8h-source.html#l01241">fc</a>. <p> -<div class="fragment"><pre>01040 { -01041 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -01042 { -01043 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -01044 } -01045 <span class="keywordflow">else</span> -01046 { -01047 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -01048 } -01049 } +<div class="fragment"><pre>00969 { +00970 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +00971 { +00972 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +00973 } +00974 <span class="keywordflow">else</span> +00975 { +00976 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +00977 } +00978 } </pre></div> </td> </tr> </table> @@ -244,13 +244,13 @@ Returns the size of the file in lines. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01058">1058</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00987">987</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01238">fc</a>. +References <a class="el" href="modules_8h-source.html#l01241">fc</a>. <p> -<div class="fragment"><pre>01059 { -01060 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -01061 } +<div class="fragment"><pre>00988 { +00989 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +00990 } </pre></div> </td> </tr> </table> @@ -284,15 +284,15 @@ Retrieve one line from the file. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01051">1051</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00980">980</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01238">fc</a>. +References <a class="el" href="modules_8h-source.html#l01241">fc</a>. <p> -<div class="fragment"><pre>01052 { -01053 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -01054 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -01055 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -01056 } +<div class="fragment"><pre>00981 { +00982 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +00983 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00984 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +00985 } </pre></div> </td> </tr> </table> @@ -326,15 +326,15 @@ Used to load a file. <p> 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, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01027">1027</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00956">956</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. +References <a class="el" href="modules_8h-source.html#l01241">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>. <p> -<div class="fragment"><pre>01028 { -01029 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01030 readfile(c,filename.c_str()); -01031 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01032 } +<div class="fragment"><pre>00957 { +00958 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +00959 readfile(c,filename.c_str()); +00960 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00961 } </pre></div> </td> </tr> </table> @@ -360,14 +360,14 @@ References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a cla <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01238">1238</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01241">1241</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l01039">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l01016">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01058">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01051">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l01027">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00968">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00945">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00987">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00980">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00956">LoadFile()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:38 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:26 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index 8d5af13f3..8cedfd02a 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>GLine Member List</h1>This is the complete list of members for <a class="el" href="classGLine.html">GLine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:39 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:28 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index 3d1f7e735..901ef24ff 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>GLine Class Reference</h1>GLine class. <a href="#_details">More...</a> <p> @@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:39 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:28 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 5269c6e75..9927250bc 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>HostItem Member List</h1>This is the complete list of members for <a class="el" href="classHostItem.html">HostItem</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:40 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:29 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 6176efaa7..2d9cab15c 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>HostItem Class Reference</h1>Holds an entry for a ban list, exemption list, or invite list. <a href="#_details">More...</a> <p> @@ -185,7 +185,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00039">39</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:40 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:29 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 44a656368..30f42926f 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InviteItem Member List</h1>This is the complete list of members for <a class="el" href="classInviteItem.html">InviteItem</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:42 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:31 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index e5aa8959a..db260931e 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InviteItem Class Reference</h1>A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel invites (+I). <a href="#_details">More...</a> <p> @@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> Definition at line <a class="el" href="channels_8h-source.html#l00068">68</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:42 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:31 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index a1ea18bea..f4718eea6 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -4,13 +4,13 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Invited Member List</h1>This is the complete list of members for <a class="el" href="classInvited.html">Invited</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classInvited.html#o0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:41 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:30 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 6cf22b4d9..383a50357 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Invited Class Reference</h1>Holds a channel name to which a user has been invited. <a href="#_details">More...</a> <p> @@ -53,12 +53,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00036">36</a> of fi <p> Definition at line <a class="el" href="users_8h-source.html#l00039">39</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00088">userrec::InviteTo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00094">userrec::InviteTo()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:41 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:30 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index 4e085f5e3..1ee263413 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>KLine Member List</h1>This is the complete list of members for <a class="el" href="classKLine.html">KLine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:45 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:34 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index f9efa2bea..3902144d2 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>KLine Class Reference</h1>KLine class. <a href="#_details">More...</a> <p> @@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:45 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:34 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index d71c58eb3..a5404a735 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModeParameter Member List</h1>This is the complete list of members for <a class="el" href="classModeParameter.html">ModeParameter</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classModeParameter.html#o2">channel</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModeParameter.html#o0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classModeParameter.html#o1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:46 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:35 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index 6f4a05668..f19b1776c 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModeParameter Class Reference</h1>Holds a custom parameter to a module-defined channel mode e.g. <a href="#_details">More...</a> <p> @@ -59,7 +59,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of <p> Definition at line <a class="el" href="channels_8h-source.html#l00082">82</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00145">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="o0" doxytag="ModeParameter::mode"></a><p> @@ -85,7 +85,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::Set <p> Definition at line <a class="el" href="channels_8h-source.html#l00080">80</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00145">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a name="o1" doxytag="ModeParameter::parameter"></a><p> @@ -111,12 +111,12 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::Set <p> Definition at line <a class="el" href="channels_8h-source.html#l00081">81</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00145">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:46 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:35 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 4ecacaa9d..dd6ad7db9 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Module Member List</h1>This is the complete list of members for <a class="el" href="classModule.html">Module</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -65,7 +65,7 @@ <tr class="memlist"><td><a class="el" href="classModule.html#a18">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:37 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 407b3a446..0e509f674 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Module Class Reference</h1>Base class for all InspIRCd modules This class is the base class for InspIRCd modules. <a href="#_details">More...</a> <p> @@ -227,9 +227,9 @@ Default constructor creates a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00294">294</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00370 { } +<div class="fragment"><pre>00294 { } </pre></div> </td> </tr> </table> @@ -262,9 +262,9 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00371">371</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00295">295</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00371 { } +<div class="fragment"><pre>00295 { } </pre></div> </td> </tr> </table> @@ -298,11 +298,11 @@ Returns the version number of a Module. <p> The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#a0">Version::Version</a> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00383">383</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00054">VF_VENDOR</a>. <p> -<div class="fragment"><pre>00383 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); } +<div class="fragment"><pre>00307 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); } </pre></div> </td> </tr> </table> @@ -336,9 +336,9 @@ Called when a 005 numeric is about to be output. <p> The module should modify the 005 numeric if needed to indicate its features. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00395">395</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00395 { }; +<div class="fragment"><pre>00319 { }; </pre></div> </td> </tr> </table> @@ -405,11 +405,11 @@ This function is called before many functions which check a users status on a ch <br> Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00392">392</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>. <p> -<div class="fragment"><pre>00392 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; +<div class="fragment"><pre>00316 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; </pre></div> </td> </tr> </table> @@ -458,9 +458,9 @@ Called whenever a ban is added to a channel's list. <p> Return a non-zero value to 'eat' the mode change and prevent the ban from being added. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00420">420</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00420 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00344 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -494,9 +494,9 @@ Called once every five seconds for background processing. <p> This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00398 { }; +<div class="fragment"><pre>00322 { }; </pre></div> </td> </tr> </table> @@ -539,9 +539,9 @@ Called whenever a change of a local users GECOS (fullname field) is attempted. <p> return 1 to deny the name change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00412">412</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00412 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00336 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -584,9 +584,9 @@ Called whenever a change of a local users displayed host is attempted. <p> Return 1 to deny the host change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00411">411</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00411 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00335 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -620,11 +620,11 @@ Called during a netburst to sync channel data. <p> This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00394 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00318 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -667,9 +667,9 @@ Called whenever a user joins a channel, to determine if banlist checks should go <p> This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00409">409</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00409 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00333 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -712,9 +712,9 @@ Called whenever a user joins a channel, to determine if invite checks should go <p> This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00406">406</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00406 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00330 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -763,9 +763,9 @@ Called whenever a user joins a channel, to determine if key checks should go ahe <p> This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00407 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00331 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -808,9 +808,9 @@ Called whenever a user joins a channel, to determine if channel limit checks sho <p> This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00408">408</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00408 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00332 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -844,9 +844,9 @@ Called to check if a user who is connecting can now be allowed to register If an <p> For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00401">401</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00401 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<div class="fragment"><pre>00325 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; </pre></div> </td> </tr> </table> @@ -895,9 +895,9 @@ Called whenever a ban is removed from a channel's list. <p> Return a non-zero value to 'eat' the mode change and prevent the ban from being removed. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00421">421</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00421 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00345 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -931,9 +931,9 @@ Called whenever an <a class="el" href="classEvent.html">Event</a> class is sent <p> Please see the documentation of <a class="el" href="classEvent.html#a4">Event::Send()</a> for further information. The <a class="el" href="classEvent.html">Event</a> sent can always be assumed to be non-NULL, you should *always* check the value of <a class="el" href="classEvent.html#a3">Event::GetEventID()</a> before doing anything to the event data, and you should *not* change the event data in any way! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00415 { <span class="keywordflow">return</span>; }; +<div class="fragment"><pre>00339 { <span class="keywordflow">return</span>; }; </pre></div> </td> </tr> </table> @@ -998,11 +998,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00415">415</a> <p> Called whenever an extended mode is to be processed. <p> -The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a23">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it. +The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a24">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00382">382</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00382 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<div class="fragment"><pre>00306 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> </td> </tr> </table> @@ -1036,9 +1036,9 @@ Called whenever a user connects, anywhere on the network. <p> This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00419">419</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00419 { }; +<div class="fragment"><pre>00343 { }; </pre></div> </td> </tr> </table> @@ -1072,9 +1072,9 @@ Called whenever a user is given usermode +o, anywhere on the network. <p> You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00418">418</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00418 { }; +<div class="fragment"><pre>00342 { }; </pre></div> </td> </tr> </table> @@ -1109,9 +1109,9 @@ Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:<p> <nick> :information here <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00385 { }; +<div class="fragment"><pre>00309 { }; </pre></div> </td> </tr> </table> @@ -1160,9 +1160,9 @@ Called when a client is disconnected by KILL. <p> If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00396">396</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00396 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00320 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1205,9 +1205,9 @@ Called whenever a module is loaded. <p> mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00397">397</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00397 { }; +<div class="fragment"><pre>00321 { }; </pre></div> </td> </tr> </table> @@ -1256,9 +1256,9 @@ Called whenever a topic is changed by a local user. <p> Return 1 to deny the topic change, or 0 to allow it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00413 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00337 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1331,9 +1331,9 @@ Called whenever an unknown token is received in a server to server link. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00414 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00338 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1367,9 +1367,9 @@ Called whenever a user opers locally. <p> The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00384">384</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00384 { }; +<div class="fragment"><pre>00308 { }; </pre></div> </td> </tr> </table> @@ -1412,9 +1412,9 @@ Called whenever an oper password is to be compared to what a user has input. <p> The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00417">417</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00417 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00341 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1457,9 +1457,9 @@ Called after a packet is received from another irc server. <p> This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00378">378</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00302">302</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00378 { } +<div class="fragment"><pre>00302 { } </pre></div> </td> </tr> </table> @@ -1502,9 +1502,9 @@ Called before a packet is transmitted across the irc network between two irc ser <p> This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00301">301</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00377 { } +<div class="fragment"><pre>00301 { } </pre></div> </td> </tr> </table> @@ -1557,11 +1557,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</a> <p> Called whenever any command is about to be executed. <p> -This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using <a class="el" href="classServer.html#a31">Server::QuitUser</a>) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!) +This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using <a class="el" href="classServer.html#a32">Server::QuitUser</a>) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00400">400</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00400 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00324 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1628,9 +1628,9 @@ Called whenever a mode character is processed. <p> Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00405 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00329 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1679,9 +1679,9 @@ Called immediately after any connection is accepted. <p> This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00422 { }; +<div class="fragment"><pre>00346 { }; </pre></div> </td> </tr> </table> @@ -1715,9 +1715,9 @@ Called immediately before any socket is closed. <p> When this event is called, shutdown() has not yet been called on the socket. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00424">424</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00424 { }; +<div class="fragment"><pre>00348 { }; </pre></div> </td> </tr> </table> @@ -1772,9 +1772,9 @@ Called immediately before any read() operation on a client socket in the core. <p> This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00425">425</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00425 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00349 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1823,9 +1823,9 @@ Called immediately before any write() operation on a user's socket in the core. <p> Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write(). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00423">423</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00423 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00347 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -1858,9 +1858,9 @@ Called on rehash. <p> This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00303">303</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00379 { } +<div class="fragment"><pre>00303 { } </pre></div> </td> </tr> </table> @@ -1894,11 +1894,11 @@ Called whenever a <a class="el" href="classRequest.html">Request</a> class is se <p> Please see the documentation of <a class="el" href="classRequest.html#a4">Request::Send()</a> for further information. The <a class="el" href="classRequest.html">Request</a> sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00416">416</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00333">Request::Send()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00257">Request::Send()</a>. <p> -<div class="fragment"><pre>00416 { <span class="keywordflow">return</span> NULL; }; +<div class="fragment"><pre>00340 { <span class="keywordflow">return</span> NULL; }; </pre></div> </td> </tr> </table> @@ -1947,9 +1947,9 @@ Called whenever a list is needed for a listmode. <p> For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00399 { }; +<div class="fragment"><pre>00323 { }; </pre></div> </td> </tr> </table> @@ -1998,9 +1998,9 @@ Called when a raw command is transmitted or received. <p> This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00380 { } +<div class="fragment"><pre>00304 { } </pre></div> </td> </tr> </table> @@ -2034,9 +2034,9 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00410 { }; +<div class="fragment"><pre>00334 { }; </pre></div> </td> </tr> </table> @@ -2070,9 +2070,9 @@ Called when a user connects. <p> The details of the connecting user are available to you in the parameter userrec *user <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00296">296</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00372 { } +<div class="fragment"><pre>00296 { } </pre></div> </td> </tr> </table> @@ -2106,9 +2106,9 @@ Called whenever a user's socket is closed. <p> The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00298">298</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00374 { } +<div class="fragment"><pre>00298 { } </pre></div> </td> </tr> </table> @@ -2151,9 +2151,9 @@ Called when a user joins a channel. <p> The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00299">299</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00375 { } +<div class="fragment"><pre>00299 { } </pre></div> </td> </tr> </table> @@ -2208,9 +2208,9 @@ Called whenever a user is kicked. <p> If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use <a class="el" href="classModule.html#a14">Module::OnUserPreKick</a> instead of this method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00404">404</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00404 { }; +<div class="fragment"><pre>00328 { }; </pre></div> </td> </tr> </table> @@ -2253,9 +2253,9 @@ Called when a user parts a channel. <p> The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00300">300</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00376 { } +<div class="fragment"><pre>00300 { } </pre></div> </td> </tr> </table> @@ -2298,9 +2298,9 @@ Called after any nickchange, local or remote. <p> This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00391 { }; +<div class="fragment"><pre>00315 { }; </pre></div> </td> </tr> </table> @@ -2349,9 +2349,9 @@ Called whenever a user is about to invite another user into a channel, before an <p> Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00387 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00311 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2402,9 +2402,9 @@ Returning a value of 1 from this function stops the process immediately, causing IMPORTANT NOTE!<p> If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00381">381</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00381 { <span class="keywordflow">return</span> 0; } +<div class="fragment"><pre>00305 { <span class="keywordflow">return</span> 0; } </pre></div> </td> </tr> </table> @@ -2459,9 +2459,9 @@ Called whenever a user is about to be kicked. <p> Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00403 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00327 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2516,9 +2516,9 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00388">388</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00388 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00312 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2561,9 +2561,9 @@ Called before any nickchange, local or remote. <p> This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00390 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00314 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2618,9 +2618,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces <p> Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00389">389</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00389 { <span class="keywordflow">return</span> 0; }; +<div class="fragment"><pre>00313 { <span class="keywordflow">return</span> 0; }; </pre></div> </td> </tr> </table> @@ -2654,9 +2654,9 @@ Called when a user quits. <p> The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00373">373</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00297">297</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00373 { } +<div class="fragment"><pre>00297 { } </pre></div> </td> </tr> </table> @@ -2690,9 +2690,9 @@ Called whenever a user is about to register their connection (e.g. <p> before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00402 { }; +<div class="fragment"><pre>00326 { }; </pre></div> </td> </tr> </table> @@ -2726,11 +2726,11 @@ Called during a netburst to sync user data. <p> This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00393">393</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00068">string_list</a>. <p> -<div class="fragment"><pre>00393 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<div class="fragment"><pre>00317 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } </pre></div> </td> </tr> </table> @@ -2773,15 +2773,15 @@ Called whenever a /WHOIS is performed on a local user. <p> The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00386 { }; +<div class="fragment"><pre>00310 { }; </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:37 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 5519f0ffb..5ef77ef04 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModuleFactory Member List</h1>This is the complete list of members for <a class="el" href="classModuleFactory.html">ModuleFactory</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:38 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index b00be9c94..a1a0d2868 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModuleFactory Class Reference</h1>Instantiates classes inherited from <a class="el" href="classModule.html">Module</a> This class creates a class inherited from type <a class="el" href="classModule.html">Module</a>, using new. <a href="#_details">More...</a> <p> @@ -36,7 +36,7 @@ This is to allow for modules to create many different variants of <a class="el" <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01291">1291</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="modules_8h-source.html#l01294">1294</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -64,9 +64,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l01291">1291</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01294">1294</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01297">1297</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>01294 { } +<div class="fragment"><pre>01297 { } </pre></div> </td> </tr> </table> @@ -97,9 +97,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l01294">1294</a> o <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01295">1295</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01298">1298</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -<div class="fragment"><pre>01295 { } +<div class="fragment"><pre>01298 { } </pre></div> </td> </tr> </table> @@ -136,7 +136,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:38 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html index 3a8e5ed5f..d8ce77629 100644 --- a/docs/module-doc/classModuleMessage-members.html +++ b/docs/module-doc/classModuleMessage-members.html @@ -4,13 +4,13 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModuleMessage Member List</h1>This is the complete list of members for <a class="el" href="classModuleMessage.html">ModuleMessage</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classModuleMessage.html#a0">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:39 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html index 131048528..5a0bdc877 100644 --- a/docs/module-doc/classModuleMessage.html +++ b/docs/module-doc/classModuleMessage.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ModuleMessage Class Reference</h1>The ModuleMessage class is the base class of <a class="el" href="classRequest.html">Request</a> and <a class="el" href="classEvent.html">Event</a> This class is used to represent a basic data structure which is passed between modules for safe inter-module communications. <a href="#_details">More...</a> <p> @@ -67,7 +67,7 @@ Implemented in <a class="el" href="classRequest.html#a4">Request</a>, and <a cla </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:39 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index 608837f36..276be9e04 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>QLine Member List</h1>This is the complete list of members for <a class="el" href="classQLine.html">QLine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:40 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index 2bf8bc2e1..e2497ebd0 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>QLine Class Reference</h1>QLine class. <a href="#_details">More...</a> <p> @@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:40 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html index 4c2a09d65..93ea57e2a 100644 --- a/docs/module-doc/classRequest-members.html +++ b/docs/module-doc/classRequest-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Request Member List</h1>This is the complete list of members for <a class="el" href="classRequest.html">Request</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classRequest.html#a4">Send</a>()</td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classRequest.html#p1">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:53 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:41 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html index bf74a61c4..d4d3154d4 100644 --- a/docs/module-doc/classRequest.html +++ b/docs/module-doc/classRequest.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Request Class Reference</h1>The Request class is a unicast message directed at a given module. <a href="#_details">More...</a> <p> @@ -103,9 +103,9 @@ Create a new Request. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00240">240</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00316 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { }; +<div class="fragment"><pre>00240 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { }; </pre></div> </td> </tr> </table> @@ -139,13 +139,13 @@ Fetch the Request data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00242">242</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00159">data</a>. <p> -<div class="fragment"><pre>00319 { -00320 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; -00321 } +<div class="fragment"><pre>00243 { +00244 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; +00245 } </pre></div> </td> </tr> </table> @@ -178,13 +178,13 @@ Fetch the request destination (should be 'this' in the receiving module). <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00252">252</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00166">dest</a>. <p> -<div class="fragment"><pre>00329 { -00330 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; -00331 } +<div class="fragment"><pre>00253 { +00254 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; +00255 } </pre></div> </td> </tr> </table> @@ -217,13 +217,13 @@ Fetch the request source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00247">247</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00163">source</a>. <p> -<div class="fragment"><pre>00324 { -00325 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; -00326 } +<div class="fragment"><pre>00248 { +00249 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; +00250 } </pre></div> </td> </tr> </table> @@ -258,20 +258,20 @@ Upon returning the result will be arbitary data returned by the module you sent <p> Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00257">257</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00416">Module::OnRequest()</a>. +References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00340">Module::OnRequest()</a>. <p> -<div class="fragment"><pre>00334 { -00335 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) -00336 { -00337 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); -00338 } -00339 <span class="keywordflow">else</span> -00340 { -00341 <span class="keywordflow">return</span> NULL; -00342 } -00343 } +<div class="fragment"><pre>00258 { +00259 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) +00260 { +00261 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); +00262 } +00263 <span class="keywordflow">else</span> +00264 { +00265 <span class="keywordflow">return</span> NULL; +00266 } +00267 } </pre></div> </td> </tr> </table> @@ -301,7 +301,7 @@ This member holds a pointer to arbitary data set by the emitter of the message. <p> Definition at line <a class="el" href="modules_8h-source.html#l00159">159</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00318">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00242">GetData()</a>. </td> </tr> </table> <a name="p2" doxytag="Request::dest"></a><p> @@ -329,7 +329,7 @@ The single destination of the Request. <p> Definition at line <a class="el" href="modules_8h-source.html#l00166">166</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00328">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00333">Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00252">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00257">Send()</a>. </td> </tr> </table> <a name="p1" doxytag="Request::source"></a><p> @@ -357,12 +357,12 @@ This is a pointer to the sender of the message, which can be used to directly tr <p> Definition at line <a class="el" href="modules_8h-source.html#l00163">163</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00323">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00247">GetSource()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:41 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 7458e46db..fddda36eb 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -4,72 +4,73 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Server Member List</h1>This is the complete list of members for <a class="el" href="classServer.html">Server</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="classServer.html#a25">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams, char *source)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a44">AddELine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a24">AddExtendedListMode</a>(char modechar)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a23">AddExtendedMode</a>(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a40">AddGLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a43">AddKLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a41">AddQLine</a>(long duration, std::string source, std::string reason, std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a42">AddZLine</a>(long duration, std::string source, std::string reason, std::string ipaddr)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a26">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams, char *source)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a45">AddELine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a25">AddExtendedListMode</a>(char modechar)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a24">AddExtendedMode</a>(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a41">AddGLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a44">AddKLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a42">AddQLine</a>(long duration, std::string source, std::string reason, std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a43">AddZLine</a>(long duration, std::string source, std::string reason, std::string ipaddr)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a50">CalcDuration</a>(std::string duration)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a33">CallCommandHandler</a>(std::string commandname, char **parameters, int pcnt, userrec *user)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a35">ChangeGECOS</a>(userrec *user, std::string gecos)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a34">ChangeHost</a>(userrec *user, std::string host)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a30">ChangeUserNick</a>(userrec *user, std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a51">CalcDuration</a>(std::string duration)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a34">CallCommandHandler</a>(std::string commandname, char **parameters, int pcnt, userrec *user)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a36">ChangeGECOS</a>(userrec *user, std::string gecos)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a35">ChangeHost</a>(userrec *user, std::string host)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a31">ChangeUserNick</a>(userrec *user, std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a18">ChanMode</a>(userrec *User, chanrec *Chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a10">CommonChannels</a>(userrec *u1, userrec *u2)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a14">CountUsers</a>(chanrec *c)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a49">DelELine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a45">DelGLine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a48">DelKLine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a46">DelQLine</a>(std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a47">DelZLine</a>(std::string ipaddr)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a50">DelELine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a46">DelGLine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a49">DelKLine</a>(std::string hostmask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a47">DelQLine</a>(std::string nickname)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a48">DelZLine</a>(std::string ipaddr)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a17">FindChannel</a>(std::string channel)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a16">FindDescriptor</a>(int socket)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a59">FindModule</a>(std::string name)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a60">FindModule</a>(std::string name)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a15">FindNick</a>(std::string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a22">GetAdmin</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a23">GetAdmin</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a21">GetNetworkName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a22">GetServerDescription</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a20">GetServerName</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a37">GetUsers</a>(chanrec *chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a38">GetUsers</a>(chanrec *chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a13">IsNick</a>(std::string nick)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a19">IsOnChannel</a>(userrec *User, chanrec *Chan)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a36">IsUlined</a>(std::string server)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a51">IsValidMask</a>(std::string mask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a28">JoinUserToChannel</a>(userrec *user, std::string cname, std::string key)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a37">IsUlined</a>(std::string server)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a52">IsValidMask</a>(std::string mask)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a29">JoinUserToChannel</a>(userrec *user, std::string cname, std::string key)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a3">Log</a>(int level, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a32">MatchText</a>(std::string sliteral, std::string spattern)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a57">MeshCheckChan</a>(chanrec *c, std::string servername)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a58">MeshCheckCommon</a>(userrec *u, std::string servername)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a52">MeshSendAll</a>(std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a54">MeshSendAllAlive</a>(std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a56">MeshSendAllExcept</a>(std::string target, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a53">MeshSendCommon</a>(userrec *user, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a55">MeshSendUnicast</a>(std::string destination, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a29">PartUserFromChannel</a>(userrec *user, std::string cname, std::string reason)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a39">PseudoToUser</a>(userrec *alive, userrec *zombie, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a31">QuitUser</a>(userrec *user, std::string reason)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a33">MatchText</a>(std::string sliteral, std::string spattern)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a58">MeshCheckChan</a>(chanrec *c, std::string servername)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a59">MeshCheckCommon</a>(userrec *u, std::string servername)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a53">MeshSendAll</a>(std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a55">MeshSendAllAlive</a>(std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a57">MeshSendAllExcept</a>(std::string target, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a54">MeshSendCommon</a>(userrec *user, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a56">MeshSendUnicast</a>(std::string destination, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a30">PartUserFromChannel</a>(userrec *user, std::string cname, std::string reason)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a40">PseudoToUser</a>(userrec *alive, userrec *zombie, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a32">QuitUser</a>(userrec *user, std::string reason)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a4">Send</a>(int Socket, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a9">SendChannel</a>(userrec *User, chanrec *Channel, std::string s, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a6">SendChannelServerNotice</a>(std::string ServName, chanrec *Channel, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a11">SendCommon</a>(userrec *User, std::string text, bool IncludeSender)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a7">SendFrom</a>(int Socket, userrec *User, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a26">SendMode</a>(char **parameters, int pcnt, userrec *user)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a27">SendMode</a>(char **parameters, int pcnt, userrec *user)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a2">SendOpers</a>(std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a5">SendServ</a>(int Socket, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a8">SendTo</a>(userrec *Source, userrec *Dest, std::string s)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a27">SendToModeMask</a>(std::string modes, int flags, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a28">SendToModeMask</a>(std::string modes, int flags, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a12">SendWallops</a>(userrec *User, std::string text)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classServer.html#a38">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classServer.html#a39">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:55 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:43 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index b065a5dd7..1b20ba109 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Server Class Reference</h1>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. <a href="#_details">More...</a> <p> @@ -87,120 +87,123 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a21">GetNetworkName</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the network name, global to all linked servers. </em> <a href="#a21"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classAdmin.html">Admin</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a22">GetAdmin</a> ()</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a22">GetServerDescription</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the information of the server as returned by the /ADMIN command. </em> <a href="#a22"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">AddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the server description string of the local server. </em> <a href="#a22"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classAdmin.html">Admin</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">GetAdmin</a> ()</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an extended mode letter which is parsed by a module. </em> <a href="#a23"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a24">AddExtendedListMode</a> (char modechar)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the information of the server as returned by the /ADMIN command. </em> <a href="#a23"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a24">AddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an extended mode letter which is parsed by a module and handled in a list fashion. </em> <a href="#a24"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a25">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an extended mode letter which is parsed by a module. </em> <a href="#a24"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a25">AddExtendedListMode</a> (char modechar)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a command to the command table. </em> <a href="#a25"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a26">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an extended mode letter which is parsed by a module and handled in a list fashion. </em> <a href="#a25"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a26">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends a servermode. </em> <a href="#a26"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a27">SendToModeMask</a> (std::string modes, int flags, std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a command to the command table. </em> <a href="#a26"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a27">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends to all users matching a mode mask You must specify one or more usermodes as the first parameter. </em> <a href="#a27"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a28">JoinUserToChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string key)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends a servermode. </em> <a href="#a27"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a28">SendToModeMask</a> (std::string modes, int flags, std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to join a channel. </em> <a href="#a28"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a29">PartUserFromChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string reason)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends to all users matching a mode mask You must specify one or more usermodes as the first parameter. </em> <a href="#a28"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a29">JoinUserToChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string key)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to part a channel. </em> <a href="#a29"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a30">ChangeUserNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string nickname)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to join a channel. </em> <a href="#a29"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a30">PartUserFromChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string reason)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user nickchange. </em> <a href="#a30"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a31">QuitUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string reason)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to part a channel. </em> <a href="#a30"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a31">ChangeUserNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string nickname)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to quit with the specified reason. </em> <a href="#a31"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a32">MatchText</a> (std::string sliteral, std::string spattern)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user nickchange. </em> <a href="#a31"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a32">QuitUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string reason)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Matches text against a glob pattern. </em> <a href="#a32"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a33">CallCommandHandler</a> (std::string commandname, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Forces a user to quit with the specified reason. </em> <a href="#a32"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a33">MatchText</a> (std::string sliteral, std::string spattern)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls the handler for a command, either implemented by the core or by another module. </em> <a href="#a33"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a34">ChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string host)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Matches text against a glob pattern. </em> <a href="#a33"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a34">CallCommandHandler</a> (std::string commandname, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Change displayed hostname of a user. </em> <a href="#a34"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">ChangeGECOS</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string gecos)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls the handler for a command, either implemented by the core or by another module. </em> <a href="#a34"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">ChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string host)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Change GECOS (fullname) of a user. </em> <a href="#a35"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a36">IsUlined</a> (std::string server)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Change displayed hostname of a user. </em> <a href="#a35"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a36">ChangeGECOS</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string gecos)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the servername you give is ulined. </em> <a href="#a36"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a33">chanuserlist</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a37">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Change GECOS (fullname) of a user. </em> <a href="#a36"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a37">IsUlined</a> (std::string server)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetches the userlist of a channel. </em> <a href="#a37"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a38">UserToPseudo</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string message)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the servername you give is ulined. </em> <a href="#a37"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a33">chanuserlist</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a38">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a user's connection to the irc server, but leave their client in existence in the user hash. </em> <a href="#a38"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a39">PseudoToUser</a> (<a class="el" href="classuserrec.html">userrec</a> *alive, <a class="el" href="classuserrec.html">userrec</a> *zombie, std::string message)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetches the userlist of a channel. </em> <a href="#a38"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a39">UserToPseudo</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string message)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This user takes one user, and switches their file descriptor with another user, so that one user "becomes" the other. </em> <a href="#a39"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a40">AddGLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a user's connection to the irc server, but leave their client in existence in the user hash. </em> <a href="#a39"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a40">PseudoToUser</a> (<a class="el" href="classuserrec.html">userrec</a> *alive, <a class="el" href="classuserrec.html">userrec</a> *zombie, std::string message)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a40"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a41">AddQLine</a> (long duration, std::string source, std::string reason, std::string nickname)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This user takes one user, and switches their file descriptor with another user, so that one user "becomes" the other. </em> <a href="#a40"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a41">AddGLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a41"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a42">AddZLine</a> (long duration, std::string source, std::string reason, std::string ipaddr)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a41"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a42">AddQLine</a> (long duration, std::string source, std::string reason, std::string nickname)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a42"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a43">AddKLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a42"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a43">AddZLine</a> (long duration, std::string source, std::string reason, std::string ipaddr)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a K-line The K-line is enforced as soon as it is added. </em> <a href="#a43"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a44">AddELine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. </em> <a href="#a43"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a44">AddKLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a E-line The E-line is enforced as soon as it is added. </em> <a href="#a44"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a45">DelGLine</a> (std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a K-line The K-line is enforced as soon as it is added. </em> <a href="#a44"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a45">AddELine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a G-Line from all servers on the mesh. </em> <a href="#a45"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a46">DelQLine</a> (std::string nickname)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a E-line The E-line is enforced as soon as it is added. </em> <a href="#a45"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a46">DelGLine</a> (std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a Q-Line from all servers on the mesh. </em> <a href="#a46"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a47">DelZLine</a> (std::string ipaddr)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a G-Line from all servers on the mesh. </em> <a href="#a46"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a47">DelQLine</a> (std::string nickname)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a Z-Line from all servers on the mesh. </em> <a href="#a47"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a48">DelKLine</a> (std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a Q-Line from all servers on the mesh. </em> <a href="#a47"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a48">DelZLine</a> (std::string ipaddr)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a local K-Line. </em> <a href="#a48"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a49">DelELine</a> (std::string hostmask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a Z-Line from all servers on the mesh. </em> <a href="#a48"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a49">DelKLine</a> (std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a local E-Line. </em> <a href="#a49"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual long </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a50">CalcDuration</a> (std::string duration)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a local K-Line. </em> <a href="#a49"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a50">DelELine</a> (std::string hostmask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates a duration This method will take a string containing a formatted duration (e.g. </em> <a href="#a50"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a51">IsValidMask</a> (std::string mask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes a local E-Line. </em> <a href="#a50"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual long </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a51">CalcDuration</a> (std::string duration)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a nick!ident string is correctly formatted, false if otherwise. </em> <a href="#a51"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a52">MeshSendAll</a> (std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates a duration This method will take a string containing a formatted duration (e.g. </em> <a href="#a51"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a52">IsValidMask</a> (std::string mask)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends a line of text to all connected servers. </em> <a href="#a52"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a53">MeshSendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a nick!ident string is correctly formatted, false if otherwise. </em> <a href="#a52"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a53">MeshSendAll</a> (std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This method sends a line of text to all servers who have users which share common channels with the user you provide. </em> <a href="#a53"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a54">MeshSendAllAlive</a> (std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends a line of text to all connected servers. </em> <a href="#a53"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a54">MeshSendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. </em> <a href="#a54"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a55">MeshSendUnicast</a> (std::string destination, std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method sends a line of text to all servers who have users which share common channels with the user you provide. </em> <a href="#a54"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a55">MeshSendAllAlive</a> (std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function sends a line of text directly to a server. </em> <a href="#a55"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a56">MeshSendAllExcept</a> (std::string target, std::string text)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. </em> <a href="#a55"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a56">MeshSendUnicast</a> (std::string destination, std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function sends to all servers EXCEPT the one you specify. </em> <a href="#a56"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a57">MeshCheckChan</a> (<a class="el" href="classchanrec.html">chanrec</a> *c, std::string servername)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function sends a line of text directly to a server. </em> <a href="#a56"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a57">MeshSendAllExcept</a> (std::string target, std::string text)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is used to check if any users on channel c are on server servername. </em> <a href="#a57"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a58">MeshCheckCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *u, std::string servername)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function sends to all servers EXCEPT the one you specify. </em> <a href="#a57"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a58">MeshCheckChan</a> (<a class="el" href="classchanrec.html">chanrec</a> *c, std::string servername)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is used to check if user u has any channels in common with users on servername. </em> <a href="#a58"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classModule.html">Module</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a59">FindModule</a> (std::string name)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is used to check if any users on channel c are on server servername. </em> <a href="#a58"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a59">MeshCheckCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *u, std::string servername)</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">This function finds a module by name. </em> <a href="#a59"></a><em><br><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function is used to check if user u has any channels in common with users on servername. </em> <a href="#a59"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classModule.html">Module</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a60">FindModule</a> (std::string name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This function finds a module by name. </em> <a href="#a60"></a><em><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> 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. @@ -239,10 +242,10 @@ Default constructor. <p> Creates a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00431">431</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00432 { -00433 } +<div class="fragment"><pre>00356 { +00357 } </pre></div> </td> </tr> </table> @@ -275,15 +278,15 @@ Default destructor. <p> Destroys a Server object. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00435">435</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00436 { -00437 } +<div class="fragment"><pre>00360 { +00361 } </pre></div> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> -<a name="a25" doxytag="Server::AddCommand"></a><p> +<a name="a26" doxytag="Server::AddCommand"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -342,17 +345,17 @@ This allows modules to add extra commands into the command table. You must place typedef void (handlerfunc) (char**, int, userrec*); ... void <a class="el" href="commands_8h.html#a5">handle_kill(char **parameters, int pcnt, userrec *user)</a><p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00504">504</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00428">428</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a35">createcommand()</a>. <p> -<div class="fragment"><pre>00505 { -00506 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); -00507 } +<div class="fragment"><pre>00429 { +00430 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); +00431 } </pre></div> </td> </tr> </table> -<a name="a44" doxytag="Server::AddELine"></a><p> +<a name="a45" doxytag="Server::AddELine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -401,19 +404,19 @@ References <a class="el" href="modules_8h.html#a35">createcommand()</a>. <p> Adds a E-line The E-line is enforced as soon as it is added. <p> -The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> 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. +The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00750">750</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00679">679</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a5">add_eline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00751 { -00752 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00753 } +<div class="fragment"><pre>00680 { +00681 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00682 } </pre></div> </td> </tr> </table> -<a name="a24" doxytag="Server::AddExtendedListMode"></a><p> +<a name="a25" doxytag="Server::AddExtendedListMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -448,20 +451,20 @@ 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<p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00667">667</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00596">596</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00209">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00219">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. <p> -<div class="fragment"><pre>00668 { -00669 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); -00670 <span class="keywordflow">if</span> (res) -00671 <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(modechar); -00672 <span class="keywordflow">return</span> res; -00673 } +<div class="fragment"><pre>00597 { +00598 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1); +00599 <span class="keywordflow">if</span> (res) +00600 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar); +00601 <span class="keywordflow">return</span> res; +00602 } </pre></div> </td> </tr> </table> -<a name="a23" doxytag="Server::AddExtendedMode"></a><p> +<a name="a24" doxytag="Server::AddExtendedMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -518,40 +521,40 @@ Adds an extended mode letter which is parsed by a module. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00639">639</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>. -<p> -<div class="fragment"><pre>00640 { -00641 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -00642 { -00643 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00644 { -00645 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00646 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00647 } -00648 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00649 { -00650 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00651 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00652 } -00653 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00654 { -00655 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00656 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00657 } -00658 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00659 } -00660 <span class="keywordflow">else</span> -00661 { -00662 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -00663 } -00664 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00665 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00568">568</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00209">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>. +<p> +<div class="fragment"><pre>00569 { +00570 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +00571 { +00572 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00573 { +00574 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00575 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00576 } +00577 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00578 { +00579 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00580 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00581 } +00582 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00583 { +00584 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00585 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00586 } +00587 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00588 } +00589 <span class="keywordflow">else</span> +00590 { +00591 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +00592 } +00593 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00594 } </pre></div> </td> </tr> </table> -<a name="a40" doxytag="Server::AddGLine"></a><p> +<a name="a41" doxytag="Server::AddGLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -600,19 +603,19 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas <p> Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. <p> -The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> 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. +The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00730">730</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00659">659</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a1">add_gline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00731 { -00732 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00733 } +<div class="fragment"><pre>00660 { +00661 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00662 } </pre></div> </td> </tr> </table> -<a name="a43" doxytag="Server::AddKLine"></a><p> +<a name="a44" doxytag="Server::AddKLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -661,19 +664,19 @@ References <a class="el" href="xline_8h.html#a1">add_gline()</a>, and <a class=" <p> Adds a K-line The K-line is enforced as soon as it is added. <p> -The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> 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. +The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00745">745</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00674">674</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a4">add_kline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00746 { -00747 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -00748 } +<div class="fragment"><pre>00675 { +00676 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +00677 } </pre></div> </td> </tr> </table> -<a name="a41" doxytag="Server::AddQLine"></a><p> +<a name="a42" doxytag="Server::AddQLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -722,19 +725,19 @@ References <a class="el" href="xline_8h.html#a4">add_kline()</a>, and <a class=" <p> Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. <p> -The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> 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. +The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00735">735</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00664">664</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a2">add_qline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00736 { -00737 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); -00738 } +<div class="fragment"><pre>00665 { +00666 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); +00667 } </pre></div> </td> </tr> </table> -<a name="a42" doxytag="Server::AddZLine"></a><p> +<a name="a43" doxytag="Server::AddZLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -783,19 +786,19 @@ References <a class="el" href="xline_8h.html#a2">add_qline()</a>, and <a class=" <p> Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. <p> -The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">Server::CalcDuration</a> 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. +The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00740">740</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00669">669</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a3">add_zline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00741 { -00742 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -00743 } +<div class="fragment"><pre>00670 { +00671 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +00672 } </pre></div> </td> </tr> </table> -<a name="a50" doxytag="Server::CalcDuration"></a><p> +<a name="a51" doxytag="Server::CalcDuration"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -825,17 +828,17 @@ Calculates a duration This method will take a string containing a formatted dura <p> "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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00780">780</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00709">709</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="commands_8h.html#a75">duration()</a>. <p> -<div class="fragment"><pre>00781 { -00782 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); -00783 } +<div class="fragment"><pre>00710 { +00711 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); +00712 } </pre></div> </td> </tr> </table> -<a name="a33" doxytag="Server::CallCommandHandler"></a><p> +<a name="a34" doxytag="Server::CallCommandHandler"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -885,17 +888,17 @@ References <a class="el" href="commands_8h.html#a75">duration()</a>. Calls the handler for a command, either implemented by the core or by another module. <p> 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 <br> -) 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 <a class="el" href="classServer.html#a25">AddCommand()</a>. 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. +) 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 <a class="el" href="classServer.html#a26">AddCommand()</a>. 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00494">494</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00418">418</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00495 { -00496 call_handler(commandname.c_str(),parameters,pcnt,user); -00497 } +<div class="fragment"><pre>00419 { +00420 call_handler(commandname.c_str(),parameters,pcnt,user); +00421 } </pre></div> </td> </tr> </table> -<a name="a35" doxytag="Server::ChangeGECOS"></a><p> +<a name="a36" doxytag="Server::ChangeGECOS"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -934,17 +937,17 @@ Change GECOS (fullname) of a user. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00587">587</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00511">511</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a10">ChangeName()</a>. <p> -<div class="fragment"><pre>00588 { -00589 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00590 } +<div class="fragment"><pre>00512 { +00513 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00514 } </pre></div> </td> </tr> </table> -<a name="a34" doxytag="Server::ChangeHost"></a><p> +<a name="a35" doxytag="Server::ChangeHost"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -983,17 +986,17 @@ Change displayed hostname of a user. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00582">582</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00506">506</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a11">ChangeDisplayedHost()</a>. <p> -<div class="fragment"><pre>00583 { -00584 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00585 } +<div class="fragment"><pre>00507 { +00508 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00509 } </pre></div> </td> </tr> </table> -<a name="a30" doxytag="Server::ChangeUserNick"></a><p> +<a name="a31" doxytag="Server::ChangeUserNick"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1032,11 +1035,11 @@ Forces a user nickchange. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00479">479</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00480 { -00481 force_nickchange(user,nickname.c_str()); -00482 } +<div class="fragment"><pre>00404 { +00405 force_nickchange(user,nickname.c_str()); +00406 } </pre></div> </td> </tr> </table> @@ -1079,13 +1082,13 @@ Attempts to look up a user's privilages on a channel. <p> This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00612">612</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00536">536</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a14">cmode()</a>. <p> -<div class="fragment"><pre>00613 { -00614 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00615 } +<div class="fragment"><pre>00537 { +00538 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00539 } </pre></div> </td> </tr> </table> @@ -1128,13 +1131,13 @@ Returns true if two users share a common channel. <p> This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a11">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00560">560</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00484">484</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a0">common_channels()</a>. <p> -<div class="fragment"><pre>00561 { -00562 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00563 } +<div class="fragment"><pre>00485 { +00486 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); +00487 } </pre></div> </td> </tr> </table> @@ -1168,15 +1171,15 @@ Returns a count of the number of users on a channel. <p> This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00675">675</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00604">604</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00676 { -00677 <span class="keywordflow">return</span> usercount(c); -00678 } +<div class="fragment"><pre>00605 { +00606 <span class="keywordflow">return</span> usercount(c); +00607 } </pre></div> </td> </tr> </table> -<a name="a49" doxytag="Server::DelELine"></a><p> +<a name="a50" doxytag="Server::DelELine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1206,17 +1209,17 @@ Deletes a local E-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00775">775</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00704">704</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a10">del_eline()</a>. <p> -<div class="fragment"><pre>00776 { -00777 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); -00778 } +<div class="fragment"><pre>00705 { +00706 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); +00707 } </pre></div> </td> </tr> </table> -<a name="a45" doxytag="Server::DelGLine"></a><p> +<a name="a46" doxytag="Server::DelGLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1246,17 +1249,17 @@ Deletes a G-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00755">755</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00684">684</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a6">del_gline()</a>. <p> -<div class="fragment"><pre>00756 { -00757 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); -00758 } +<div class="fragment"><pre>00685 { +00686 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); +00687 } </pre></div> </td> </tr> </table> -<a name="a48" doxytag="Server::DelKLine"></a><p> +<a name="a49" doxytag="Server::DelKLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1286,17 +1289,17 @@ Deletes a local K-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00770">770</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00699">699</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a9">del_kline()</a>. <p> -<div class="fragment"><pre>00771 { -00772 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); -00773 } +<div class="fragment"><pre>00700 { +00701 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); +00702 } </pre></div> </td> </tr> </table> -<a name="a46" doxytag="Server::DelQLine"></a><p> +<a name="a47" doxytag="Server::DelQLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1326,17 +1329,17 @@ Deletes a Q-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00760">760</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00689">689</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a7">del_qline()</a>. <p> -<div class="fragment"><pre>00761 { -00762 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); -00763 } +<div class="fragment"><pre>00690 { +00691 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); +00692 } </pre></div> </td> </tr> </table> -<a name="a47" doxytag="Server::DelZLine"></a><p> +<a name="a48" doxytag="Server::DelZLine"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1366,13 +1369,13 @@ Deletes a Z-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00765">765</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00694">694</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="xline_8h.html#a8">del_zline()</a>. <p> -<div class="fragment"><pre>00766 { -00767 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); -00768 } +<div class="fragment"><pre>00695 { +00696 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); +00697 } </pre></div> </td> </tr> </table> @@ -1406,11 +1409,11 @@ Attempts to look up a channel and return a pointer to it. <p> This function will return NULL if the channel does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00607">607</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00531">531</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00608 { -00609 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00610 } +<div class="fragment"><pre>00532 { +00533 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00534 } </pre></div> </td> </tr> </table> @@ -1444,17 +1447,17 @@ Attempts to look up a nick using the file descriptor associated with that nick. <p> This function will return NULL if the file descriptor is not associated with a valid user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00602">602</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00526">526</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00119">fd_ref_table</a>. +References <a class="el" href="modules_8cpp-source.html#l00107">fd_ref_table</a>. <p> -<div class="fragment"><pre>00603 { -00604 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); -00605 } +<div class="fragment"><pre>00527 { +00528 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[socket] : NULL); +00529 } </pre></div> </td> </tr> </table> -<a name="a59" doxytag="Server::FindModule"></a><p> +<a name="a60" doxytag="Server::FindModule"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1484,20 +1487,20 @@ This function finds a module by name. <p> You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00858">858</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00787">787</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l01067">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00092">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00064">modules</a>. +References <a class="el" href="modules_8cpp-source.html#l00996">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00087">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00059">modules</a>. <p> -<div class="fragment"><pre>00859 { -00860 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) -00861 { -00862 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) -00863 { -00864 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; -00865 } -00866 } -00867 <span class="keywordflow">return</span> NULL; -00868 } +<div class="fragment"><pre>00788 { +00789 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) +00790 { +00791 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) +00792 { +00793 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; +00794 } +00795 } +00796 <span class="keywordflow">return</span> NULL; +00797 } </pre></div> </td> </tr> </table> @@ -1531,15 +1534,15 @@ Attempts to look up a nick and return a pointer to it. <p> This function will return NULL if the nick does not exist. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00597">597</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00521">521</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00598 { -00599 <span class="keywordflow">return</span> Find(nick); -00600 } +<div class="fragment"><pre>00522 { +00523 <span class="keywordflow">return</span> Find(nick); +00524 } </pre></div> </td> </tr> </table> -<a name="a22" doxytag="Server::GetAdmin"></a><p> +<a name="a23" doxytag="Server::GetAdmin"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1568,11 +1571,11 @@ Returns the information of the server as returned by the /ADMIN command. <p> See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#o2">Admin::Nick</a>, <a class="el" href="classAdmin.html#o1">Admin::Email</a> and <a class="el" href="classAdmin.html#o0">Admin::Name</a> contain the information for the server where the module is loaded. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00632">632</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00561">561</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00633 { -00634 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00635 } +<div class="fragment"><pre>00562 { +00563 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00564 } </pre></div> </td> </tr> </table> @@ -1605,11 +1608,48 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00627">627</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00551">551</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00552 { +00553 <span class="keywordflow">return</span> getnetworkname(); +00554 } +</pre></div> </td> + </tr> +</table> +<a name="a22" doxytag="Server::GetServerDescription"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string Server::GetServerDescription </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the server description string of the local server. +<p> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00556">556</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00628 { -00629 <span class="keywordflow">return</span> getnetworkname(); -00630 } +<div class="fragment"><pre>00557 { +00558 <span class="keywordflow">return</span> getserverdesc(); +00559 } </pre></div> </td> </tr> </table> @@ -1642,15 +1682,15 @@ Returns the server name of the server where the module is loaded. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00622">622</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00546">546</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00623 { -00624 <span class="keywordflow">return</span> getservername(); -00625 } +<div class="fragment"><pre>00547 { +00548 <span class="keywordflow">return</span> getservername(); +00549 } </pre></div> </td> </tr> </table> -<a name="a37" doxytag="Server::GetUsers"></a><p> +<a name="a38" doxytag="Server::GetUsers"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1680,21 +1720,21 @@ Fetches the userlist of a channel. <p> This function must be here and not a member of userrec or chanrec due to include constraints. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00467">467</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00227">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00078">list</a>. -<p> -<div class="fragment"><pre>00468 { -00469 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; -00470 userl.clear(); -00471 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); -00472 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) -00473 { -00474 <span class="keywordtype">char</span>* o = *i; -00475 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -00476 } -00477 <span class="keywordflow">return</span> userl; -00478 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00222">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00073">list</a>. +<p> +<div class="fragment"><pre>00392 { +00393 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; +00394 userl.clear(); +00395 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); +00396 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) +00397 { +00398 <span class="keywordtype">char</span>* o = *i; +00399 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +00400 } +00401 <span class="keywordflow">return</span> userl; +00402 } </pre></div> </td> </tr> </table> @@ -1728,13 +1768,13 @@ Returns true if a nick is valid. <p> Nicks for unregistered connections will return false. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00592">592</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00516">516</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a13">isnick()</a>. <p> -<div class="fragment"><pre>00593 { -00594 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00595 } +<div class="fragment"><pre>00517 { +00518 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00519 } </pre></div> </td> </tr> </table> @@ -1777,17 +1817,17 @@ Checks if a user is on a channel. <p> This function will return true or false to indicate if user 'User' is on channel 'Chan'. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00617">617</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00541">541</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="message_8h.html#a16">has_channel()</a>. <p> -<div class="fragment"><pre>00618 { -00619 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00620 } +<div class="fragment"><pre>00542 { +00543 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00544 } </pre></div> </td> </tr> </table> -<a name="a36" doxytag="Server::IsUlined"></a><p> +<a name="a37" doxytag="Server::IsUlined"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1817,17 +1857,17 @@ Returns true if the servername you give is ulined. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00489">489</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="commands_8h.html#a74">is_uline()</a>. <p> -<div class="fragment"><pre>00490 { -00491 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); -00492 } +<div class="fragment"><pre>00414 { +00415 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00416 } </pre></div> </td> </tr> </table> -<a name="a51" doxytag="Server::IsValidMask"></a><p> +<a name="a52" doxytag="Server::IsValidMask"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1857,39 +1897,39 @@ Returns true if a nick!ident string is correctly formatted, false if otherwise. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00785">785</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00786 { -00787 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -00788 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -00789 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00790 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -00791 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00792 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00793 <span class="keywordflow">if</span> (dest[i] < 32) -00794 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00795 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00796 <span class="keywordflow">if</span> (dest[i] > 126) -00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00798 <span class="keywordtype">int</span> c = 0; -00799 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00800 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -00801 c++; -00802 <span class="keywordflow">if</span> (c>1) -00803 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00804 c = 0; -00805 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00806 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -00807 c++; -00808 <span class="keywordflow">if</span> (c>1) -00809 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00810 -00811 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00812 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00714">714</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00715 { +00716 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +00717 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +00718 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00719 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +00720 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00721 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00722 <span class="keywordflow">if</span> (dest[i] < 32) +00723 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00724 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00725 <span class="keywordflow">if</span> (dest[i] > 126) +00726 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00727 <span class="keywordtype">int</span> c = 0; +00728 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00729 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +00730 c++; +00731 <span class="keywordflow">if</span> (c>1) +00732 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00733 c = 0; +00734 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00735 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +00736 c++; +00737 <span class="keywordflow">if</span> (c>1) +00738 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00739 +00740 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00741 } </pre></div> </td> </tr> </table> -<a name="a28" doxytag="Server::JoinUserToChannel"></a><p> +<a name="a29" doxytag="Server::JoinUserToChannel"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1934,11 +1974,11 @@ Forces a user to join a channel. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00381">381</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00458 { -00459 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -00460 } +<div class="fragment"><pre>00382 { +00383 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +00384 } </pre></div> </td> </tr> </table> @@ -1981,15 +2021,15 @@ Writes a log string. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00499">499</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00423">423</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00500 { -00501 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00502 } +<div class="fragment"><pre>00424 { +00425 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00426 } </pre></div> </td> </tr> </table> -<a name="a32" doxytag="Server::MatchText"></a><p> +<a name="a33" doxytag="Server::MatchText"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2028,18 +2068,18 @@ Matches text against a glob pattern. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00444">444</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00445 { -00446 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00447 strlcpy(literal,sliteral.c_str(),MAXBUF); -00448 strlcpy(pattern,spattern.c_str(),MAXBUF); -00449 <span class="keywordflow">return</span> match(literal,pattern); -00450 } +<div class="fragment"><pre>00369 { +00370 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00371 strlcpy(literal,sliteral.c_str(),MAXBUF); +00372 strlcpy(pattern,spattern.c_str(),MAXBUF); +00373 <span class="keywordflow">return</span> match(literal,pattern); +00374 } </pre></div> </td> </tr> </table> -<a name="a57" doxytag="Server::MeshCheckChan"></a><p> +<a name="a58" doxytag="Server::MeshCheckChan"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2078,19 +2118,19 @@ This function is used to check if any users on channel c are on server servernam <p> This is used internally by PRIVMSG etc. You should not need to use it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00840">840</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00769">769</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00841 { -00842 <span class="keywordflow">if</span> (c) -00843 { -00844 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); -00845 } -00846 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00847 } +<div class="fragment"><pre>00770 { +00771 <span class="keywordflow">if</span> (c) +00772 { +00773 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); +00774 } +00775 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00776 } </pre></div> </td> </tr> </table> -<a name="a58" doxytag="Server::MeshCheckCommon"></a><p> +<a name="a59" doxytag="Server::MeshCheckCommon"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2127,21 +2167,21 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00840">840</a> <p> This function is used to check if user u has any channels in common with users on servername. <p> -This is used internally by <a class="el" href="classServer.html#a53">Server::MeshSendCommon</a>. You should very rarely need to use it. +This is used internally by <a class="el" href="classServer.html#a54">Server::MeshSendCommon</a>. You should very rarely need to use it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00849">849</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00778">778</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00850 { -00851 <span class="keywordflow">if</span> (u) -00852 { -00853 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); -00854 } -00855 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00856 } +<div class="fragment"><pre>00779 { +00780 <span class="keywordflow">if</span> (u) +00781 { +00782 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); +00783 } +00784 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00785 } </pre></div> </td> </tr> </table> -<a name="a52" doxytag="Server::MeshSendAll"></a><p> +<a name="a53" doxytag="Server::MeshSendAll"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2171,15 +2211,15 @@ Sends a line of text to all connected servers. <p> If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00814">814</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00743">743</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00815 { -00816 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); -00817 } +<div class="fragment"><pre>00744 { +00745 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); +00746 } </pre></div> </td> </tr> </table> -<a name="a54" doxytag="Server::MeshSendAllAlive"></a><p> +<a name="a55" doxytag="Server::MeshSendAllAlive"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2209,15 +2249,15 @@ This function is equivalent to Server::MeshSendToAll except it will only route t <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00825">825</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00754">754</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00826 { -00827 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); -00828 } +<div class="fragment"><pre>00755 { +00756 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); +00757 } </pre></div> </td> </tr> </table> -<a name="a56" doxytag="Server::MeshSendAllExcept"></a><p> +<a name="a57" doxytag="Server::MeshSendAllExcept"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2256,15 +2296,15 @@ This function sends to all servers EXCEPT the one you specify. <p> You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00835">835</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00764">764</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00836 { -00837 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00838 } +<div class="fragment"><pre>00765 { +00766 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00767 } </pre></div> </td> </tr> </table> -<a name="a53" doxytag="Server::MeshSendCommon"></a><p> +<a name="a54" doxytag="Server::MeshSendCommon"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2303,16 +2343,16 @@ This method sends a line of text to all servers who have users which share commo <p> 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!) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00819">819</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00748">748</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00820 { -00821 <span class="keywordflow">if</span> (user) -00822 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); -00823 } +<div class="fragment"><pre>00749 { +00750 <span class="keywordflow">if</span> (user) +00751 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); +00752 } </pre></div> </td> </tr> </table> -<a name="a55" doxytag="Server::MeshSendUnicast"></a><p> +<a name="a56" doxytag="Server::MeshSendUnicast"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2351,15 +2391,15 @@ This function sends a line of text directly to a server. <p> If the server is not directly routable at this time, the server attempts to route text through the mesh. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00830">830</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00759">759</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00831 { -00832 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00833 } +<div class="fragment"><pre>00760 { +00761 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00762 } </pre></div> </td> </tr> </table> -<a name="a29" doxytag="Server::PartUserFromChannel"></a><p> +<a name="a30" doxytag="Server::PartUserFromChannel"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2404,15 +2444,15 @@ Forces a user to part a channel. <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00462">462</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00463 { -00464 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -00465 } +<div class="fragment"><pre>00387 { +00388 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00389 } </pre></div> </td> </tr> </table> -<a name="a39" doxytag="Server::PseudoToUser"></a><p> +<a name="a40" doxytag="Server::PseudoToUser"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2457,42 +2497,42 @@ This user takes one user, and switches their file descriptor with another user, <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00700">700</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00203">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00119">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>. -<p> -<div class="fragment"><pre>00701 { -00702 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; -00703 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00704 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00705 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); -00706 kill_link(alive,message.c_str()); -00707 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; -00708 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -00709 { -00710 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) -00711 { -00712 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) -00713 { -00714 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; -00715 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00716 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) -00717 { -00718 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); -00719 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); -00720 } -00721 userlist(zombie,Ptr); -00722 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00723 -00724 } -00725 } -00726 } -00727 -00728 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00629">629</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00209">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00107">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00221">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>. +<p> +<div class="fragment"><pre>00630 { +00631 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; +00632 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00633 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00634 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); +00635 kill_link(alive,message.c_str()); +00636 <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; +00637 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +00638 { +00639 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) +00640 { +00641 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) +00642 { +00643 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; +00644 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00645 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) +00646 { +00647 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); +00648 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); +00649 } +00650 userlist(zombie,Ptr); +00651 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00652 +00653 } +00654 } +00655 } +00656 +00657 } </pre></div> </td> </tr> </table> -<a name="a31" doxytag="Server::QuitUser"></a><p> +<a name="a32" doxytag="Server::QuitUser"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2533,11 +2573,11 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa WARNING!<p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00484">484</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00408">408</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00485 { -00486 kill_link(user,reason.c_str()); -00487 } +<div class="fragment"><pre>00409 { +00410 kill_link(user,reason.c_str()); +00411 } </pre></div> </td> </tr> </table> @@ -2580,11 +2620,11 @@ Sends a line of text down a TCP/IP socket. <p> This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00514">514</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00438">438</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00515 { -00516 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00517 } +<div class="fragment"><pre>00439 { +00440 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00441 } </pre></div> </td> </tr> </table> @@ -2639,18 +2679,18 @@ Sends text from a user to a channel (mulicast). <p> 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). <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00548">548</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00549 { -00550 <span class="keywordflow">if</span> (IncludeSender) -00551 { -00552 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00553 } -00554 <span class="keywordflow">else</span> -00555 { -00556 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00557 } -00558 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00472">472</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00473 { +00474 <span class="keywordflow">if</span> (IncludeSender) +00475 { +00476 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00477 } +00478 <span class="keywordflow">else</span> +00479 { +00480 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00481 } +00482 } </pre></div> </td> </tr> </table> @@ -2699,11 +2739,11 @@ Writes text to a channel, but from a server, including all. <p> This can be used to send server notices to a group of users. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00543">543</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00467">467</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00544 { -00545 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -00546 } +<div class="fragment"><pre>00468 { +00469 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +00470 } </pre></div> </td> </tr> </table> @@ -2752,18 +2792,18 @@ Sends text from a user to one or more channels (mulicast). <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00565">565</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00566 { -00567 <span class="keywordflow">if</span> (IncludeSender) -00568 { -00569 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00570 } -00571 <span class="keywordflow">else</span> -00572 { -00573 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00574 } -00575 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00489">489</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +<div class="fragment"><pre>00490 { +00491 <span class="keywordflow">if</span> (IncludeSender) +00492 { +00493 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00494 } +00495 <span class="keywordflow">else</span> +00496 { +00497 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00498 } +00499 } </pre></div> </td> </tr> </table> @@ -2812,15 +2852,15 @@ Sends text from a user to a socket. <p> 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) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00524">524</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00448">448</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00525 { -00526 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00527 } +<div class="fragment"><pre>00449 { +00450 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00451 } </pre></div> </td> </tr> </table> -<a name="a26" doxytag="Server::SendMode"></a><p> +<a name="a27" doxytag="Server::SendMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -2872,13 +2912,13 @@ modes[2] = user->nick;<p> Srv->SendMode(modes,3,user);<p> 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! <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00509">509</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00433">433</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> References <a class="el" href="modules_8h.html#a36">server_mode()</a>. <p> -<div class="fragment"><pre>00510 { -00511 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); -00512 } +<div class="fragment"><pre>00434 { +00435 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); +00436 } </pre></div> </td> </tr> </table> @@ -2912,11 +2952,11 @@ Sends text to all opers. <p> This method sends a server notice to all opers with the usermode +s. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00439">439</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00440 { -00441 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00442 } +<div class="fragment"><pre>00364 { +00365 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +00366 } </pre></div> </td> </tr> </table> @@ -2959,11 +2999,11 @@ Sends text from the server to a socket. <p> This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459) <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00519">519</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00443">443</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00520 { -00521 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00522 } +<div class="fragment"><pre>00444 { +00445 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00446 } </pre></div> </td> </tr> </table> @@ -3016,26 +3056,26 @@ The format will become:<p> :localserver TEXT<p> Which is useful for numerics and server notices to single users, etc. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00529">529</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>. -<p> -<div class="fragment"><pre>00530 { -00531 <span class="keywordflow">if</span> (!Source) -00532 { -00533 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00534 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00535 } -00536 <span class="keywordflow">else</span> -00537 { -00538 <span class="comment">// otherwise it comes from the user specified</span> -00539 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00540 } -00541 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00453">453</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>. +<p> +<div class="fragment"><pre>00454 { +00455 <span class="keywordflow">if</span> (!Source) +00456 { +00457 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00458 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00459 } +00460 <span class="keywordflow">else</span> +00461 { +00462 <span class="comment">// otherwise it comes from the user specified</span> +00463 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00464 } +00465 } </pre></div> </td> </tr> </table> -<a name="a27" doxytag="Server::SendToModeMask"></a><p> +<a name="a28" doxytag="Server::SendToModeMask"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3082,11 +3122,11 @@ These can be RFC specified modes such as +i, or module provided modes, including Serv->SendToModeMask("xi", WM_OR, "m00");<p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00452">452</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00453 { -00454 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00455 } +<div class="fragment"><pre>00377 { +00378 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00379 } </pre></div> </td> </tr> </table> @@ -3129,15 +3169,15 @@ Sends a WALLOPS message. <p> This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00501">501</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00578 { -00579 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00580 } +<div class="fragment"><pre>00502 { +00503 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00504 } </pre></div> </td> </tr> </table> -<a name="a38" doxytag="Server::UserToPseudo"></a><p> +<a name="a39" doxytag="Server::UserToPseudo"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -3176,33 +3216,33 @@ Remove a user's connection to the irc server, but leave their client in existenc <p> 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. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00681">681</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00203">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, and <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>. -<p> -<div class="fragment"><pre>00682 { -00683 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; -00684 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00685 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00686 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); -00687 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00688 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -00689 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -00690 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -00691 <span class="keywordflow">if</span> (i == -1) -00692 { -00693 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -00694 } -00695 <span class="preprocessor">#endif</span> -00696 <span class="preprocessor"></span> shutdown(old_fd,2); -00697 close(old_fd); -00698 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00610">610</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00209">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00221">connection::host</a>, and <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>. +<p> +<div class="fragment"><pre>00611 { +00612 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; +00613 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00614 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00615 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); +00616 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00617 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +00618 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); +00619 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); +00620 <span class="keywordflow">if</span> (i == -1) +00621 { +00622 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); +00623 } +00624 <span class="preprocessor">#endif</span> +00625 <span class="preprocessor"></span> shutdown(old_fd,2); +00626 close(old_fd); +00627 } </pre></div> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:55 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:43 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 14be1c20a..8bfb03d10 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Version Member List</h1>This is the complete list of members for <a class="el" href="classVersion.html">Version</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classVersion.html#o3">Build</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classVersion.html#o2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:07 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:52 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 3f83fc228..2a3373493 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Version Class Reference</h1>Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module. <a href="#_details">More...</a> <p> @@ -98,9 +98,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00111">111</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00234">234</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00310 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { }; +<div class="fragment"><pre>00234 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { }; </pre></div> </td> </tr> </table> @@ -227,7 +227,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:52 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html index 709b32406..31f07221d 100644 --- a/docs/module-doc/classWhoWasUser-members.html +++ b/docs/module-doc/classWhoWasUser-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>WhoWasUser Member List</h1>This is the complete list of members for <a class="el" href="classWhoWasUser.html">WhoWasUser</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o2">dhost</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o4">fullname</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o0">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o5">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o6">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:07 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:53 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html index 5958d81dd..cc427000f 100644 --- a/docs/module-doc/classWhoWasUser.html +++ b/docs/module-doc/classWhoWasUser.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>WhoWasUser Class Reference</h1>A lightweight userrec used by WHOWAS. <a href="#_details">More...</a> <p> @@ -34,7 +34,7 @@ A lightweight userrec used by WHOWAS. <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00315">315</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2> +Definition at line <a class="el" href="users_8h-source.html#l00318">318</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2> <a name="o2" doxytag="WhoWasUser::dhost"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -56,7 +56,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00315">315</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00320">320</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00323">323</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o4" doxytag="WhoWasUser::fullname"></a><p> @@ -80,7 +80,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00320">320</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00322">322</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00325">325</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o3" doxytag="WhoWasUser::host"></a><p> @@ -104,7 +104,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00322">322</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00321">321</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00324">324</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o1" doxytag="WhoWasUser::ident"></a><p> @@ -128,7 +128,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00321">321</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00319">319</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00322">322</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o0" doxytag="WhoWasUser::nick"></a><p> @@ -152,7 +152,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00319">319</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00318">318</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00321">321</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o5" doxytag="WhoWasUser::server"></a><p> @@ -176,7 +176,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00318">318</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00323">323</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00326">326</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <a name="o6" doxytag="WhoWasUser::signon"></a><p> @@ -200,12 +200,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00323">323</a> of f <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00324">324</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00327">327</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="users_8h-source.html">users.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:07 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:53 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index f2cb45c69..0e58b98e8 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>XLine Member List</h1>This is the complete list of members for <a class="el" href="classXLine.html">XLine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:08 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index ab642ac68..43585dca1 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>XLine Class Reference</h1>XLine is the base class for ban lines such as G lines and K lines. <a href="#_details">More...</a> <p> @@ -180,7 +180,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</a> of fi </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:08 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index 21836295a..e3e93500b 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ZLine Member List</h1>This is the complete list of members for <a class="el" href="classZLine.html">ZLine</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:55 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index 67b73386c..cd558704a 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ZLine Class Reference</h1>ZLine class. <a href="#_details">More...</a> <p> @@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="xline_8h-source.html">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:55 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 2a25bf948..80ec39cf3 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>chanrec Member List</h1>This is the complete list of members for <a class="el" href="classchanrec.html">chanrec</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classchanrec.html#a5">AddUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> @@ -33,7 +33,7 @@ <tr class="memlist"><td><a class="el" href="classchanrec.html#o5">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classchanrec.html#a9">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:22 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index f3cd20fae..1e44bd8e0 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>chanrec Class Reference</h1>Holds all relevent information for a channel. <a href="#_details">More...</a> <p> @@ -124,20 +124,20 @@ Creates a channel record and initialises it with default values. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00113">113</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00108">108</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="channels_8h-source.html#l00145">binarymodes</a>, <a class="el" href="channels_8h-source.html#l00123">created</a>, <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>, <a class="el" href="channels_8h-source.html#l00141">key</a>, <a class="el" href="channels_8h-source.html#l00136">limit</a>, <a class="el" href="channels_8h-source.html#l00106">name</a>, <a class="el" href="channels_8h-source.html#l00131">setby</a>, <a class="el" href="channels_8h-source.html#l00120">topic</a>, and <a class="el" href="channels_8h-source.html#l00127">topicset</a>. <p> -<div class="fragment"><pre>00114 { -00115 strcpy(name,<span class="stringliteral">""</span>); -00116 strcpy(custom_modes,<span class="stringliteral">""</span>); -00117 strcpy(topic,<span class="stringliteral">""</span>); -00118 strcpy(setby,<span class="stringliteral">""</span>); -00119 strcpy(key,<span class="stringliteral">""</span>); -00120 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; -00121 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; -00122 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); -00123 } +<div class="fragment"><pre>00109 { +00110 strcpy(name,<span class="stringliteral">""</span>); +00111 strcpy(custom_modes,<span class="stringliteral">""</span>); +00112 strcpy(topic,<span class="stringliteral">""</span>); +00113 strcpy(setby,<span class="stringliteral">""</span>); +00114 strcpy(key,<span class="stringliteral">""</span>); +00115 <a class="code" href="classchanrec.html#o4">created</a> = <a class="code" href="classchanrec.html#o5">topicset</a> = <a class="code" href="classchanrec.html#o7">limit</a> = 0; +00116 <a class="code" href="classchanrec.html#o9">binarymodes</a> = 0; +00117 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.clear(); +00118 } </pre></div> </td> </tr> </table> @@ -205,14 +205,14 @@ Add a user pointer to the internal reference list The data inserted into the ref <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00207">207</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00202">202</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -<div class="fragment"><pre>00208 { -00209 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); -00210 log(DEBUG,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -00211 } +<div class="fragment"><pre>00203 { +00204 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.push_back(castuser); +00205 log(DEBUG,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +00206 } </pre></div> </td> </tr> </table> @@ -246,22 +246,22 @@ Delete a user pointer to the internal reference list The data removed from the r <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00213">213</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00208">208</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>, and <a class="el" href="channels_8h-source.html#l00106">name</a>. <p> -<div class="fragment"><pre>00214 { -00215 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) -00216 { -00217 <span class="keywordflow">if</span> (*a == castuser) -00218 { -00219 log(DEBUG,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -00220 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); -00221 <span class="keywordflow">return</span>; -00222 } -00223 } -00224 log(DEBUG,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,name); -00225 } +<div class="fragment"><pre>00209 { +00210 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#o2">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#o2">internal_userlist</a>.end(); a++) +00211 { +00212 <span class="keywordflow">if</span> (*a == castuser) +00213 { +00214 log(DEBUG,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +00215 <a class="code" href="classchanrec.html#o2">internal_userlist</a>.erase(a); +00216 <span class="keywordflow">return</span>; +00217 } +00218 } +00219 log(DEBUG,<span class="stringliteral">"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!"</span>,name); +00220 } </pre></div> </td> </tr> </table> @@ -295,23 +295,23 @@ Returns the parameter for a custom mode on a channel. <p> For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00187">187</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>. -<p> -<div class="fragment"><pre>00188 { -00189 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) -00190 { -00191 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) -00192 { -00193 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00194 { -00195 <span class="keywordflow">return</span> i->parameter; -00196 } -00197 } -00198 } -00199 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00200 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00182">182</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00106">custom_mode_params</a>. +<p> +<div class="fragment"><pre>00183 { +00184 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00185 { +00186 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00187 { +00188 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00189 { +00190 <span class="keywordflow">return</span> i->parameter; +00191 } +00192 } +00193 } +00194 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00195 } </pre></div> </td> </tr> </table> @@ -344,13 +344,13 @@ Obtain the channel "user counter" This returns the channel reference counter, wh <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00202">202</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00197">197</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -<div class="fragment"><pre>00203 { -00204 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); -00205 } +<div class="fragment"><pre>00198 { +00199 <span class="keywordflow">return</span> (this-><a class="code" href="classchanrec.html#o2">internal_userlist</a>.size()); +00200 } </pre></div> </td> </tr> </table> @@ -383,15 +383,15 @@ Obrain the internal reference list The internal reference list contains a list o <p> These are used for rapid comparison to determine channel membership for PRIVMSG, NOTICE, QUIT, PART etc. The resulting pointer to the vector should be considered readonly and only modified via AddUser and DelUser. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00227">227</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00222">222</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00391">Server::GetUsers()</a>. <p> -<div class="fragment"><pre>00228 { -00229 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; -00230 } +<div class="fragment"><pre>00223 { +00224 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#o2">internal_userlist</a>; +00225 } </pre></div> </td> </tr> </table> @@ -425,14 +425,14 @@ Returns true if a custom mode is set on a channel. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00181">181</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00176">176</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>. <p> -<div class="fragment"><pre>00182 { -00183 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); -00184 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); -00185 } +<div class="fragment"><pre>00177 { +00178 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes); +00179 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0); +00180 } </pre></div> </td> </tr> </table> @@ -475,32 +475,32 @@ Sets or unsets a custom mode in the channels info. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00125">125</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00150">SetCustomModeParam()</a>. -<p> -<div class="fragment"><pre>00126 { -00127 <span class="keywordflow">if</span> (mode_on) { -00128 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; -00129 m[0] = mode; -00130 m[1] = <span class="charliteral">'\0'</span>; -00131 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -00132 { -00133 strlcat(custom_modes,m,MAXMODES); -00134 } -00135 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode); -00136 } -00137 <span class="keywordflow">else</span> { +Definition at line <a class="el" href="channels_8cpp-source.html#l00120">120</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00145">SetCustomModeParam()</a>. +<p> +<div class="fragment"><pre>00121 { +00122 <span class="keywordflow">if</span> (mode_on) { +00123 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; +00124 m[0] = mode; +00125 m[1] = <span class="charliteral">'\0'</span>; +00126 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +00127 { +00128 strlcat(custom_modes,m,MAXMODES); +00129 } +00130 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode); +00131 } +00132 <span class="keywordflow">else</span> { +00133 +00134 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; +00135 <span class="keywordtype">int</span> pos = a.find(mode); +00136 a.erase(pos,1); +00137 strncpy(this->custom_modes,a.c_str(),MAXMODES); 00138 -00139 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>; -00140 <span class="keywordtype">int</span> pos = a.find(mode); -00141 a.erase(pos,1); -00142 strncpy(this->custom_modes,a.c_str(),MAXMODES); -00143 -00144 log(DEBUG,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -00145 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -00146 } -00147 } +00139 log(DEBUG,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +00140 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +00141 } +00142 } </pre></div> </td> </tr> </table> @@ -549,41 +549,41 @@ Sets or unsets the parameters for a custom mode in a channels info. <p> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00150">150</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00145">145</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="channels_8h-source.html#l00082">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00080">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00081">ModeParameter::parameter</a>. +References <a class="el" href="channels_8h-source.html#l00082">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00106">custom_mode_params</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00080">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00081">ModeParameter::parameter</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00125">SetCustomMode()</a>. +Referenced by <a class="el" href="channels_8cpp-source.html#l00120">SetCustomMode()</a>. <p> -<div class="fragment"><pre>00151 { -00152 -00153 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>); -00154 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -00155 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; -00156 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); -00157 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); -00158 <span class="keywordflow">if</span> (mode_on) +<div class="fragment"><pre>00146 { +00147 +00148 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>); +00149 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +00150 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode; +00151 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX); +00152 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF); +00153 <span class="keywordflow">if</span> (mode_on) +00154 { +00155 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +00156 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); +00157 } +00158 <span class="keywordflow">else</span> 00159 { -00160 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -00161 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M); -00162 } -00163 <span class="keywordflow">else</span> -00164 { -00165 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) -00166 { -00167 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) -00168 { -00169 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -00170 { -00171 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -00172 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); -00173 <span class="keywordflow">return</span>; -00174 } -00175 } -00176 } -00177 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -00178 } -00179 } +00160 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size()) +00161 { +00162 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++) +00163 { +00164 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00165 { +00166 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +00167 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i); +00168 <span class="keywordflow">return</span>; +00169 } +00170 } +00171 } +00172 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +00173 } +00174 } </pre></div> </td> </tr> </table> @@ -639,7 +639,7 @@ Contains a bitmask of the CM_* builtin (RFC) binary mode symbols. <p> Definition at line <a class="el" href="channels_8h-source.html#l00145">145</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>. </td> </tr> </table> <a name="o4" doxytag="chanrec::created"></a><p> @@ -667,7 +667,7 @@ Creation time. <p> Definition at line <a class="el" href="channels_8h-source.html#l00123">123</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>. </td> </tr> </table> <a name="o1" doxytag="chanrec::custom_modes"></a><p> @@ -695,7 +695,7 @@ Plugins may use this field in any way they see fit. <p> Definition at line <a class="el" href="channels_8h-source.html#l00110">110</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00125">SetCustomMode()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00120">SetCustomMode()</a>. </td> </tr> </table> <a name="o2" doxytag="chanrec::internal_userlist"></a><p> @@ -723,7 +723,7 @@ User list (casted to char*'s to stop forward declaration stuff) (chicken and egg <p> Definition at line <a class="el" href="channels_8h-source.html#l00115">115</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00207">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00213">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00202">GetUserCounter()</a>, and <a class="el" href="channels_8cpp-source.html#l00227">GetUsers()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00202">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00208">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00197">GetUserCounter()</a>, and <a class="el" href="channels_8cpp-source.html#l00222">GetUsers()</a>. </td> </tr> </table> <a name="o8" doxytag="chanrec::key"></a><p> @@ -751,7 +751,7 @@ If this value is an empty string, there is no channel key in place. <p> Definition at line <a class="el" href="channels_8h-source.html#l00141">141</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>. </td> </tr> </table> <a name="o7" doxytag="chanrec::limit"></a><p> @@ -779,7 +779,7 @@ If this value is zero, there is no limit in place. <p> Definition at line <a class="el" href="channels_8h-source.html#l00136">136</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>. </td> </tr> </table> <a name="o0" doxytag="chanrec::name"></a><p> @@ -807,7 +807,7 @@ The channels name. <p> Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00213">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00208">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>. </td> </tr> </table> <a name="o6" doxytag="chanrec::setby"></a><p> @@ -835,7 +835,7 @@ If this member is an empty string, no topic was ever set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00131">131</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>. </td> </tr> </table> <a name="o3" doxytag="chanrec::topic"></a><p> @@ -863,7 +863,7 @@ If this is an empty string, no channel topic is set. <p> Definition at line <a class="el" href="channels_8h-source.html#l00120">120</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>. </td> </tr> </table> <a name="o5" doxytag="chanrec::topicset"></a><p> @@ -891,12 +891,12 @@ If no topic was ever set, this will be equal to <a class="el" href="classchanrec <p> Definition at line <a class="el" href="channels_8h-source.html#l00127">127</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00108">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:22 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:01 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 1dfdbdbd5..1b414f3e3 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -4,12 +4,12 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>classbase Member List</h1>This is the complete list of members for <a class="el" href="classclassbase.html">classbase</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:23 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 6eda601a3..6d425626f 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>classbase Class Reference</h1>The base class for all inspircd classes. <a href="#_details">More...</a> <p> @@ -150,7 +150,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>. </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="base_8h-source.html">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:23 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 76cd68860..b5961a903 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>command_t Member List</h1>This is the complete list of members for <a class="el" href="classcommand__t.html">command_t</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classcommand__t.html#o5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classcommand__t.html#o4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:25 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index ddb05c0f6..2b436c462 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>command_t Class Reference</h1>A structure that defines a command. <a href="#_details">More...</a> <p> @@ -235,7 +235,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</a> of </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:25 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:07 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index e2b8b6d94..88b889780 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>connection Member List</h1>This is the complete list of members for <a class="el" href="classconnection.html">connection</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classconnection.html#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> @@ -29,14 +29,14 @@ <tr class="memlist"><td><a class="el" href="classconnection.html#a3">MeshCookie</a>(char *targethost, int port, unsigned long cookie, char *servername)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o13">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host, std::deque< std::string > &sums)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a5">SendPacket</a>(char *message, const char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:30 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:15 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index f98b623a9..934d2b485 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>connection Class Reference</h1>Please note: classes serverrec and userrec both inherit from class connection. <a href="#_details">More...</a> <p> @@ -42,7 +42,7 @@ Inheritance diagram for connection:<p><center><img src="classconnection__inherit <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a5">SendPacket</a> (char *message, const char *<a class="el" href="classconnection.html#o1">host</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Send a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. </em> <a href="#a5"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a6">RecvPacket</a> (std::deque< std::string > &messages, char *<a class="el" href="classconnection.html#o1">host</a>)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a6">RecvPacket</a> (std::deque< std::string > &messages, char *<a class="el" href="classconnection.html#o1">host</a>, std::deque< std::string > &sums)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the next available packet and returns true if data is available. </em> <a href="#a6"></a><em><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classircd__connector.html">ircd_connector</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a7">FindHost</a> (std::string <a class="el" href="classconnection.html#o1">host</a>)</td></tr> @@ -103,7 +103,7 @@ Please note: classes serverrec and userrec both inherit from class connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00210">210</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="connection_8h-source.html#l00212">212</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="connection::connection"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -377,7 +377,13 @@ Begin an outbound mesh link to another ircd on a network you are already an auth <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>host</em></td> + <td class="mdname" nowrap> <em>host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::deque< std::string > & </td> + <td class="mdname" nowrap> <em>sums</em></td> </tr> <tr> <td></td> @@ -497,9 +503,9 @@ Stats counter for bytes inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00227">227</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00229">229</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o4" doxytag="connection::bytes_out"></a><p> @@ -525,9 +531,9 @@ Stats counter for bytes outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00231">231</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00233">233</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00241">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00247">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o5" doxytag="connection::cmds_in"></a><p> @@ -553,9 +559,9 @@ Stats counter for commands inbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00235">235</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00237">237</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o6" doxytag="connection::cmds_out"></a><p> @@ -581,9 +587,9 @@ Stats counter for commands outbound. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00239">239</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00241">241</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00241">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00247">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o14" doxytag="connection::connectors"></a><p> @@ -609,7 +615,7 @@ With a serverrec, this is a list of all established server connections. <p> With a userrec this is unused. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00274">274</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00276">276</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o0" doxytag="connection::fd"></a><p> @@ -635,9 +641,9 @@ File descriptor of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00215">215</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00217">217</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00967">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00529">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00453">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00027">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="o7" doxytag="connection::haspassed"></a><p> @@ -663,9 +669,9 @@ True if server/user has authenticated, false if otherwise. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00243">243</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00245">245</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o1" doxytag="connection::host"></a><p> @@ -691,9 +697,9 @@ Hostname of connection. <p> Not used if this is a serverrec <p> -Definition at line <a class="el" href="connection_8h-source.html#l00219">219</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00221">221</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00068">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00069">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="o12" doxytag="connection::idle_lastmsg"></a><p> @@ -719,9 +725,9 @@ Time that the connection last sent data, used to calculate idle time. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00265">265</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00267">267</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o2" doxytag="connection::ip"></a><p> @@ -747,9 +753,9 @@ IP of connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00223">223</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00225">225</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o10" doxytag="connection::lastping"></a><p> @@ -775,9 +781,9 @@ Time the connection was last pinged. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00257">257</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00259">259</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o13" doxytag="connection::nping"></a><p> @@ -803,9 +809,9 @@ Used by PING checks with clients. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00269">269</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00271">271</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o8" doxytag="connection::port"></a><p> @@ -831,9 +837,9 @@ Port number For a userrec, this is the port they connected to the network on. <p> For a serverrec this is the current listening port of the serverrec object. <p> -Definition at line <a class="el" href="connection_8h-source.html#l00249">249</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00251">251</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o9" doxytag="connection::registered"></a><p> @@ -859,9 +865,9 @@ Used by userrec to indicate the registration status of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00253">253</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00255">255</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o11" doxytag="connection::signon"></a><p> @@ -887,14 +893,14 @@ Time the connection was created, set in the constructor. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00261">261</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. +Definition at line <a class="el" href="connection_8h-source.html#l00263">263</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:30 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:15 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 76a458194..0a2857acb 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -4,29 +4,29 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindexHL" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindexHL" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Compound Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0"> <tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> -</td><td><a class="el" href="classDNS.html">DNS</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> -</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="structStrHashComp.html">StrHashComp</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> +</td><td><a class="el" href="classDNS.html">DNS</a> </td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </td><td><a class="el" href="structStrHashComp.html">StrHashComp</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> +</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> -</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> N </div></td></tr></table> -</td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> -</td><td><a class="el" href="classEvent.html">Event</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> -</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> +</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> N </div></td></tr></table> +</td><td><a class="el" href="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a class="el" href="classInvited.html">Invited</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> +</td><td><a class="el" href="classEvent.html">Event</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a> </td><td><a class="el" href="classExemptItem.html">ExemptItem</a> </td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> +</td><td><a class="el" href="classVersion.html">Version</a> </td></tr><tr><td><a class="el" href="classstd_1_1char__traits.html">char_traits</a> (<a class="el" href="namespacestd.html">std</a>) </td><td><a class="el" href="classExtensible.html">Extensible</a> </td><td><a class="el" href="classircd__connector.html">ircd_connector</a> </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> -</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> +</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> </td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> -</td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> +</td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> </td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="classServer.html">Server</a> </td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> -</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> -</td><td><a class="el" href="classGLine.html">GLine</a> </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +</td></tr><tr><td><a class="el" href="classconnection.html">connection</a> </td><td><a class="el" href="classGLine.html">GLine</a> </td><td><a class="el" href="classModule.html">Module</a> </td><td><a class="el" href="classserverrec.html">serverrec</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> +</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> +</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index 5ba71d6f8..fc18a6a4d 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ircd_connector Member List</h1>This is the complete list of members for <a class="el" href="classircd__connector.html">ircd_connector</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classircd__connector.html#a14">AddBuffer</a>(std::string a)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classircd__connector.html#r0">addr</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> @@ -43,7 +43,7 @@ <tr class="memlist"><td><a class="el" href="classircd__connector.html#r4">state</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classircd__connector.html#r5">version</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:44 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:32 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index fd911333d..1180bca0c 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ircd_connector Class Reference</h1>Each connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds. <a href="#_details">More...</a> <p> @@ -127,7 +127,7 @@ A listening socket that accepts server type connections is represented by one cl <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Member Function Documentation</h2> +Definition at line <a class="el" href="connection_8h-source.html#l00056">56</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Member Function Documentation</h2> <a name="a14" doxytag="ircd_connector::AddBuffer"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -819,7 +819,7 @@ Sockaddr of the outbound ip and port. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00059">59</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00061">61</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="r3" doxytag="ircd_connector::description"></a><p> @@ -845,7 +845,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00059">59</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00071">71</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00073">73</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="r1" doxytag="ircd_connector::fd"></a><p> @@ -871,7 +871,7 @@ File descriptor of the connection. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00063">63</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00065">65</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o1" doxytag="ircd_connector::host"></a><p> @@ -897,7 +897,7 @@ When MakeOutboundConnection is called, these public members are filled with the <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00099">99</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00101">101</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o0" doxytag="ircd_connector::ircdbuffer"></a><p> @@ -924,7 +924,7 @@ IRCD Buffer for input characters, holds as many lines as are pending - Note that <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00092">92</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00094">94</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o2" doxytag="ircd_connector::port"></a><p> @@ -950,7 +950,7 @@ When MakeOutboundConnection is called, these public members are filled with the <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00105">105</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00107">107</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="o3" doxytag="ircd_connector::routes"></a><p> @@ -976,7 +976,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00105">105</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00111">111</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00113">113</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="r2" doxytag="ircd_connector::servername"></a><p> @@ -1002,7 +1002,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00111">111</a> <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00067">67</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00069">69</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="r4" doxytag="ircd_connector::state"></a><p> @@ -1028,7 +1028,7 @@ State. <p> STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTED <p> -Definition at line <a class="el" href="connection_8h-source.html#l00076">76</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00078">78</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <a name="r5" doxytag="ircd_connector::version"></a><p> @@ -1054,12 +1054,12 @@ This string holds the ircd's version response. <p> <p> -Definition at line <a class="el" href="connection_8h-source.html#l00084">84</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> +Definition at line <a class="el" href="connection_8h-source.html#l00086">86</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="connection_8h-source.html">connection.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:44 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:32 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index e865d7232..04b74971e 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>serverrec Member List</h1>This is the complete list of members for <a class="el" href="classserverrec.html">serverrec</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classconnection.html#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> @@ -36,7 +36,7 @@ <tr class="memlist"><td><a class="el" href="classserverrec.html#o4">opercount</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#o1">pingtime</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host, std::deque< std::string > &sums)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a5">SendPacket</a>(char *message, const char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#a0">serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> @@ -50,7 +50,7 @@ <tr class="memlist"><td><a class="el" href="classserverrec.html#o6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:57 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:46 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index e8e7390e7..89a4c1f18 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>serverrec Class Reference</h1>A class that defines the local server or a remote server. <a href="#_details">More...</a> <p> @@ -101,22 +101,22 @@ Constructor. <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00026">26</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +Definition at line <a class="el" href="servers_8cpp-source.html#l00027">27</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. +References <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00259">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00263">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00102">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. <p> -<div class="fragment"><pre>00027 { -00028 strlcpy(name,<span class="stringliteral">""</span>,256); -00029 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00030 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00031 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; -00032 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00033 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00034 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; -00035 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00036 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00037 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); -00038 } +<div class="fragment"><pre>00028 { +00029 strlcpy(name,<span class="stringliteral">""</span>,256); +00030 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; +00031 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00032 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; +00033 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; +00034 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00035 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; +00036 <a class="code" href="classconnection.html#o0">fd</a> = 0; +00037 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; +00038 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); +00039 } </pre></div> </td> </tr> </table> @@ -165,22 +165,22 @@ Constructor which initialises some of the main variables. <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00045">45</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +Definition at line <a class="el" href="servers_8cpp-source.html#l00046">46</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. +References <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00259">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00263">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00102">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>. <p> -<div class="fragment"><pre>00046 { -00047 strlcpy(name,n,256); -00048 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00049 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; -00050 <a class="code" href="classserverrec.html#o6">version</a> = ver; -00051 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00052 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00053 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; -00054 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00055 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00056 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); -00057 } +<div class="fragment"><pre>00047 { +00048 strlcpy(name,n,256); +00049 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00050 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; +00051 <a class="code" href="classserverrec.html#o6">version</a> = ver; +00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; +00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; +00055 <a class="code" href="classconnection.html#o0">fd</a> = 0; +00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; +00057 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX); +00058 } </pre></div> </td> </tr> </table> @@ -213,10 +213,10 @@ Destructor. <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00041">41</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. +Definition at line <a class="el" href="servers_8cpp-source.html#l00042">42</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. <p> -<div class="fragment"><pre>00042 { -00043 } +<div class="fragment"><pre>00043 { +00044 } </pre></div> </td> </tr> </table> @@ -272,7 +272,7 @@ number of hops away (for quick access) <p> Definition at line <a class="el" href="servers_8h-source.html#l00051">51</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o7" doxytag="serverrec::jupiter"></a><p> @@ -300,7 +300,7 @@ is a JUPE server (faked to enforce a server ban) <p> Definition at line <a class="el" href="servers_8h-source.html#l00057">57</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o0" doxytag="serverrec::name"></a><p> @@ -328,7 +328,7 @@ server name <p> Definition at line <a class="el" href="servers_8h-source.html#l00036">36</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o9" doxytag="serverrec::nickserv"></a><p> @@ -356,7 +356,7 @@ Holds nickserv's name on U:lined (services) servers (this is a kludge for ircser <p> Definition at line <a class="el" href="servers_8h-source.html#l00065">65</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o4" doxytag="serverrec::opercount"></a><p> @@ -384,7 +384,7 @@ opers on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00048">48</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o1" doxytag="serverrec::pingtime"></a><p> @@ -412,7 +412,7 @@ last ping response (ms) <p> Definition at line <a class="el" href="servers_8h-source.html#l00039">39</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o10" doxytag="serverrec::sync_soon"></a><p> @@ -438,7 +438,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</ <p> Definition at line <a class="el" href="servers_8h-source.html#l00067">67</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o3" doxytag="serverrec::usercount"></a><p> @@ -466,7 +466,7 @@ non-invisible users on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00045">45</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o2" doxytag="serverrec::usercount_i"></a><p> @@ -494,7 +494,7 @@ invisible users on server <p> Definition at line <a class="el" href="servers_8h-source.html#l00042">42</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <a name="o6" doxytag="serverrec::version"></a><p> @@ -522,12 +522,12 @@ ircd version <p> Definition at line <a class="el" href="servers_8h-source.html#l00054">54</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. <p> -Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec()</a>. </td> +Referenced by <a class="el" href="servers_8cpp-source.html#l00027">serverrec()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:57 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:46 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html new file mode 100644 index 000000000..4838507b0 --- /dev/null +++ b/docs/module-doc/classstd_1_1char__traits.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: char_traits class Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>char_traits Class Reference</h1>Inheritance diagram for char_traits:<p><center><img src="classstd_1_1char__traits__inherit__graph.gif" border="0" usemap="#char__traits__inherit__map" alt="Inheritance graph"></center> +<map name="char__traits__inherit__map"> +<area href="structirc_1_1irc__char__traits.html" shape="rect" coords="8,82,186,109" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:02 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/classstd_1_1char__traits__inherit__graph.gif b/docs/module-doc/classstd_1_1char__traits__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..f8ae3419b --- /dev/null +++ b/docs/module-doc/classstd_1_1char__traits__inherit__graph.gif diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index a09480b32..e32b0b46b 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ucrec Member List</h1>This is the complete list of members for <a class="el" href="classucrec.html">ucrec</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classucrec.html#o1">channel</a></td><td><a class="el" href="classucrec.html">ucrec</a></td><td></td></tr> @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:58 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:47 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 01f313584..cb42f131f 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ucrec Class Reference</h1>Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class. <a href="#_details">More...</a> <p> @@ -134,7 +134,7 @@ If the record is not in use, this value will be NULL. <p> Definition at line <a class="el" href="channels_8h-source.html#l00233">233</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <a name="o0" doxytag="ucrec::uc_modes"></a><p> @@ -162,12 +162,12 @@ UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon th <p> Definition at line <a class="el" href="channels_8h-source.html#l00228">228</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec::userrec()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="channels_8h-source.html">channels.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:58 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:47 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 9e20d561e..200def63f 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>userrec Member List</h1>This is the complete list of members for <a class="el" href="classuserrec.html">userrec</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classuserrec.html#a8">AddBuffer</a>(std::string a)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> @@ -35,6 +35,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a2">GetFullHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a3">GetFullRealHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classuserrec.html#a16">GetInviteList</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a13">GetWriteError</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o7">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a7">HasPermission</a>(char *command)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> @@ -55,7 +56,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#o14">password</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o13">pingmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classconnection.html#a6">RecvPacket</a>(std::deque< std::string > &messages, char *host, std::deque< std::string > &sums)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o15">recvq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#o22">recvqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> @@ -76,7 +77,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#o20">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr> <tr class="memlist"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:05 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:51 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 8e875c5b3..74ebbc256 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>userrec Class Reference</h1>Holds all information about a user This class stores all information about a user connected to the irc server. <a href="#_details">More...</a> <p> @@ -70,6 +70,9 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#a15">FlushWriteBuf</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Flushes as much of the user's buffer to the file descriptor as possible. </em> <a href="#a15"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="users_8h.html#a6">InvitedList</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#a16">GetInviteList</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of channels this user has been invited to but has not yet joined. </em> <a href="#a16"></a><em><br><br></td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o0">nick</a> [NICKMAX]</td></tr> @@ -176,39 +179,39 @@ Definition at line <a class="el" href="users_8h-source.html#l00108">108</a> of f <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00028">28</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00227">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00231">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">chans</a>, <a class="el" href="connection_8h-source.html#l00235">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00179">dns_done</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="users_8h-source.html#l00162">flood</a>, <a class="el" href="users_8h-source.html#l00134">fullname</a>, <a class="el" href="connection_8h-source.html#l00243">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="connection_8h-source.html#l00265">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00223">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00257">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00204">lines_in</a>, <a class="el" href="users_8h-source.html#l00140">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00269">connection::nping</a>, <a class="el" href="users_8h-source.html#l00175">oper</a>, <a class="el" href="connection_8h-source.html#l00249">connection::port</a>, <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="connection_8h-source.html#l00253">connection::registered</a>, <a class="el" href="users_8h-source.html#l00205">reset_due</a>, <a class="el" href="users_8h-source.html#l00156">result</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00146">server</a>, <a class="el" href="connection_8h-source.html#l00261">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="users_8h-source.html#l00168">timeout</a>, and <a class="el" href="channels_8h-source.html#l00228">ucrec::uc_modes</a>. -<p> -<div class="fragment"><pre>00029 { -00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> -00031 strcpy(nick,<span class="stringliteral">""</span>); -00032 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); -00033 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; -00034 strcpy(ident,<span class="stringliteral">""</span>); -00035 strcpy(host,<span class="stringliteral">""</span>); -00036 strcpy(dhost,<span class="stringliteral">""</span>); -00037 strcpy(fullname,<span class="stringliteral">""</span>); -00038 strcpy(modes,<span class="stringliteral">""</span>); -00039 strcpy(server,<span class="stringliteral">""</span>); -00040 strcpy(awaymsg,<span class="stringliteral">""</span>); -00041 strcpy(oper,<span class="stringliteral">""</span>); -00042 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00043 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; -00044 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; -00045 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; -00046 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; -00047 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00048 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00049 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; -00050 strcpy(result,<span class="stringliteral">""</span>); -00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00052 { -00053 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00055 } -00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00057 } +Definition at line <a class="el" href="users_8cpp-source.html#l00029">29</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00229">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00233">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00233">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">chans</a>, <a class="el" href="connection_8h-source.html#l00237">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00241">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00179">dns_done</a>, <a class="el" href="connection_8h-source.html#l00217">connection::fd</a>, <a class="el" href="users_8h-source.html#l00162">flood</a>, <a class="el" href="users_8h-source.html#l00134">fullname</a>, <a class="el" href="connection_8h-source.html#l00245">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00221">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="connection_8h-source.html#l00267">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00225">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00259">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00204">lines_in</a>, <a class="el" href="users_8h-source.html#l00140">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00271">connection::nping</a>, <a class="el" href="users_8h-source.html#l00175">oper</a>, <a class="el" href="connection_8h-source.html#l00251">connection::port</a>, <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="connection_8h-source.html#l00255">connection::registered</a>, <a class="el" href="users_8h-source.html#l00205">reset_due</a>, <a class="el" href="users_8h-source.html#l00156">result</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00146">server</a>, <a class="el" href="connection_8h-source.html#l00263">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00102">TIME</a>, <a class="el" href="users_8h-source.html#l00168">timeout</a>, and <a class="el" href="channels_8h-source.html#l00228">ucrec::uc_modes</a>. +<p> +<div class="fragment"><pre>00030 { +00031 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> +00032 strcpy(nick,<span class="stringliteral">""</span>); +00033 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>); +00034 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; +00035 strcpy(ident,<span class="stringliteral">""</span>); +00036 strcpy(host,<span class="stringliteral">""</span>); +00037 strcpy(dhost,<span class="stringliteral">""</span>); +00038 strcpy(fullname,<span class="stringliteral">""</span>); +00039 strcpy(modes,<span class="stringliteral">""</span>); +00040 strcpy(server,<span class="stringliteral">""</span>); +00041 strcpy(awaymsg,<span class="stringliteral">""</span>); +00042 strcpy(oper,<span class="stringliteral">""</span>); +00043 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00044 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; +00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; +00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; +00047 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; +00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00050 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; +00051 strcpy(result,<span class="stringliteral">""</span>); +00052 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00053 { +00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00055 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00056 } +00057 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00058 } </pre></div> </td> </tr> </table> @@ -276,34 +279,34 @@ This method adds data to the buffer of the user. <p> The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00169">169</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="users_8h-source.html#l00218">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00170 { -00171 std::string b = <span class="stringliteral">""</span>; -00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) -00173 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) -00174 b = b + a[i]; -00175 std::stringstream stream(recvq); -00176 stream << b; -00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); -00178 <span class="keywordtype">int</span> i = 0; -00179 <span class="comment">// count the size of the first line in the buffer.</span> -00180 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) -00181 { -00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) -00183 <span class="keywordflow">break</span>; -00184 } -00185 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) -00186 { -00187 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -00188 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); -00189 } -00190 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> -00191 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> -00192 <span class="keywordflow">return</span> (i < 600); -00193 } +Definition at line <a class="el" href="users_8cpp-source.html#l00175">175</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="users_8h-source.html#l00218">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00269">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00176 { +00177 std::string b = <span class="stringliteral">""</span>; +00178 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) +00179 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) +00180 b = b + a[i]; +00181 std::stringstream stream(recvq); +00182 stream << b; +00183 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); +00184 <span class="keywordtype">int</span> i = 0; +00185 <span class="comment">// count the size of the first line in the buffer.</span> +00186 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) +00187 { +00188 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) +00189 <span class="keywordflow">break</span>; +00190 } +00191 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) +00192 { +00193 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); +00194 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); +00195 } +00196 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> +00197 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> +00198 <span class="keywordflow">return</span> (i < 600); +00199 } </pre></div> </td> </tr> </table> @@ -337,23 +340,23 @@ Adds to the user's write buffer. <p> You may add any amount of text up to this users sendq value, if you exceed the sendq value, <a class="el" href="classuserrec.html#a12">SetWriteError()</a> will be called to set the users error string to "SendQ exceeded", and further buffer adds will be dropped. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00225">225</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00271">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00214">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00226 { -00227 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) -00228 <span class="keywordflow">return</span>; -00229 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) -00230 { -00231 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); -00232 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); -00233 <span class="keywordflow">return</span>; -00234 } -00235 std::stringstream stream; -00236 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; -00237 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); -00238 } +Definition at line <a class="el" href="users_8cpp-source.html#l00231">231</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00277">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00214">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00269">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00232 { +00233 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) +00234 <span class="keywordflow">return</span>; +00235 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) +00236 { +00237 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); +00238 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); +00239 <span class="keywordflow">return</span>; +00240 } +00241 std::stringstream stream; +00242 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; +00243 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); +00244 } </pre></div> </td> </tr> </table> @@ -386,16 +389,16 @@ This method returns true if the buffer contains at least one carriage return cha <p> one complete line may be read) <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00195">195</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00201">201</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -<div class="fragment"><pre>00196 { -00197 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) -00198 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) -00199 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00200 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00201 } +<div class="fragment"><pre>00202 { +00203 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) +00204 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) +00205 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00206 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00207 } </pre></div> </td> </tr> </table> @@ -428,15 +431,15 @@ This function clears the entire buffer by setting it to an empty string. <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00203">203</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00209">209</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. <p> -<div class="fragment"><pre>00204 { -00205 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00206 } +<div class="fragment"><pre>00210 { +00211 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00212 } </pre></div> </td> </tr> </table> @@ -469,30 +472,30 @@ Flushes as much of the user's buffer to the file descriptor as possible. <p> This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00241">241</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00231">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. -<p> -<div class="fragment"><pre>00242 { -00243 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) -00244 { -00245 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); -00246 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); -00247 <span class="keywordflow">if</span> (n_sent == -1) -00248 { -00249 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); -00250 } -00251 <span class="keywordflow">else</span> -00252 { -00253 <span class="comment">// advance the queue</span> -00254 tb += n_sent; -00255 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; -00256 <span class="comment">// update the user's stats counters</span> -00257 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; -00258 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; -00259 } -00260 } -00261 } +Definition at line <a class="el" href="users_8cpp-source.html#l00247">247</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00233">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00241">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00269">SetWriteError()</a>. +<p> +<div class="fragment"><pre>00248 { +00249 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) +00250 { +00251 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); +00252 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); +00253 <span class="keywordflow">if</span> (n_sent == -1) +00254 { +00255 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); +00256 } +00257 <span class="keywordflow">else</span> +00258 { +00259 <span class="comment">// advance the queue</span> +00260 tb += n_sent; +00261 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; +00262 <span class="comment">// update the user's stats counters</span> +00263 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; +00264 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; +00265 } +00266 } +00267 } </pre></div> </td> </tr> </table> @@ -525,25 +528,25 @@ This method returns the first available string at the tail end of the buffer and <p> This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use <a class="el" href="classuserrec.html#a9">BufferIsReady()</a> to check if it is ok to read the buffer before calling <a class="el" href="classuserrec.html#a11">GetBuffer()</a>. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00208">208</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00214">214</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00195">recvq</a>. <p> -<div class="fragment"><pre>00209 { -00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) -00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00212 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); -00213 std::string ret = <span class="stringliteral">""</span>; -00214 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) -00215 { -00216 ret = ret + *line; -00217 line++; -00218 } -00219 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) -00220 line++; -00221 <a class="code" href="classuserrec.html#o15">recvq</a> = line; -00222 <span class="keywordflow">return</span> ret; -00223 } +<div class="fragment"><pre>00215 { +00216 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) +00217 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00218 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); +00219 std::string ret = <span class="stringliteral">""</span>; +00220 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) +00221 { +00222 ret = ret + *line; +00223 line++; +00224 } +00225 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) +00226 line++; +00227 <a class="code" href="classuserrec.html#o15">recvq</a> = line; +00228 <span class="keywordflow">return</span> ret; +00229 } </pre></div> </td> </tr> </table> @@ -576,14 +579,14 @@ Returns the full displayed host of the user This member function returns the hos <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00061">61</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00062">62</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>. <p> -<div class="fragment"><pre>00062 { -00063 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); -00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00065 } +<div class="fragment"><pre>00063 { +00064 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost); +00065 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00066 } </pre></div> </td> </tr> </table> @@ -616,14 +619,53 @@ Returns the full real host of the user This member function returns the hostname <p> If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00068">68</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00069">69</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00221">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>. +<p> +<div class="fragment"><pre>00070 { +00071 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); +00072 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00073 } +</pre></div> </td> + </tr> +</table> +<a name="a16" doxytag="userrec::GetInviteList"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="users_8h.html#a6">InvitedList</a> * userrec::GetInviteList </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the list of channels this user has been invited to but has not yet joined. +<p> + +<p> +Definition at line <a class="el" href="users_8cpp-source.html#l00089">89</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>. +References <a class="el" href="users_8h-source.html#l00094">InvitedList</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00069 { -00070 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host); -00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00072 } +<div class="fragment"><pre>00090 { +00091 <span class="keywordflow">return</span> &<a class="code" href="classuserrec.html#r0">invites</a>; +00092 } </pre></div> </td> </tr> </table> @@ -656,15 +698,15 @@ Returns the write error which last occured on this connection or an empty string <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00271">271</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00277">277</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00210">WriteError</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>. +Referenced by <a class="el" href="users_8cpp-source.html#l00231">AddWriteBuf()</a>. <p> -<div class="fragment"><pre>00272 { -00273 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; -00274 } +<div class="fragment"><pre>00278 { +00279 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; +00280 } </pre></div> </td> </tr> </table> @@ -698,59 +740,59 @@ Returns true or false for if a user can execute a privilaged oper command. <p> This is done by looking up their oper type from <a class="el" href="classuserrec.html#o11">userrec::oper</a>, then referencing this to their oper classes and checking the commands they can execute. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00117">117</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00101">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>. -<p> -<div class="fragment"><pre>00118 { -00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00120 <span class="keywordtype">char</span>* mycmd; -00121 <span class="keywordtype">char</span>* savept; -00122 <span class="keywordtype">char</span>* savept2; -00123 -00124 <span class="comment">// are they even an oper at all?</span> -00125 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00126 { -00127 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00128 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) -00129 { -00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); -00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00132 { -00133 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); -00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); -00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00136 <span class="keywordflow">while</span> (myclass) -00137 { -00138 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00139 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) -00140 { -00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); -00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00143 { -00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); -00145 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); -00146 -00147 -00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00149 <span class="keywordflow">while</span> (mycmd) -00150 { -00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00152 { -00153 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00154 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00155 } -00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00157 } -00158 } -00159 } -00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00161 } -00162 } -00163 } -00164 } -00165 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00166 } +Definition at line <a class="el" href="users_8cpp-source.html#l00123">123</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00096">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>. +<p> +<div class="fragment"><pre>00124 { +00125 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00126 <span class="keywordtype">char</span>* mycmd; +00127 <span class="keywordtype">char</span>* savept; +00128 <span class="keywordtype">char</span>* savept2; +00129 +00130 <span class="comment">// are they even an oper at all?</span> +00131 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00132 { +00133 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00134 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&config_f); j++) +00135 { +00136 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&config_f); +00137 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00138 { +00139 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); +00140 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&config_f); +00141 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00142 <span class="keywordflow">while</span> (myclass) +00143 { +00144 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00145 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&config_f); k++) +00146 { +00147 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&config_f); +00148 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00149 { +00150 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&config_f); +00151 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +00152 +00153 +00154 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00155 <span class="keywordflow">while</span> (mycmd) +00156 { +00157 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00158 { +00159 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00160 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00161 } +00162 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00163 } +00164 } +00165 } +00166 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00167 } +00168 } +00169 } +00170 } +00171 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00172 } </pre></div> </td> </tr> </table> @@ -784,15 +826,15 @@ Adds a channel to a users invite list (invites them to a channel). <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00088">88</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00094">94</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00089 { -00090 <a class="code" href="classInvited.html">Invited</a> i; -00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00093 } +<div class="fragment"><pre>00095 { +00096 <a class="code" href="classInvited.html">Invited</a> i; +00097 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00098 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00099 } </pre></div> </td> </tr> </table> @@ -826,22 +868,22 @@ Returns true if a user is invited to a channel. <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00074">74</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00075">75</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00075 { -00076 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00077 { -00078 <span class="keywordflow">if</span> (i->channel) { -00079 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00080 { -00081 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00082 } -00083 } -00084 } -00085 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00086 } +<div class="fragment"><pre>00076 { +00077 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00078 { +00079 <span class="keywordflow">if</span> (i->channel) { +00080 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00081 { +00082 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00083 } +00084 } +00085 } +00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00087 } </pre></div> </td> </tr> </table> @@ -875,30 +917,30 @@ Removes a channel from a users invite list. <p> This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00095">95</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00101">101</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>. <p> -<div class="fragment"><pre>00096 { -00097 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); -00098 <span class="keywordflow">if</span> (channel) -00099 { -00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00101 { -00102 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00103 { -00104 <span class="keywordflow">if</span> (i->channel) -00105 { -00106 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00107 { -00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00109 <span class="keywordflow">return</span>; -00110 } -00111 } -00112 } -00113 } -00114 } -00115 } +<div class="fragment"><pre>00102 { +00103 log(DEBUG,<span class="stringliteral">"Removing invites"</span>); +00104 <span class="keywordflow">if</span> (channel) +00105 { +00106 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00107 { +00108 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00109 { +00110 <span class="keywordflow">if</span> (i->channel) +00111 { +00112 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00113 { +00114 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00115 <span class="keywordflow">return</span>; +00116 } +00117 } +00118 } +00119 } +00120 } +00121 } </pre></div> </td> </tr> </table> @@ -932,18 +974,18 @@ Sets the write error for a connection. <p> This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged. <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00263">263</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. +Definition at line <a class="el" href="users_8cpp-source.html#l00269">269</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00210">WriteError</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00241">FlushWriteBuf()</a>. +Referenced by <a class="el" href="users_8cpp-source.html#l00175">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00231">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00247">FlushWriteBuf()</a>. <p> -<div class="fragment"><pre>00264 { -00265 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); -00266 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> -00267 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) -00268 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; -00269 } +<div class="fragment"><pre>00270 { +00271 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +00272 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> +00273 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) +00274 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; +00275 } </pre></div> </td> </tr> </table> @@ -973,7 +1015,7 @@ If this string is empty, the user is not marked as away. <p> Definition at line <a class="el" href="users_8h-source.html#l00151">151</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o5" doxytag="userrec::chans"></a><p> @@ -999,7 +1041,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00142">142</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o2" doxytag="userrec::dhost"></a><p> @@ -1027,7 +1069,7 @@ This usually matches the value of <a class="el" href="classconnection.html#o1">u <p> Definition at line <a class="el" href="users_8h-source.html#l00130">130</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00062">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o12" doxytag="userrec::dns_done"></a><p> @@ -1055,7 +1097,7 @@ True when <a class="el" href="classDNS.html">DNS</a> lookups are completed. <p> Definition at line <a class="el" href="users_8h-source.html#l00179">179</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o9" doxytag="userrec::flood"></a><p> @@ -1083,7 +1125,7 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi <p> Definition at line <a class="el" href="users_8h-source.html#l00162">162</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o3" doxytag="userrec::fullname"></a><p> @@ -1111,7 +1153,7 @@ The users full name. <p> Definition at line <a class="el" href="users_8h-source.html#l00134">134</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o1" doxytag="userrec::ident"></a><p> @@ -1139,7 +1181,7 @@ The users ident reply. <p> Definition at line <a class="el" href="users_8h-source.html#l00125">125</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="r0" doxytag="userrec::invites"></a><p> @@ -1167,7 +1209,7 @@ A list of channels the user has a pending invite to. <p> Definition at line <a class="el" href="users_8h-source.html#l00114">114</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00088">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00074">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00095">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00089">GetInviteList()</a>, <a class="el" href="users_8cpp-source.html#l00094">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00075">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00101">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o17" doxytag="userrec::lines_in"></a><p> @@ -1195,7 +1237,7 @@ Flood counters. <p> Definition at line <a class="el" href="users_8h-source.html#l00204">204</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o4" doxytag="userrec::modes"></a><p> @@ -1223,7 +1265,7 @@ This may contain any of the following RFC characters: o, w, s, i Your module may <p> Definition at line <a class="el" href="users_8h-source.html#l00140">140</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o0" doxytag="userrec::nick"></a><p> @@ -1251,7 +1293,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma <p> Definition at line <a class="el" href="users_8h-source.html#l00121">121</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00967">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o11" doxytag="userrec::oper"></a><p> @@ -1279,7 +1321,7 @@ This is used to check permissions in operclasses, so that we can say 'yay' or 'n <p> Definition at line <a class="el" href="users_8h-source.html#l00175">175</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o14" doxytag="userrec::password"></a><p> @@ -1359,7 +1401,7 @@ Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, ol <p> Definition at line <a class="el" href="users_8h-source.html#l00195">195</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00195">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00203">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00208">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00175">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00201">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00209">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00214">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o22" doxytag="userrec::recvqmax"></a><p> @@ -1387,7 +1429,7 @@ Maximum size this user's recvq can become. <p> Definition at line <a class="el" href="users_8h-source.html#l00218">218</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00175">AddBuffer()</a>. </td> </tr> </table> <a name="o18" doxytag="userrec::reset_due"></a><p> @@ -1413,7 +1455,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00169">AddBuffer()</a> <p> Definition at line <a class="el" href="users_8h-source.html#l00205">205</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o8" doxytag="userrec::result"></a><p> @@ -1441,7 +1483,7 @@ You may use this to increase the speed of use of this class. <p> Definition at line <a class="el" href="users_8h-source.html#l00156">156</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00062">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o16" doxytag="userrec::sendq"></a><p> @@ -1469,7 +1511,7 @@ Lines waiting to be sent are stored here until their buffer is flushed. <p> Definition at line <a class="el" href="users_8h-source.html#l00200">200</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00241">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00231">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00247">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o21" doxytag="userrec::sendqmax"></a><p> @@ -1497,7 +1539,7 @@ Maximum size this user's sendq can become. <p> Definition at line <a class="el" href="users_8h-source.html#l00214">214</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00225">AddWriteBuf()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00231">AddWriteBuf()</a>. </td> </tr> </table> <a name="o6" doxytag="userrec::server"></a><p> @@ -1525,7 +1567,7 @@ The server the user is connected to. <p> Definition at line <a class="el" href="users_8h-source.html#l00146">146</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o19" doxytag="userrec::threshold"></a><p> @@ -1577,7 +1619,7 @@ Number of seconds this user is given to send USER/NICK If they do not send their <p> Definition at line <a class="el" href="users_8h-source.html#l00168">168</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00029">userrec()</a>. </td> </tr> </table> <a name="o20" doxytag="userrec::WriteError"></a><p> @@ -1603,12 +1645,12 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00210">210</a> of file <a class="el" href="users_8h-source.html">users.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00271">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00263">SetWriteError()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00277">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00269">SetWriteError()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:05 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:51 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index 7ccf10133..ff5528155 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>commands.h</h1><a href="commands_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -87,38 +87,38 @@ 00082 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a48">handle_loadmodule</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00083 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a49">handle_unloadmodule</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); 00084 -00087 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_link_packet</a>(<span class="keywordtype">char</span>* tcp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv); -00088 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port); +00087 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a50">handle_link_packet</a>(<span class="keywordtype">char</span>* tcp_msg, <span class="keywordtype">char</span>* tcp_host, <a class="code" href="classserverrec.html">serverrec</a> *serv, <span class="keywordtype">char</span>* tcp_sum); +00088 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a51">process_restricted_commands</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host,<span class="keywordtype">char</span>* ipaddr,<span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* tcp_sum); 00089 -00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00095 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00096 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00097 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00098 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00099 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00100 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00101 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00102 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00103 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00104 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00105 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00106 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00107 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00108 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00109 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00110 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00111 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a71">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00112 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a72">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); -00113 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a73">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host); +00092 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a52">handle_amp</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00093 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a53">handle_dollar</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a54">handle_J</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00095 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a55">handle_R</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00096 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a56">handle_plus</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00097 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a57">handle_b</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00098 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a58">handle_a</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00099 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a59">handle_F</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00100 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a60">handle_N</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00101 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a61">handle_AT</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00102 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a62">handle_k</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00103 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a63">handle_n</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00104 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a64">handle_Q</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00105 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a65">handle_K</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00106 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a66">handle_L</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00107 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a67">handle_m</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00108 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a68">handle_M</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00109 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a69">handle_T</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00110 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a70">handle_t</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00111 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a71">handle_i</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00112 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a72">handle_P</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); +00113 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a73">handle_V</a>(<span class="keywordtype">char</span> token,<span class="keywordtype">char</span>* params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, <span class="keywordtype">char</span>* tcp_host, <span class="keywordtype">char</span>* tcp_sum); 00114 00117 <span class="keywordtype">bool</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* server); 00118 00121 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str); 00122 00123 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index 90380939e..cc7600fdf 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>commands.h File Reference</h1><code>#include <typeinfo></code><br> <code>#include <iostream></code><br> <code>#include <string></code><br> @@ -132,55 +132,55 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a49">handle_unloadmodule</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a50">handle_link_packet</a> (char *tcp_msg, char *tcp_host, <a class="el" href="classserverrec.html">serverrec</a> *serv)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a50">handle_link_packet</a> (char *tcp_msg, char *tcp_host, <a class="el" href="classserverrec.html">serverrec</a> *serv, char *tcp_sum)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Special functions for processing server to server traffic. </em> <a href="#a50"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a51">process_restricted_commands</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *ipaddr, int port)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a51">process_restricted_commands</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *ipaddr, int port, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a52">handle_amp</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a52">handle_amp</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">These are the handlers for server commands (tokens). </em> <a href="#a52"></a><em><br><br></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a53">handle_dollar</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a53">handle_dollar</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a54">handle_J</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a54">handle_J</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a55">handle_R</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a55">handle_R</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a56">handle_plus</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a56">handle_plus</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a57">handle_b</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a57">handle_b</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a58">handle_a</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a58">handle_a</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a59">handle_F</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a59">handle_F</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a60">handle_N</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a60">handle_N</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a61">handle_AT</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a61">handle_AT</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a62">handle_k</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a62">handle_k</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a63">handle_n</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a63">handle_n</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a64">handle_Q</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a64">handle_Q</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a65">handle_K</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a65">handle_K</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a66">handle_L</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a66">handle_L</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a67">handle_m</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a67">handle_m</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a68">handle_M</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a68">handle_M</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a69">handle_T</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a69">handle_T</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a70">handle_t</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a70">handle_t</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a71">handle_i</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a71">handle_i</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a72">handle_P</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a72">handle_P</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a73">handle_V</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a73">handle_V</a> (char token, char *params, <a class="el" href="classserverrec.html">serverrec</a> *source, <a class="el" href="classserverrec.html">serverrec</a> *reply, char *tcp_host, char *tcp_sum)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a74">is_uline</a> (const char *server)</td></tr> @@ -220,7 +220,7 @@ Other useful functions. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00730">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00745">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00735">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00740">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00780">Server::CalcDuration()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00679">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00659">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00674">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00664">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00669">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00709">Server::CalcDuration()</a>. </td> </tr> </table> <a name="a58" doxytag="commands.h::handle_a"></a><p> @@ -256,7 +256,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddEL <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -356,7 +362,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddEL <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -414,7 +426,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -514,7 +532,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -658,7 +682,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -758,7 +788,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -858,7 +894,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1046,7 +1088,13 @@ These are the handlers for server commands (tokens). <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1148,7 +1196,13 @@ These are the handlers for user commands. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1204,7 +1258,13 @@ These are the handlers for user commands. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1392,7 +1452,13 @@ These are the handlers for user commands. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1436,7 +1502,13 @@ These are the handlers for user commands. <td></td> <td></td> <td class="md" nowrap><a class="el" href="classserverrec.html">serverrec</a> * </td> - <td class="mdname" nowrap> <em>serv</em></td> + <td class="mdname" nowrap> <em>serv</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1670,7 +1742,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1726,7 +1804,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1914,7 +1998,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -1970,7 +2060,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -2202,7 +2298,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -2390,7 +2492,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -2534,7 +2642,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -2678,7 +2792,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -3042,7 +3162,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -3098,7 +3224,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -3462,7 +3594,13 @@ Special functions for processing server to server traffic. <td></td> <td></td> <td class="md" nowrap>char * </td> - <td class="mdname" nowrap> <em>tcp_host</em></td> + <td class="mdname" nowrap> <em>tcp_host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -3735,7 +3873,7 @@ Functions for u:lined servers. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00489">Server::IsUlined()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00413">Server::IsUlined()</a>. </td> </tr> </table> <a name="a51" doxytag="commands.h::process_restricted_commands"></a><p> @@ -3783,7 +3921,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00489">Server::IsUli <td></td> <td></td> <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>port</em></td> + <td class="mdname" nowrap> <em>port</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>tcp_sum</em></td> </tr> <tr> <td></td> @@ -3806,7 +3950,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00489">Server::IsUli </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:54 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:22 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index a808f43f7..e56f1b61b 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>connection.h</h1><a href="connection_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -46,133 +46,135 @@ <a name="l00039"></a><a class="code" href="connection_8h.html#a4">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_NOAUTH_OUTBOUND 4</span> <a name="l00040"></a><a class="code" href="connection_8h.html#a5">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define STATE_SERVICES 5</span> 00041 <span class="preprocessor"></span> -<a name="l00054"></a><a class="code" href="classircd__connector.html">00054</a> <span class="keyword">class </span><a class="code" href="classircd__connector.html">ircd_connector</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> -00055 { -00056 <span class="keyword">private</span>: -<a name="l00059"></a><a class="code" href="classircd__connector.html#r0">00059</a> sockaddr_in <a class="code" href="classircd__connector.html#r0">addr</a>; -00060 -<a name="l00063"></a><a class="code" href="classircd__connector.html#r1">00063</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#r1">fd</a>; -00064 -<a name="l00067"></a><a class="code" href="classircd__connector.html#r2">00067</a> std::string <a class="code" href="classircd__connector.html#r2">servername</a>; -00068 -<a name="l00071"></a><a class="code" href="classircd__connector.html#r3">00071</a> std::string <a class="code" href="classircd__connector.html#r3">description</a>; -00072 -<a name="l00076"></a><a class="code" href="classircd__connector.html#r4">00076</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#r4">state</a>; -00077 -00080 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#d0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); -00081 -<a name="l00084"></a><a class="code" href="classircd__connector.html#r5">00084</a> std::string <a class="code" href="classircd__connector.html#r5">version</a>; -00085 -00086 <span class="keyword">public</span>: +00042 std::string <a class="code" href="connection_8h.html#a6">CreateSum</a>(); +00043 +<a name="l00056"></a><a class="code" href="classircd__connector.html">00056</a> <span class="keyword">class </span><a class="code" href="classircd__connector.html">ircd_connector</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> +00057 { +00058 <span class="keyword">private</span>: +<a name="l00061"></a><a class="code" href="classircd__connector.html#r0">00061</a> sockaddr_in <a class="code" href="classircd__connector.html#r0">addr</a>; +00062 +<a name="l00065"></a><a class="code" href="classircd__connector.html#r1">00065</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#r1">fd</a>; +00066 +<a name="l00069"></a><a class="code" href="classircd__connector.html#r2">00069</a> std::string <a class="code" href="classircd__connector.html#r2">servername</a>; +00070 +<a name="l00073"></a><a class="code" href="classircd__connector.html#r3">00073</a> std::string <a class="code" href="classircd__connector.html#r3">description</a>; +00074 +<a name="l00078"></a><a class="code" href="classircd__connector.html#r4">00078</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#r4">state</a>; +00079 +00082 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#d0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port); +00083 +<a name="l00086"></a><a class="code" href="classircd__connector.html#r5">00086</a> std::string <a class="code" href="classircd__connector.html#r5">version</a>; 00087 -<a name="l00092"></a><a class="code" href="classircd__connector.html#o0">00092</a> std::string <a class="code" href="classircd__connector.html#o0">ircdbuffer</a>; -00093 -00094 -<a name="l00099"></a><a class="code" href="classircd__connector.html#o1">00099</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#o1">host</a>[MAXBUF]; -00100 -<a name="l00105"></a><a class="code" href="classircd__connector.html#o2">00105</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o2">port</a>; -00106 -<a name="l00111"></a><a class="code" href="classircd__connector.html#o3">00111</a> std::vector<std::string> <a class="code" href="classircd__connector.html#o3">routes</a>; -00112 -00113 -00116 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport); -00117 -00120 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>(); -00121 -00124 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv); -00125 -00128 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>(); -00129 -00132 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd); -00133 -00136 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>(); -00137 -00140 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state); -00141 -00144 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>(); -00145 -00148 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>(); -00149 -00152 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc); -00153 -00159 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>(); -00160 -00163 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p); -00164 -00167 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport); -00168 -00172 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>(); -00173 -00179 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a14">AddBuffer</a>(std::string a); -00180 -00185 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a15">BufferIsComplete</a>(); -00186 -00189 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a16">ClearBuffer</a>(); -00190 -00195 std::string <a class="code" href="classircd__connector.html#a17">GetBuffer</a>(); -00196 -00199 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a18">SetVersionString</a>(std::string newversion); -00200 -00204 std::string <a class="code" href="classircd__connector.html#a19">GetVersionString</a>(); -00205 }; -00206 -00207 -<a name="l00210"></a><a class="code" href="classconnection.html">00210</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> -00211 { -00212 <span class="keyword">public</span>: -<a name="l00215"></a><a class="code" href="classconnection.html#o0">00215</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o0">fd</a>; -00216 -<a name="l00219"></a><a class="code" href="classconnection.html#o1">00219</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[160]; -00220 -<a name="l00223"></a><a class="code" href="classconnection.html#o2">00223</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[16]; -00224 -<a name="l00227"></a><a class="code" href="classconnection.html#o3">00227</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o3">bytes_in</a>; -00228 -<a name="l00231"></a><a class="code" href="classconnection.html#o4">00231</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_out</a>; -00232 -<a name="l00235"></a><a class="code" href="classconnection.html#o5">00235</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">cmds_in</a>; -00236 -<a name="l00239"></a><a class="code" href="classconnection.html#o6">00239</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_out</a>; -00240 -<a name="l00243"></a><a class="code" href="classconnection.html#o7">00243</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o7">haspassed</a>; -00244 -<a name="l00249"></a><a class="code" href="classconnection.html#o8">00249</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o8">port</a>; -00250 -<a name="l00253"></a><a class="code" href="classconnection.html#o9">00253</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o9">registered</a>; -00254 -<a name="l00257"></a><a class="code" href="classconnection.html#o10">00257</a> time_t <a class="code" href="classconnection.html#o10">lastping</a>; -00258 -<a name="l00261"></a><a class="code" href="classconnection.html#o11">00261</a> time_t <a class="code" href="classconnection.html#o11">signon</a>; -00262 -<a name="l00265"></a><a class="code" href="classconnection.html#o12">00265</a> time_t <a class="code" href="classconnection.html#o12">idle_lastmsg</a>; -00266 -<a name="l00269"></a><a class="code" href="classconnection.html#o13">00269</a> time_t <a class="code" href="classconnection.html#o13">nping</a>; -00270 -<a name="l00274"></a><a class="code" href="classconnection.html#o14">00274</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#o14">connectors</a>; -00275 -00278 <a class="code" href="classconnection.html#a0">connection</a>(); -00279 -00282 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); -00283 -00286 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); -00287 -00290 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); -00291 -00294 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); -00295 -00299 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); -00300 -00305 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host); -00306 -00309 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); -00310 -00314 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); -00315 -00316 }; -00317 -00318 -00319 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +00088 <span class="keyword">public</span>: +00089 +<a name="l00094"></a><a class="code" href="classircd__connector.html#o0">00094</a> std::string <a class="code" href="classircd__connector.html#o0">ircdbuffer</a>; +00095 +00096 +<a name="l00101"></a><a class="code" href="classircd__connector.html#o1">00101</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#o1">host</a>[MAXBUF]; +00102 +<a name="l00107"></a><a class="code" href="classircd__connector.html#o2">00107</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o2">port</a>; +00108 +<a name="l00113"></a><a class="code" href="classircd__connector.html#o3">00113</a> std::vector<std::string> <a class="code" href="classircd__connector.html#o3">routes</a>; +00114 +00115 +00118 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport); +00119 +00122 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>(); +00123 +00126 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv); +00127 +00130 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>(); +00131 +00134 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd); +00135 +00138 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>(); +00139 +00142 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state); +00143 +00146 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>(); +00147 +00150 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>(); +00151 +00154 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc); +00155 +00161 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>(); +00162 +00165 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p); +00166 +00169 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport); +00170 +00174 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>(); +00175 +00181 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a14">AddBuffer</a>(std::string a); +00182 +00187 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a15">BufferIsComplete</a>(); +00188 +00191 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a16">ClearBuffer</a>(); +00192 +00197 std::string <a class="code" href="classircd__connector.html#a17">GetBuffer</a>(); +00198 +00201 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a18">SetVersionString</a>(std::string newversion); +00202 +00206 std::string <a class="code" href="classircd__connector.html#a19">GetVersionString</a>(); +00207 }; +00208 +00209 +<a name="l00212"></a><a class="code" href="classconnection.html">00212</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> +00213 { +00214 <span class="keyword">public</span>: +<a name="l00217"></a><a class="code" href="classconnection.html#o0">00217</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o0">fd</a>; +00218 +<a name="l00221"></a><a class="code" href="classconnection.html#o1">00221</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[160]; +00222 +<a name="l00225"></a><a class="code" href="classconnection.html#o2">00225</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[16]; +00226 +<a name="l00229"></a><a class="code" href="classconnection.html#o3">00229</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o3">bytes_in</a>; +00230 +<a name="l00233"></a><a class="code" href="classconnection.html#o4">00233</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_out</a>; +00234 +<a name="l00237"></a><a class="code" href="classconnection.html#o5">00237</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">cmds_in</a>; +00238 +<a name="l00241"></a><a class="code" href="classconnection.html#o6">00241</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_out</a>; +00242 +<a name="l00245"></a><a class="code" href="classconnection.html#o7">00245</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o7">haspassed</a>; +00246 +<a name="l00251"></a><a class="code" href="classconnection.html#o8">00251</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o8">port</a>; +00252 +<a name="l00255"></a><a class="code" href="classconnection.html#o9">00255</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o9">registered</a>; +00256 +<a name="l00259"></a><a class="code" href="classconnection.html#o10">00259</a> time_t <a class="code" href="classconnection.html#o10">lastping</a>; +00260 +<a name="l00263"></a><a class="code" href="classconnection.html#o11">00263</a> time_t <a class="code" href="classconnection.html#o11">signon</a>; +00264 +<a name="l00267"></a><a class="code" href="classconnection.html#o12">00267</a> time_t <a class="code" href="classconnection.html#o12">idle_lastmsg</a>; +00268 +<a name="l00271"></a><a class="code" href="classconnection.html#o13">00271</a> time_t <a class="code" href="classconnection.html#o13">nping</a>; +00272 +<a name="l00276"></a><a class="code" href="classconnection.html#o14">00276</a> std::vector<ircd_connector> <a class="code" href="classconnection.html#o14">connectors</a>; +00277 +00280 <a class="code" href="classconnection.html#a0">connection</a>(); +00281 +00284 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p); +00285 +00288 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport); +00289 +00292 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername); +00293 +00296 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost); +00297 +00301 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); +00302 +00307 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque<std::string> &messages, <span class="keywordtype">char</span>* host, std::deque<std::string> &sums); +00308 +00311 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host); +00312 +00316 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport); +00317 +00318 }; +00319 +00320 +00321 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index d5d15482d..cfe88c4d2 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>connection.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> <code>#include <string></code><br> @@ -58,6 +58,9 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a5">STATE_SERVICES</a> 5</td></tr> +<tr><td colspan=2><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="connection_8h.html#a6">CreateSum</a> ()</td></tr> + </table> <hr><h2>Define Documentation</h2> <a name="a1" doxytag="connection.h::STATE_CONNECTED"></a><p> @@ -204,7 +207,36 @@ Definition at line <a class="el" href="connection_8h-source.html#l00040">40</a> Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:56 2005 for InspIRCd by +<hr><h2>Function Documentation</h2> +<a name="a6" doxytag="connection.h::CreateSum"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string CreateSum </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:25 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 11bbda8b7..81613b796 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ctables.h</h1><a href="ctables_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -42,7 +42,7 @@ 00051 00052 <span class="preprocessor">#endif</span> 00053 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index aec2689e8..23bda01ee 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ctables.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "inspircd.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> @@ -31,7 +31,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="mdescLeft"> </td><td class="mdescRight">A structure that defines a command. </em> <a href="classcommand__t.html#_details">More...</a><em><br><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:57 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:26 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index 6089e9f1e..a572e51d4 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>dns.h</h1><a href="dns_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> 00002 <span class="comment">dns.h - dns library declarations based on firedns Copyright (C) 2002 Ian Gulliver</span> 00003 <span class="comment"></span> @@ -70,7 +70,7 @@ 00093 }; 00094 00095 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index a3b2a8eb6..08c0757ca 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>dns.h File Reference</h1><code>#include <sys/types.h></code><br> <code>#include <sys/socket.h></code><br> <code>#include <netinet/in.h></code><br> @@ -23,7 +23,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:58 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:27 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 90f37662f..4cde2d477 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindexHL" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindexHL" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd File List</h1>Here is a list of all files with brief descriptions:<table> <tr><td class="indexkey"><a class="el" href="base_8h.html">base.h</a> <a href="base_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="channels_8cpp.html">channels.cpp</a> <a href="channels_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> @@ -13,6 +13,7 @@ <tr><td class="indexkey"><a class="el" href="connection_8h.html">connection.h</a> <a href="connection_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="ctables_8h.html">ctables.h</a> <a href="ctables_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="dns_8h.html">dns.h</a> <a href="dns_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> + <tr><td class="indexkey"><a class="el" href="hashcomp_8h.html">hashcomp.h</a> <a href="hashcomp_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="message_8h.html">message.h</a> <a href="message_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="mode_8h.html">mode.h</a> <a href="mode_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="modules_8cpp.html">modules.cpp</a> <a href="modules_8cpp-source.html">[code]</a></td><td class="indexvalue"></td></tr> @@ -23,7 +24,7 @@ <tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 7adda59a1..2199f5c4f 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindexHL" href="functions.html">All</a> | <a class="qindex" href="functions_func.html">Functions</a> | <a class="qindex" href="functions_vars.html">Variables</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_j">j</a> | <a class="qindex" href="#index_k">k</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_q">q</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_~">~</a></div> @@ -15,18 +15,18 @@ Here is a list of all class members with links to the classes they belong to:<h3 </h3><ul> <li>AddBuffer() : <a class="el" href="classuserrec.html#a8">userrec</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand() -: <a class="el" href="classServer.html#a25">Server</a><li>AddELine() -: <a class="el" href="classServer.html#a44">Server</a><li>AddExtendedListMode() -: <a class="el" href="classServer.html#a24">Server</a><li>AddExtendedMode() -: <a class="el" href="classServer.html#a23">Server</a><li>AddGLine() -: <a class="el" href="classServer.html#a40">Server</a><li>AddIncoming() +: <a class="el" href="classServer.html#a26">Server</a><li>AddELine() +: <a class="el" href="classServer.html#a45">Server</a><li>AddExtendedListMode() +: <a class="el" href="classServer.html#a25">Server</a><li>AddExtendedMode() +: <a class="el" href="classServer.html#a24">Server</a><li>AddGLine() +: <a class="el" href="classServer.html#a41">Server</a><li>AddIncoming() : <a class="el" href="classconnection.html#a8">connection</a><li>AddKLine() -: <a class="el" href="classServer.html#a43">Server</a><li>AddQLine() -: <a class="el" href="classServer.html#a41">Server</a><li>addr +: <a class="el" href="classServer.html#a44">Server</a><li>AddQLine() +: <a class="el" href="classServer.html#a42">Server</a><li>addr : <a class="el" href="classircd__connector.html#r0">ircd_connector</a><li>AddUser() : <a class="el" href="classchanrec.html#a5">chanrec</a><li>AddWriteBuf() : <a class="el" href="classuserrec.html#a14">userrec</a><li>AddZLine() -: <a class="el" href="classServer.html#a42">Server</a><li>Admin() +: <a class="el" href="classServer.html#a43">Server</a><li>Admin() : <a class="el" href="classAdmin.html#a0">Admin</a><li>age : <a class="el" href="classclassbase.html#o0">classbase</a><li>awaymsg : <a class="el" href="classuserrec.html#o7">userrec</a></ul> @@ -46,11 +46,11 @@ Here is a list of all class members with links to the classes they belong to:<h3 </h3><ul> <li>cache : <a class="el" href="classConfigReader.html#p0">ConfigReader</a><li>CalcDuration() -: <a class="el" href="classServer.html#a50">Server</a><li>CallCommandHandler() -: <a class="el" href="classServer.html#a33">Server</a><li>ChangeGECOS() -: <a class="el" href="classServer.html#a35">Server</a><li>ChangeHost() -: <a class="el" href="classServer.html#a34">Server</a><li>ChangeUserNick() -: <a class="el" href="classServer.html#a30">Server</a><li>ChanMode() +: <a class="el" href="classServer.html#a51">Server</a><li>CallCommandHandler() +: <a class="el" href="classServer.html#a34">Server</a><li>ChangeGECOS() +: <a class="el" href="classServer.html#a36">Server</a><li>ChangeHost() +: <a class="el" href="classServer.html#a35">Server</a><li>ChangeUserNick() +: <a class="el" href="classServer.html#a31">Server</a><li>ChanMode() : <a class="el" href="classServer.html#a18">Server</a><li>channel : <a class="el" href="classInvited.html#o0">Invited</a>, <a class="el" href="classucrec.html#o1">ucrec</a>, <a class="el" href="classModeParameter.html#o2">ModeParameter</a><li>chanrec() : <a class="el" href="classchanrec.html#a8">chanrec</a><li>chans @@ -61,7 +61,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classconnection.html#o5">connection</a><li>cmds_out : <a class="el" href="classconnection.html#o6">connection</a><li>command : <a class="el" href="classcommand__t.html#o0">command_t</a><li>CommonChannels() -: <a class="el" href="classServer.html#a10">Server</a><li>ConfigReader() +: <a class="el" href="classServer.html#a10">Server</a><li>compare() +: <a class="el" href="structirc_1_1irc__char__traits.html#e3">irc::irc_char_traits</a><li>ConfigReader() : <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>ConnectClass() : <a class="el" href="classConnectClass.html#a0">ConnectClass</a><li>connection() : <a class="el" href="classconnection.html#a0">connection</a><li>connectors @@ -75,12 +76,12 @@ Here is a list of all class members with links to the classes they belong to:<h3 </h3><ul> <li>data : <a class="el" href="classEvent.html#p0">Event</a>, <a class="el" href="classRequest.html#p0">Request</a>, <a class="el" href="classHostItem.html#o2">HostItem</a><li>DelELine() -: <a class="el" href="classServer.html#a49">Server</a><li>DelGLine() -: <a class="el" href="classServer.html#a45">Server</a><li>DelKLine() -: <a class="el" href="classServer.html#a48">Server</a><li>DelQLine() -: <a class="el" href="classServer.html#a46">Server</a><li>DelUser() +: <a class="el" href="classServer.html#a50">Server</a><li>DelGLine() +: <a class="el" href="classServer.html#a46">Server</a><li>DelKLine() +: <a class="el" href="classServer.html#a49">Server</a><li>DelQLine() +: <a class="el" href="classServer.html#a47">Server</a><li>DelUser() : <a class="el" href="classchanrec.html#a6">chanrec</a><li>DelZLine() -: <a class="el" href="classServer.html#a47">Server</a><li>description +: <a class="el" href="classServer.html#a48">Server</a><li>description : <a class="el" href="classserverrec.html#o8">serverrec</a>, <a class="el" href="classircd__connector.html#r3">ircd_connector</a><li>dest : <a class="el" href="classRequest.html#p2">Request</a><li>dhost : <a class="el" href="classWhoWasUser.html#o2">WhoWasUser</a>, <a class="el" href="classuserrec.html#o2">userrec</a><li>DNS() @@ -107,7 +108,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 <li>Email : <a class="el" href="classAdmin.html#o1">Admin</a><li>Enumerate() : <a class="el" href="classConfigReader.html#a7">ConfigReader</a><li>EnumerateValues() -: <a class="el" href="classConfigReader.html#a10">ConfigReader</a><li>error +: <a class="el" href="classConfigReader.html#a10">ConfigReader</a><li>eq() +: <a class="el" href="structirc_1_1irc__char__traits.html#e0">irc::irc_char_traits</a><li>error : <a class="el" href="classConfigReader.html#p3">ConfigReader</a><li>errorlog : <a class="el" href="classConfigReader.html#p1">ConfigReader</a><li>Event() : <a class="el" href="classEvent.html#a0">Event</a><li>Exists() @@ -121,11 +123,12 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classFileReader.html#r0">FileReader</a><li>fd : <a class="el" href="classDNS.html#r3">DNS</a>, <a class="el" href="classconnection.html#o0">connection</a>, <a class="el" href="classircd__connector.html#r1">ircd_connector</a><li>FileReader() : <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize() -: <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel() +: <a class="el" href="classFileReader.html#a6">FileReader</a><li>find() +: <a class="el" href="structirc_1_1irc__char__traits.html#e4">irc::irc_char_traits</a><li>FindChannel() : <a class="el" href="classServer.html#a17">Server</a><li>FindDescriptor() : <a class="el" href="classServer.html#a16">Server</a><li>FindHost() : <a class="el" href="classconnection.html#a7">connection</a><li>FindModule() -: <a class="el" href="classServer.html#a59">Server</a><li>FindNick() +: <a class="el" href="classServer.html#a60">Server</a><li>FindNick() : <a class="el" href="classServer.html#a15">Server</a><li>Flags : <a class="el" href="classVersion.html#o4">Version</a><li>flags_needed : <a class="el" href="classcommand__t.html#o2">command_t</a><li>flood @@ -136,7 +139,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 <h3><a name="index_g">- g -</a> </h3><ul> <li>GetAdmin() -: <a class="el" href="classServer.html#a22">Server</a><li>GetBuffer() +: <a class="el" href="classServer.html#a23">Server</a><li>GetBuffer() : <a class="el" href="classuserrec.html#a11">userrec</a>, <a class="el" href="classircd__connector.html#a17">ircd_connector</a><li>GetData() : <a class="el" href="classEvent.html#a1">Event</a>, <a class="el" href="classRequest.html#a1">Request</a><li>GetDescription() : <a class="el" href="classircd__connector.html#a8">ircd_connector</a><li>GetDescriptor() @@ -147,18 +150,20 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classExtensible.html#a2">Extensible</a><li>GetFD() : <a class="el" href="classDNS.html#a7">DNS</a><li>GetFullHost() : <a class="el" href="classuserrec.html#a2">userrec</a><li>GetFullRealHost() -: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine() +: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetInviteList() +: <a class="el" href="classuserrec.html#a16">userrec</a><li>GetLine() : <a class="el" href="classFileReader.html#a5">FileReader</a><li>GetModeParameter() : <a class="el" href="classchanrec.html#a3">chanrec</a><li>GetNetworkName() : <a class="el" href="classServer.html#a21">Server</a><li>GetResult() -: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerIP() +: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerDescription() +: <a class="el" href="classServer.html#a22">Server</a><li>GetServerIP() : <a class="el" href="classircd__connector.html#a7">ircd_connector</a><li>GetServerName() : <a class="el" href="classServer.html#a20">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort() : <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource() : <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState() : <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter() : <a class="el" href="classchanrec.html#a4">chanrec</a><li>GetUsers() -: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() +: <a class="el" href="classServer.html#a38">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString() : <a class="el" href="classircd__connector.html#a19">ircd_connector</a><li>GetWriteError() : <a class="el" href="classuserrec.html#a13">userrec</a></ul> @@ -190,12 +195,12 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick() : <a class="el" href="classServer.html#a13">Server</a><li>IsOnChannel() : <a class="el" href="classServer.html#a19">Server</a><li>IsUlined() -: <a class="el" href="classServer.html#a36">Server</a><li>IsValidMask() -: <a class="el" href="classServer.html#a51">Server</a></ul> +: <a class="el" href="classServer.html#a37">Server</a><li>IsValidMask() +: <a class="el" href="classServer.html#a52">Server</a></ul> <h3><a name="index_j">- j -</a> </h3><ul> <li>JoinUserToChannel() -: <a class="el" href="classServer.html#a28">Server</a><li>jupiter +: <a class="el" href="classServer.html#a29">Server</a><li>jupiter : <a class="el" href="classserverrec.html#o7">serverrec</a></ul> <h3><a name="index_k">- k -</a> </h3><ul> @@ -209,21 +214,22 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classuserrec.html#o17">userrec</a><li>list : <a class="el" href="classExtMode.html#o5">ExtMode</a><li>LoadFile() : <a class="el" href="classFileReader.html#a3">FileReader</a><li>Log() -: <a class="el" href="classServer.html#a3">Server</a></ul> +: <a class="el" href="classServer.html#a3">Server</a><li>lt() +: <a class="el" href="structirc_1_1irc__char__traits.html#e2">irc::irc_char_traits</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>Major : <a class="el" href="classVersion.html#o0">Version</a><li>MakeOutboundConnection() : <a class="el" href="classircd__connector.html#a0">ircd_connector</a><li>MatchText() -: <a class="el" href="classServer.html#a32">Server</a><li>MeshCheckChan() -: <a class="el" href="classServer.html#a57">Server</a><li>MeshCheckCommon() -: <a class="el" href="classServer.html#a58">Server</a><li>MeshCookie() +: <a class="el" href="classServer.html#a33">Server</a><li>MeshCheckChan() +: <a class="el" href="classServer.html#a58">Server</a><li>MeshCheckCommon() +: <a class="el" href="classServer.html#a59">Server</a><li>MeshCookie() : <a class="el" href="classconnection.html#a3">connection</a><li>MeshSendAll() -: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllAlive() -: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendAllExcept() -: <a class="el" href="classServer.html#a56">Server</a><li>MeshSendCommon() -: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendUnicast() -: <a class="el" href="classServer.html#a55">Server</a><li>min_params +: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendAllAlive() +: <a class="el" href="classServer.html#a55">Server</a><li>MeshSendAllExcept() +: <a class="el" href="classServer.html#a57">Server</a><li>MeshSendCommon() +: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendUnicast() +: <a class="el" href="classServer.html#a56">Server</a><li>min_params : <a class="el" href="classcommand__t.html#o3">command_t</a><li>Minor : <a class="el" href="classVersion.html#o1">Version</a><li>mode : <a class="el" href="classModeParameter.html#o0">ModeParameter</a><li>modechar @@ -236,7 +242,8 @@ Here is a list of all class members with links to the classes they belong to:<h3 <li>n_matches : <a class="el" href="classXLine.html#o4">XLine</a><li>Name : <a class="el" href="classAdmin.html#o0">Admin</a><li>name -: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>needsoper +: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>ne() +: <a class="el" href="structirc_1_1irc__char__traits.html#e1">irc::irc_char_traits</a><li>needsoper : <a class="el" href="classExtMode.html#o4">ExtMode</a><li>next : <a class="el" href="structdns__ip4list.html#o1">dns_ip4list</a><li>Nick : <a class="el" href="classAdmin.html#o2">Admin</a><li>nick @@ -308,17 +315,17 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classModeParameter.html#o1">ModeParameter</a><li>params_when_off : <a class="el" href="classExtMode.html#o3">ExtMode</a><li>params_when_on : <a class="el" href="classExtMode.html#o2">ExtMode</a><li>PartUserFromChannel() -: <a class="el" href="classServer.html#a29">Server</a><li>pass +: <a class="el" href="classServer.html#a30">Server</a><li>pass : <a class="el" href="classConnectClass.html#o5">ConnectClass</a><li>password : <a class="el" href="classuserrec.html#o14">userrec</a><li>pingmax : <a class="el" href="classuserrec.html#o13">userrec</a><li>pingtime : <a class="el" href="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port : <a class="el" href="classconnection.html#o8">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>PseudoToUser() -: <a class="el" href="classServer.html#a39">Server</a></ul> +: <a class="el" href="classServer.html#a40">Server</a></ul> <h3><a name="index_q">- q -</a> </h3><ul> <li>QuitUser() -: <a class="el" href="classServer.html#a31">Server</a></ul> +: <a class="el" href="classServer.html#a32">Server</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> <li>readerror @@ -347,14 +354,14 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classServer.html#a6">Server</a><li>SendCommon() : <a class="el" href="classServer.html#a11">Server</a><li>SendFrom() : <a class="el" href="classServer.html#a7">Server</a><li>SendMode() -: <a class="el" href="classServer.html#a26">Server</a><li>SendOpers() +: <a class="el" href="classServer.html#a27">Server</a><li>SendOpers() : <a class="el" href="classServer.html#a2">Server</a><li>SendPacket() : <a class="el" href="classconnection.html#a5">connection</a><li>sendq : <a class="el" href="classuserrec.html#o16">userrec</a><li>sendqmax : <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>SendServ() : <a class="el" href="classServer.html#a5">Server</a><li>SendTo() : <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask() -: <a class="el" href="classServer.html#a27">Server</a><li>SendWallops() +: <a class="el" href="classServer.html#a28">Server</a><li>SendWallops() : <a class="el" href="classServer.html#a12">Server</a><li>server : <a class="el" href="classWhoWasUser.html#o5">WhoWasUser</a>, <a class="el" href="classuserrec.html#o6">userrec</a><li>Server() : <a class="el" href="classServer.html#a0">Server</a><li>servername @@ -400,13 +407,13 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classserverrec.html#o3">serverrec</a><li>usercount_i : <a class="el" href="classserverrec.html#o2">serverrec</a><li>userrec() : <a class="el" href="classuserrec.html#a0">userrec</a><li>UserToPseudo() -: <a class="el" href="classServer.html#a38">Server</a></ul> +: <a class="el" href="classServer.html#a39">Server</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() -: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>Version() -: <a class="el" href="classVersion.html#a0">Version</a><li>version -: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a></ul> +: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>version +: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a><li>Version() +: <a class="el" href="classVersion.html#a0">Version</a></ul> <h3><a name="index_w">- w -</a> </h3><ul> <li>WriteError @@ -426,7 +433,7 @@ Here is a list of all class members with links to the classes they belong to:<h3 : <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec() : <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#a1">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index c900b096c..7c5c98f9d 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -4,9 +4,9 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="functions.html">All</a> | <a class="qindexHL" href="functions_func.html">Functions</a> | <a class="qindex" href="functions_vars.html">Variables</a></div> -<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_j">j</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_q">q</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_~">~</a></div> +<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_j">j</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_q">q</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_~">~</a></div> <p> @@ -15,17 +15,17 @@ </h3><ul> <li>AddBuffer() : <a class="el" href="classuserrec.html#a8">userrec</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand() -: <a class="el" href="classServer.html#a25">Server</a><li>AddELine() -: <a class="el" href="classServer.html#a44">Server</a><li>AddExtendedListMode() -: <a class="el" href="classServer.html#a24">Server</a><li>AddExtendedMode() -: <a class="el" href="classServer.html#a23">Server</a><li>AddGLine() -: <a class="el" href="classServer.html#a40">Server</a><li>AddIncoming() +: <a class="el" href="classServer.html#a26">Server</a><li>AddELine() +: <a class="el" href="classServer.html#a45">Server</a><li>AddExtendedListMode() +: <a class="el" href="classServer.html#a25">Server</a><li>AddExtendedMode() +: <a class="el" href="classServer.html#a24">Server</a><li>AddGLine() +: <a class="el" href="classServer.html#a41">Server</a><li>AddIncoming() : <a class="el" href="classconnection.html#a8">connection</a><li>AddKLine() -: <a class="el" href="classServer.html#a43">Server</a><li>AddQLine() -: <a class="el" href="classServer.html#a41">Server</a><li>AddUser() +: <a class="el" href="classServer.html#a44">Server</a><li>AddQLine() +: <a class="el" href="classServer.html#a42">Server</a><li>AddUser() : <a class="el" href="classchanrec.html#a5">chanrec</a><li>AddWriteBuf() : <a class="el" href="classuserrec.html#a14">userrec</a><li>AddZLine() -: <a class="el" href="classServer.html#a42">Server</a><li>Admin() +: <a class="el" href="classServer.html#a43">Server</a><li>Admin() : <a class="el" href="classAdmin.html#a0">Admin</a></ul> <h3><a name="index_b">- b -</a> </h3><ul> @@ -36,17 +36,18 @@ <h3><a name="index_c">- c -</a> </h3><ul> <li>CalcDuration() -: <a class="el" href="classServer.html#a50">Server</a><li>CallCommandHandler() -: <a class="el" href="classServer.html#a33">Server</a><li>ChangeGECOS() -: <a class="el" href="classServer.html#a35">Server</a><li>ChangeHost() -: <a class="el" href="classServer.html#a34">Server</a><li>ChangeUserNick() -: <a class="el" href="classServer.html#a30">Server</a><li>ChanMode() +: <a class="el" href="classServer.html#a51">Server</a><li>CallCommandHandler() +: <a class="el" href="classServer.html#a34">Server</a><li>ChangeGECOS() +: <a class="el" href="classServer.html#a36">Server</a><li>ChangeHost() +: <a class="el" href="classServer.html#a35">Server</a><li>ChangeUserNick() +: <a class="el" href="classServer.html#a31">Server</a><li>ChanMode() : <a class="el" href="classServer.html#a18">Server</a><li>chanrec() : <a class="el" href="classchanrec.html#a8">chanrec</a><li>classbase() : <a class="el" href="classclassbase.html#a0">classbase</a><li>ClearBuffer() : <a class="el" href="classuserrec.html#a10">userrec</a>, <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection() : <a class="el" href="classircd__connector.html#a13">ircd_connector</a><li>CommonChannels() -: <a class="el" href="classServer.html#a10">Server</a><li>ConfigReader() +: <a class="el" href="classServer.html#a10">Server</a><li>compare() +: <a class="el" href="structirc_1_1irc__char__traits.html#e3">irc::irc_char_traits</a><li>ConfigReader() : <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>ConnectClass() : <a class="el" href="classConnectClass.html#a0">ConnectClass</a><li>connection() : <a class="el" href="classconnection.html#a0">connection</a><li>CountUsers() @@ -56,12 +57,12 @@ <h3><a name="index_d">- d -</a> </h3><ul> <li>DelELine() -: <a class="el" href="classServer.html#a49">Server</a><li>DelGLine() -: <a class="el" href="classServer.html#a45">Server</a><li>DelKLine() -: <a class="el" href="classServer.html#a48">Server</a><li>DelQLine() -: <a class="el" href="classServer.html#a46">Server</a><li>DelUser() +: <a class="el" href="classServer.html#a50">Server</a><li>DelGLine() +: <a class="el" href="classServer.html#a46">Server</a><li>DelKLine() +: <a class="el" href="classServer.html#a49">Server</a><li>DelQLine() +: <a class="el" href="classServer.html#a47">Server</a><li>DelUser() : <a class="el" href="classchanrec.html#a6">chanrec</a><li>DelZLine() -: <a class="el" href="classServer.html#a47">Server</a><li>DNS() +: <a class="el" href="classServer.html#a48">Server</a><li>DNS() : <a class="el" href="classDNS.html#a1">DNS</a><li>dns_aton4() : <a class="el" href="classDNS.html#d2">DNS</a><li>dns_aton4_r() : <a class="el" href="classDNS.html#d11">DNS</a><li>dns_aton4_s() @@ -82,7 +83,8 @@ </h3><ul> <li>Enumerate() : <a class="el" href="classConfigReader.html#a7">ConfigReader</a><li>EnumerateValues() -: <a class="el" href="classConfigReader.html#a10">ConfigReader</a><li>Event() +: <a class="el" href="classConfigReader.html#a10">ConfigReader</a><li>eq() +: <a class="el" href="structirc_1_1irc__char__traits.html#e0">irc::irc_char_traits</a><li>Event() : <a class="el" href="classEvent.html#a0">Event</a><li>Exists() : <a class="el" href="classFileReader.html#a4">FileReader</a><li>Extend() : <a class="el" href="classExtensible.html#a0">Extensible</a><li>ExtMode() @@ -91,18 +93,19 @@ </h3><ul> <li>FileReader() : <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize() -: <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel() +: <a class="el" href="classFileReader.html#a6">FileReader</a><li>find() +: <a class="el" href="structirc_1_1irc__char__traits.html#e4">irc::irc_char_traits</a><li>FindChannel() : <a class="el" href="classServer.html#a17">Server</a><li>FindDescriptor() : <a class="el" href="classServer.html#a16">Server</a><li>FindHost() : <a class="el" href="classconnection.html#a7">connection</a><li>FindModule() -: <a class="el" href="classServer.html#a59">Server</a><li>FindNick() +: <a class="el" href="classServer.html#a60">Server</a><li>FindNick() : <a class="el" href="classServer.html#a15">Server</a><li>FlushWriteBuf() : <a class="el" href="classuserrec.html#a15">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#a4">DNS</a></ul> <h3><a name="index_g">- g -</a> </h3><ul> <li>GetAdmin() -: <a class="el" href="classServer.html#a22">Server</a><li>GetBuffer() +: <a class="el" href="classServer.html#a23">Server</a><li>GetBuffer() : <a class="el" href="classuserrec.html#a11">userrec</a>, <a class="el" href="classircd__connector.html#a17">ircd_connector</a><li>GetData() : <a class="el" href="classEvent.html#a1">Event</a>, <a class="el" href="classRequest.html#a1">Request</a><li>GetDescription() : <a class="el" href="classircd__connector.html#a8">ircd_connector</a><li>GetDescriptor() @@ -113,18 +116,20 @@ : <a class="el" href="classExtensible.html#a2">Extensible</a><li>GetFD() : <a class="el" href="classDNS.html#a7">DNS</a><li>GetFullHost() : <a class="el" href="classuserrec.html#a2">userrec</a><li>GetFullRealHost() -: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine() +: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetInviteList() +: <a class="el" href="classuserrec.html#a16">userrec</a><li>GetLine() : <a class="el" href="classFileReader.html#a5">FileReader</a><li>GetModeParameter() : <a class="el" href="classchanrec.html#a3">chanrec</a><li>GetNetworkName() : <a class="el" href="classServer.html#a21">Server</a><li>GetResult() -: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerIP() +: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerDescription() +: <a class="el" href="classServer.html#a22">Server</a><li>GetServerIP() : <a class="el" href="classircd__connector.html#a7">ircd_connector</a><li>GetServerName() : <a class="el" href="classServer.html#a20">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort() : <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource() : <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState() : <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter() : <a class="el" href="classchanrec.html#a4">chanrec</a><li>GetUsers() -: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() +: <a class="el" href="classServer.html#a38">Server</a>, <a class="el" href="classchanrec.html#a7">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString() : <a class="el" href="classircd__connector.html#a19">ircd_connector</a><li>GetWriteError() : <a class="el" href="classuserrec.html#a13">userrec</a></ul> @@ -142,32 +147,37 @@ : <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick() : <a class="el" href="classServer.html#a13">Server</a><li>IsOnChannel() : <a class="el" href="classServer.html#a19">Server</a><li>IsUlined() -: <a class="el" href="classServer.html#a36">Server</a><li>IsValidMask() -: <a class="el" href="classServer.html#a51">Server</a></ul> +: <a class="el" href="classServer.html#a37">Server</a><li>IsValidMask() +: <a class="el" href="classServer.html#a52">Server</a></ul> <h3><a name="index_j">- j -</a> </h3><ul> <li>JoinUserToChannel() -: <a class="el" href="classServer.html#a28">Server</a></ul> +: <a class="el" href="classServer.html#a29">Server</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>LoadFile() : <a class="el" href="classFileReader.html#a3">FileReader</a><li>Log() -: <a class="el" href="classServer.html#a3">Server</a></ul> +: <a class="el" href="classServer.html#a3">Server</a><li>lt() +: <a class="el" href="structirc_1_1irc__char__traits.html#e2">irc::irc_char_traits</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>MakeOutboundConnection() : <a class="el" href="classircd__connector.html#a0">ircd_connector</a><li>MatchText() -: <a class="el" href="classServer.html#a32">Server</a><li>MeshCheckChan() -: <a class="el" href="classServer.html#a57">Server</a><li>MeshCheckCommon() -: <a class="el" href="classServer.html#a58">Server</a><li>MeshCookie() +: <a class="el" href="classServer.html#a33">Server</a><li>MeshCheckChan() +: <a class="el" href="classServer.html#a58">Server</a><li>MeshCheckCommon() +: <a class="el" href="classServer.html#a59">Server</a><li>MeshCookie() : <a class="el" href="classconnection.html#a3">connection</a><li>MeshSendAll() -: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllAlive() -: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendAllExcept() -: <a class="el" href="classServer.html#a56">Server</a><li>MeshSendCommon() -: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendUnicast() -: <a class="el" href="classServer.html#a55">Server</a><li>Module() +: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendAllAlive() +: <a class="el" href="classServer.html#a55">Server</a><li>MeshSendAllExcept() +: <a class="el" href="classServer.html#a57">Server</a><li>MeshSendCommon() +: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendUnicast() +: <a class="el" href="classServer.html#a56">Server</a><li>Module() : <a class="el" href="classModule.html#a0">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul> +<h3><a name="index_n">- n -</a> +</h3><ul> +<li>ne() +: <a class="el" href="structirc_1_1irc__char__traits.html#e1">irc::irc_char_traits</a></ul> <h3><a name="index_o">- o -</a> </h3><ul> <li>On005Numeric() @@ -228,12 +238,12 @@ <h3><a name="index_p">- p -</a> </h3><ul> <li>PartUserFromChannel() -: <a class="el" href="classServer.html#a29">Server</a><li>PseudoToUser() -: <a class="el" href="classServer.html#a39">Server</a></ul> +: <a class="el" href="classServer.html#a30">Server</a><li>PseudoToUser() +: <a class="el" href="classServer.html#a40">Server</a></ul> <h3><a name="index_q">- q -</a> </h3><ul> <li>QuitUser() -: <a class="el" href="classServer.html#a31">Server</a></ul> +: <a class="el" href="classServer.html#a32">Server</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> <li>ReadFlag() @@ -252,12 +262,12 @@ : <a class="el" href="classServer.html#a6">Server</a><li>SendCommon() : <a class="el" href="classServer.html#a11">Server</a><li>SendFrom() : <a class="el" href="classServer.html#a7">Server</a><li>SendMode() -: <a class="el" href="classServer.html#a26">Server</a><li>SendOpers() +: <a class="el" href="classServer.html#a27">Server</a><li>SendOpers() : <a class="el" href="classServer.html#a2">Server</a><li>SendPacket() : <a class="el" href="classconnection.html#a5">connection</a><li>SendServ() : <a class="el" href="classServer.html#a5">Server</a><li>SendTo() : <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask() -: <a class="el" href="classServer.html#a27">Server</a><li>SendWallops() +: <a class="el" href="classServer.html#a28">Server</a><li>SendWallops() : <a class="el" href="classServer.html#a12">Server</a><li>Server() : <a class="el" href="classServer.html#a0">Server</a><li>serverrec() : <a class="el" href="classserverrec.html#a1">serverrec</a><li>SetCustomMode() @@ -283,7 +293,7 @@ <li>ucrec() : <a class="el" href="classucrec.html#a0">ucrec</a><li>userrec() : <a class="el" href="classuserrec.html#a0">userrec</a><li>UserToPseudo() -: <a class="el" href="classServer.html#a38">Server</a></ul> +: <a class="el" href="classServer.html#a39">Server</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>Verify() @@ -304,7 +314,7 @@ : <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec() : <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#a1">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index 5e1bc5103..51f896dd8 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindexHL" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="functions.html">All</a> | <a class="qindex" href="functions_func.html">Functions</a> | <a class="qindexHL" href="functions_vars.html">Variables</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_j">j</a> | <a class="qindex" href="#index_k">k</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_o">o</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_w">w</a></div> @@ -187,7 +187,7 @@ </h3><ul> <li>WriteError : <a class="el" href="classuserrec.html#o20">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index d70ea24d2..9bc221055 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindexHL" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_q">q</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_z">z</a></div> @@ -32,85 +32,86 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="xline_8h.html#a4">xline.h</a><li>add_qline() : <a class="el" href="xline_8h.html#a2">xline.h</a><li>add_zline() : <a class="el" href="xline_8h.html#a3">xline.h</a><li>address_cache -: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>AdminEmail -: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName -: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick -: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode() +: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>AdminEmail +: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName +: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick +: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode() : <a class="el" href="mode_8h.html#a9">mode.h</a><li>apply_lines() : <a class="el" href="xline_8h.html#a17">xline.h</a><li>auth_cookies -: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> <h3><a name="index_b">- b -</a> </h3><ul> <li>BanList : <a class="el" href="channels_8h.html#a11">channels.h</a><li>Blocking() : <a class="el" href="message_8h.html#a5">message.h</a><li>boundPortCount -: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> <h3><a name="index_c">- c -</a> </h3><ul> <li>c_count() : <a class="el" href="message_8h.html#a8">message.h</a><li>CC_ALLOW : <a class="el" href="users_8h.html#a4">users.h</a><li>CC_DENY : <a class="el" href="users_8h.html#a5">users.h</a><li>chan_hash -: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>ChangeDisplayedHost() +: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>ChangeDisplayedHost() : <a class="el" href="message_8h.html#a11">message.h</a><li>ChangeName() : <a class="el" href="message_8h.html#a10">message.h</a><li>chanlist -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>chanuserlist : <a class="el" href="modules_8h.html#a33">modules.h</a><li>chlist() : <a class="el" href="message_8h.html#a18">message.h</a><li>chop() : <a class="el" href="message_8h.html#a1">message.h</a><li>ClassVector : <a class="el" href="users_8h.html#a7">users.h</a><li>CleanAndResolve() : <a class="el" href="message_8h.html#a7">message.h</a><li>clientlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>CM_INVITEONLY +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>CM_INVITEONLY : <a class="el" href="channels_8h.html#a2">channels.h</a><li>CM_MODERATED : <a class="el" href="channels_8h.html#a3">channels.h</a><li>CM_NOEXTERNAL : <a class="el" href="channels_8h.html#a1">channels.h</a><li>CM_PRIVATE : <a class="el" href="channels_8h.html#a5">channels.h</a><li>CM_SECRET : <a class="el" href="channels_8h.html#a4">channels.h</a><li>CM_TOPICLOCK : <a class="el" href="channels_8h.html#a0">channels.h</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>cmode() +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>command_table -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>common_channels() +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>common_channels() : <a class="el" href="message_8h.html#a0">message.h</a><li>CONF_FILE_NOT_FOUND : <a class="el" href="modules_8h.html#a30">modules.h</a><li>CONF_NOT_A_NUMBER : <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_NOT_UNSIGNED : <a class="el" href="modules_8h.html#a28">modules.h</a><li>CONF_VALUE_NOT_FOUND : <a class="el" href="modules_8h.html#a29">modules.h</a><li>config_f -: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>createcommand() -: <a class="el" href="modules_8h.html#a35">modules.h</a><li>cstatus() +: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>createcommand() +: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum() +: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus() : <a class="el" href="message_8h.html#a15">message.h</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>DEBUG : <a class="el" href="modules_8h.html#a0">modules.h</a><li>debugging -: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT +: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT : <a class="el" href="modules_8h.html#a2">modules.h</a><li>defaultRoute -: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>del_eline() +: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>del_eline() : <a class="el" href="xline_8h.html#a10">xline.h</a><li>del_gline() : <a class="el" href="xline_8h.html#a6">xline.h</a><li>del_kline() : <a class="el" href="xline_8h.html#a9">xline.h</a><li>del_qline() : <a class="el" href="xline_8h.html#a7">xline.h</a><li>del_zline() : <a class="el" href="xline_8h.html#a8">xline.h</a><li>DieDelay -: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass -: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue -: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode() -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>duration() +: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass +: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue +: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration() : <a class="el" href="commands_8h.html#a75">commands.h</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ExemptList +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ExemptList : <a class="el" href="channels_8h.html#a12">channels.h</a><li>expire_lines() : <a class="el" href="xline_8h.html#a16">xline.h</a><li>ExtModeList -: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>FD_MAGIC_NUMBER +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>FD_MAGIC_NUMBER : <a class="el" href="modules_8h.html#a26">modules.h</a><li>fd_reap -: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table -: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>file_cache +: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table +: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>file_cache : <a class="el" href="modules_8h.html#a31">modules.h</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#a24">modules.h</a><li>FOREACH_RESULT : <a class="el" href="modules_8h.html#a25">modules.h</a></ul> @@ -182,9 +183,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="commands_8h.html#a47">commands.h</a><li>handle_squit() : <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats() : <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon() -: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t() -: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_T() -: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_time() +: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T() +: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_t() +: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time() : <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic() : <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace() : <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule() @@ -205,7 +206,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a13">channels.h</a><li>IP -: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ircd_module +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ircd_module : <a class="el" href="modules_8h.html#a34">modules.h</a><li>is_uline() : <a class="el" href="commands_8h.html#a74">commands.h</a><li>isident() : <a class="el" href="message_8h.html#a12">message.h</a><li>isnick() @@ -215,9 +216,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a <li>LINK_ACTIVE : <a class="el" href="servers_8h.html#a0">servers.h</a><li>LINK_INACTIVE : <a class="el" href="servers_8h.html#a1">servers.h</a><li>list -: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file -: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel -: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file +: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel +: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>matches_exception() @@ -226,39 +227,39 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="xline_8h.html#a14">xline.h</a><li>matches_qline() : <a class="el" href="xline_8h.html#a11">xline.h</a><li>matches_zline() : <a class="el" href="xline_8h.html#a13">xline.h</a><li>MaxWhoResults -: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me -: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>merge_mode() +: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me +: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>merge_mode() : <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2() : <a class="el" href="mode_8h.html#a14">mode.h</a><li>MODCOUNT -: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a><li>module_names -: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd -: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a><li>MT_CHANNEL +: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>ModeDefined() +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>module_names +: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD +: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>MT_CHANNEL : <a class="el" href="modules_8h.html#a5">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#a6">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#a7">modules.h</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>nb_start -: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize -: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network -: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking() +: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize +: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network +: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking() : <a class="el" href="message_8h.html#a6">message.h</a><li>NONE : <a class="el" href="modules_8h.html#a4">modules.h</a><li>nspace -: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> +: <a class="el" href="hashcomp_8h.html#a0">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> <h3><a name="index_p">- p -</a> </h3><ul> <li>portCount -: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit -: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes() +: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports +: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit +: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes() : <a class="el" href="mode_8h.html#a8">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#a10">mode.h</a><li>process_restricted_commands() : <a class="el" href="commands_8h.html#a51">commands.h</a></ul> @@ -271,20 +272,20 @@ Here is a list of all file members with links to the files they belong to:<h3><a </h3><ul> <li>read_xline_defaults() : <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass -: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules +: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES +: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>safedelete() : <a class="el" href="message_8h.html#a4">message.h</a><li>send_network_quit() : <a class="el" href="message_8h.html#a19">message.h</a><li>server_mode() : <a class="el" href="modules_8h.html#a36">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc -: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName -: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount -: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>SPARSE +: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName +: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount +: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>SPARSE : <a class="el" href="modules_8h.html#a3">modules.h</a><li>startup_time -: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED +: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED : <a class="el" href="connection_8h.html#a1">connection.h</a><li>STATE_DISCONNECTED : <a class="el" href="connection_8h.html#a0">connection.h</a><li>STATE_NOAUTH_INBOUND : <a class="el" href="connection_8h.html#a3">connection.h</a><li>STATE_NOAUTH_OUTBOUND @@ -311,7 +312,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="mode_8h.html#a5">mode.h</a><li>TidyBan() : <a class="el" href="message_8h.html#a17">message.h</a><li>tidystring() : <a class="el" href="message_8h.html#a2">message.h</a><li>TIME -: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> +: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a3">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> <h3><a name="index_u">- u -</a> </h3><ul> <li>UCMODE_FOUNDER @@ -320,7 +321,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a : <a class="el" href="channels_8h.html#a6">channels.h</a><li>UCMODE_PROTECT : <a class="el" href="channels_8h.html#a9">channels.h</a><li>UCMODE_VOICE : <a class="el" href="channels_8h.html#a7">channels.h</a><li>user_hash -: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul> <h3><a name="index_v">- v -</a> </h3><ul> <li>VERBOSE @@ -333,16 +334,16 @@ Here is a list of all file members with links to the files they belong to:<h3><a <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>whowas_hash -: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>whowas_hash +: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>WHOWAS_MAX +: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE +: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> <h3><a name="index_z">- z -</a> </h3><ul> <li>zline_make_global() : <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#a25">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index 855ebc923..ea7ddb035 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindexHL" href="globals_defs.html">Defines</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_u">u</a> | <a class="qindex" href="#index_v">v</a></div> @@ -67,7 +67,7 @@ </h3><ul> <li>NONE : <a class="el" href="modules_8h.html#a4">modules.h</a><li>nspace -: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> +: <a class="el" href="hashcomp_8h.html#a0">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>SPARSE @@ -98,7 +98,7 @@ : <a class="el" href="modules_8h.html#a22">modules.h</a><li>VF_STATIC : <a class="el" href="modules_8h.html#a20">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#a21">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index 7c41a5414..dcde05ba6 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindexHL" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_g">g</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_q">q</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_z">z</a></div> @@ -37,7 +37,8 @@ : <a class="el" href="message_8h.html#a7">message.h</a><li>cmode() : <a class="el" href="message_8h.html#a14">message.h</a><li>common_channels() : <a class="el" href="message_8h.html#a0">message.h</a><li>createcommand() -: <a class="el" href="modules_8h.html#a35">modules.h</a><li>cstatus() +: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum() +: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus() : <a class="el" href="message_8h.html#a15">message.h</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> @@ -47,7 +48,7 @@ : <a class="el" href="xline_8h.html#a9">xline.h</a><li>del_qline() : <a class="el" href="xline_8h.html#a7">xline.h</a><li>del_zline() : <a class="el" href="xline_8h.html#a8">xline.h</a><li>DoAddExtendedMode() -: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>duration() +: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration() : <a class="el" href="commands_8h.html#a75">commands.h</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> @@ -56,7 +57,7 @@ <h3><a name="index_f">- f -</a> </h3><ul> <li>factory() -: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul> <h3><a name="index_g">- g -</a> </h3><ul> <li>give_hops() @@ -125,9 +126,9 @@ : <a class="el" href="commands_8h.html#a47">commands.h</a><li>handle_squit() : <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats() : <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon() -: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t() -: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_T() -: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_time() +: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T() +: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_t() +: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time() : <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic() : <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace() : <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule() @@ -159,13 +160,13 @@ : <a class="el" href="xline_8h.html#a13">xline.h</a><li>merge_mode() : <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2() : <a class="el" href="mode_8h.html#a14">mode.h</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a><li>modules() -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>modules() +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>NonBlocking() @@ -211,7 +212,7 @@ <li>zline_make_global() : <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#a25">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index 160c26206..0ef9ca1e3 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -4,30 +4,30 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_vars.html">Variables</a> | <a class="qindexHL" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <p> <ul> <li>address_cache -: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>BanList +: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>BanList : <a class="el" href="channels_8h.html#a11">channels.h</a><li>chan_hash -: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>chanuserlist : <a class="el" href="modules_8h.html#a33">modules.h</a><li>ClassVector : <a class="el" href="users_8h.html#a7">users.h</a><li>command_table -: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>ExemptList +: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>ExemptList : <a class="el" href="channels_8h.html#a12">channels.h</a><li>ExtModeList -: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExtModeListIter -: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>file_cache +: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExtModeListIter +: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>file_cache : <a class="el" href="modules_8h.html#a31">modules.h</a><li>InvitedList : <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#a13">channels.h</a><li>ircd_module : <a class="el" href="modules_8h.html#a34">modules.h</a><li>string_list : <a class="el" href="modules_8h.html#a32">modules.h</a><li>user_hash -: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>VoidPointer +: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>VoidPointer : <a class="el" href="base_8h.html#a0">base.h</a><li>whowas_hash -: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index 6d9ebd687..1a31c56d6 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindexHL" href="globals.html">File Members</a></div> <div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> <div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_w">w</a></div> @@ -14,96 +14,96 @@ <h3><a name="index_a">- a -</a> </h3><ul> <li>AdminEmail -: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName -: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick -: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>auth_cookies -: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName +: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick +: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>auth_cookies +: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a></ul> <h3><a name="index_b">- b -</a> </h3><ul> <li>boundPortCount -: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a></ul> <h3><a name="index_c">- c -</a> </h3><ul> <li>chanlist -: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>clientlist -: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>cmdlist -: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>config_f -: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>custom_mode_params +: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>clientlist +: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>cmdlist +: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>config_f +: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul> <h3><a name="index_d">- d -</a> </h3><ul> <li>debugging -: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute -: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>DieDelay -: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass -: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue -: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute +: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a><li>DieDelay +: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass +: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue +: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a></ul> <h3><a name="index_e">- e -</a> </h3><ul> <li>EMode -: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a></ul> <h3><a name="index_f">- f -</a> </h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#a62">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap -: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table -: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_reap +: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table +: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a></ul> <h3><a name="index_i">- i -</a> </h3><ul> <li>IP -: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> <h3><a name="index_l">- l -</a> </h3><ul> <li>list -: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file -: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel -: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file +: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a><li>LogLevel +: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul> <h3><a name="index_m">- m -</a> </h3><ul> <li>MaxWhoResults -: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me -: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>MODCOUNT -: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names -: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules -: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd -: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD -: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me +: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>MODCOUNT +: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names +: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a><li>modules +: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd +: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD +: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul> <h3><a name="index_n">- n -</a> </h3><ul> <li>nb_start -: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize -: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network -: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize +: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network +: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul> <h3><a name="index_p">- p -</a> </h3><ul> <li>portCount -: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit -: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>ports +: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>PrefixQuit +: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul> <h3><a name="index_r">- r -</a> </h3><ul> <li>restartpass -: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules -: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES -: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules +: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES +: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul> <h3><a name="index_s">- s -</a> </h3><ul> <li>ServerDesc -: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName -: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount -: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>startup_time -: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul> +: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName +: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount +: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>startup_time +: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul> <h3><a name="index_t">- t -</a> </h3><ul> <li>TIME -: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> +: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a3">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul> <h3><a name="index_w">- w -</a> </h3><ul> <li>whowas -: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>WHOWAS_MAX +: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE +: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index abdd1fabc..0892dff1d 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>Graph Legend</h1>This page explains how to interpret the graphs that are generated by doxygen.<p> Consider the following example: <div class="fragment"><pre><span class="comment">/*! Invisible class because of truncation */</span> <span class="keyword">class </span>Invisible { }; @@ -67,7 +67,7 @@ A purple dashed arrow is used if a class is contained or used by another class. <li> A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html new file mode 100644 index 000000000..9314d0209 --- /dev/null +++ b/docs/module-doc/hashcomp_8h-source.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: hashcomp.h Source File</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>hashcomp.h</h1><a href="hashcomp_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> +00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +00003 <span class="comment"> * +------------------------------------+</span> +00004 <span class="comment"> *</span> +00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span> +00006 <span class="comment"> * E-mail:</span> +00007 <span class="comment"> * <brain@chatspike.net></span> +00008 <span class="comment"> * <Craig@chatspike.net></span> +00009 <span class="comment"> *</span> +00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +00011 <span class="comment"> * This program is free but copyrighted software; see</span> +00012 <span class="comment"> * the file COPYING for details.</span> +00013 <span class="comment"> *</span> +00014 <span class="comment"> * ---------------------------------------------------</span> +00015 <span class="comment"> */</span> +00016 +00017 <span class="preprocessor">#ifndef _HASHCOMP_H_</span> +00018 <span class="preprocessor"></span><span class="preprocessor">#define _HASHCOMP_H_</span> +00019 <span class="preprocessor"></span> +00020 <span class="preprocessor">#include "inspircd_config.h"</span> +00021 +00022 <span class="preprocessor">#ifdef GCC3</span> +00023 <span class="preprocessor"></span><span class="preprocessor">#include <ext/hash_map></span> +00024 <span class="preprocessor">#else</span> +00025 <span class="preprocessor"></span><span class="preprocessor">#include <hash_map></span> +00026 <span class="preprocessor">#endif</span> +00027 <span class="preprocessor"></span> +00028 <span class="preprocessor">#ifdef GCC3</span> +<a name="l00029"></a><a class="code" href="hashcomp_8h.html#a0">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> +00030 <span class="preprocessor"></span><span class="preprocessor">#else</span> +00031 <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> +00032 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +00033 <span class="preprocessor"></span> +00034 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +00035 +<a name="l00036"></a><a class="code" href="namespacenspace.html">00036</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a> +00037 { +00038 <span class="preprocessor">#ifdef GCC34</span> +00039 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<in_addr> +00040 #else +<a name="l00041"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00041</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<in_addr> +00042 #endif +00043 { +00044 size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &a) <span class="keyword">const</span>; +00045 }; +00046 <span class="preprocessor">#ifdef GCC34</span> +00047 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<<a class="code" href="namespaceirc.html#a0">string</a>> +00048 #else +<a name="l00049"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00049</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<string> +00050 #endif +00051 { +00052 size_t operator()(<span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a> &s) <span class="keyword">const</span>; +00053 }; +00054 } +00055 +<a name="l00060"></a><a class="code" href="structStrHashComp.html">00060</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a> +00061 { +00064 <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a>& s1, <span class="keyword">const</span> <a class="code" href="namespaceirc.html#a0">string</a>& s2) <span class="keyword">const</span>; +00065 }; +00066 +<a name="l00071"></a><a class="code" href="structInAddr__HashComp.html">00071</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a> +00072 { +00075 <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &s1, <span class="keyword">const</span> in_addr &s2) <span class="keyword">const</span>; +00076 }; +00077 +<a name="l00080"></a><a class="code" href="namespaceirc.html">00080</a> <span class="keyword">namespace </span>irc +00081 { +<a name="l00086"></a><a class="code" href="structirc_1_1irc__char__traits.html">00086</a> <span class="keyword">struct </span><a class="code" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> : std::char_traits<char> { +00087 +00090 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e0">eq</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd); +00091 +00094 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e1">ne</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd); +00095 +00098 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="structirc_1_1irc__char__traits.html#e2">lt</a>(<span class="keywordtype">char</span> c1st, <span class="keywordtype">char</span> c2nd); +00099 +00102 <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="structirc_1_1irc__char__traits.html#e3">compare</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str1, <span class="keyword">const</span> <span class="keywordtype">char</span>* str2, size_t n); +00103 +00106 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structirc_1_1irc__char__traits.html#e4">find</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s1, <span class="keywordtype">int</span> n, <span class="keywordtype">char</span> c); +00107 }; +00108 +<a name="l00111"></a><a class="code" href="namespaceirc.html#a0">00111</a> <span class="keyword">typedef</span> basic_string<char, irc_char_traits, allocator<char> > <a class="code" href="namespaceirc.html#a0">string</a>; +00112 } +00113 +00114 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html new file mode 100644 index 000000000..ceb1dacd0 --- /dev/null +++ b/docs/module-doc/hashcomp_8h.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: hashcomp.h File Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>hashcomp.h File Reference</h1><code>#include "inspircd_config.h"</code><br> +<code>#include <ext/hash_map></code><br> + +<p> +Include dependency graph for hashcomp.h:<p><center><img src="hashcomp_8h__incl.gif" border="0" usemap="#hashcomp.h_map" alt="Include dependency graph"></center> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="hashcomp_8h__dep__incl.gif" border="0" usemap="#hashcomp.hdep_map" alt="Included by dependency graph"></center> +<map name="hashcomp.hdep_map"> +<area href="modules_8cpp.html" shape="rect" coords="8,7,106,34" alt=""> +</map> + +<p> +<a href="hashcomp_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>namespace </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceirc.html">irc</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>namespace </td><td class="memItemRight" valign=bottom><a class="el" href="namespacenspace.html">nspace</a></td></tr> + +<tr><td colspan=2><br><h2>Compounds</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This class returns true if two in_addr structs match. </em> <a href="structInAddr__HashComp.html#_details">More...</a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structStrHashComp.html">StrHashComp</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This class returns true if two strings match. </em> <a href="structStrHashComp.html#_details">More...</a><em><br><br></td></tr> +<tr><td colspan=2><br><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="hashcomp_8h.html#a0">nspace</a> __gnu_cxx</td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a name="a0" doxytag="hashcomp.h::nspace"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> #define nspace __gnu_cxx + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="hashcomp_8h-source.html#l00029">29</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:28 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/hashcomp_8h__dep__incl.gif b/docs/module-doc/hashcomp_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..5595a48da --- /dev/null +++ b/docs/module-doc/hashcomp_8h__dep__incl.gif diff --git a/docs/module-doc/hashcomp_8h__incl.gif b/docs/module-doc/hashcomp_8h__incl.gif Binary files differnew file mode 100644 index 000000000..be85b903e --- /dev/null +++ b/docs/module-doc/hashcomp_8h__incl.gif diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index e8a66964c..28093b0d5 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -4,10 +4,14 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindexHL" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindexHL" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Class Hierarchy</h1><a href="inherits.html">Go to the graphical class hierarchy</a> <p> This inheritance list is sorted roughly, but not completely, alphabetically:<ul> +<li><a class="el" href="classstd_1_1char__traits.html">char_traits</a> +<ul> +<li><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a> +</ul> <li><a class="el" href="classclassbase.html">classbase</a> <ul> <li><a class="el" href="classAdmin.html">Admin</a> @@ -61,7 +65,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="structStrHashComp.html">StrHashComp</a> <li><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:18 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/inherit__graph__0.gif b/docs/module-doc/inherit__graph__0.gif Binary files differindex a434ea0a7..397bfc922 100644 --- a/docs/module-doc/inherit__graph__0.gif +++ b/docs/module-doc/inherit__graph__0.gif diff --git a/docs/module-doc/inherit__graph__1.gif b/docs/module-doc/inherit__graph__1.gif Binary files differindex 992d6ed85..a434ea0a7 100644 --- a/docs/module-doc/inherit__graph__1.gif +++ b/docs/module-doc/inherit__graph__1.gif diff --git a/docs/module-doc/inherit__graph__2.gif b/docs/module-doc/inherit__graph__2.gif Binary files differindex 224232736..992d6ed85 100644 --- a/docs/module-doc/inherit__graph__2.gif +++ b/docs/module-doc/inherit__graph__2.gif diff --git a/docs/module-doc/inherit__graph__3.gif b/docs/module-doc/inherit__graph__3.gif Binary files differindex 54f78b321..224232736 100644 --- a/docs/module-doc/inherit__graph__3.gif +++ b/docs/module-doc/inherit__graph__3.gif diff --git a/docs/module-doc/inherit__graph__4.gif b/docs/module-doc/inherit__graph__4.gif Binary files differindex d85abdb1b..54f78b321 100644 --- a/docs/module-doc/inherit__graph__4.gif +++ b/docs/module-doc/inherit__graph__4.gif diff --git a/docs/module-doc/inherit__graph__5.gif b/docs/module-doc/inherit__graph__5.gif Binary files differindex 516567cb0..d85abdb1b 100644 --- a/docs/module-doc/inherit__graph__5.gif +++ b/docs/module-doc/inherit__graph__5.gif diff --git a/docs/module-doc/inherit__graph__6.gif b/docs/module-doc/inherit__graph__6.gif Binary files differindex e3f1b5b05..516567cb0 100644 --- a/docs/module-doc/inherit__graph__6.gif +++ b/docs/module-doc/inherit__graph__6.gif diff --git a/docs/module-doc/inherit__graph__7.gif b/docs/module-doc/inherit__graph__7.gif Binary files differindex a7d4324c4..e3f1b5b05 100644 --- a/docs/module-doc/inherit__graph__7.gif +++ b/docs/module-doc/inherit__graph__7.gif diff --git a/docs/module-doc/inherit__graph__8.gif b/docs/module-doc/inherit__graph__8.gif Binary files differnew file mode 100644 index 000000000..a7d4324c4 --- /dev/null +++ b/docs/module-doc/inherit__graph__8.gif diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 9c4f67ede..bf56418f2 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -4,11 +4,16 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Graphical Class Hierarchy</h1><a href="hierarchy.html">Go to the textual class hierarchy</a> <p> <table border=0 cellspacing=10 cellpadding=0> -<tr><td><img src="inherit__graph__0.gif" border="0" alt="" usemap="#classbase_map"> +<tr><td><img src="inherit__graph__0.gif" border="0" alt="" usemap="#char__traits_map"> +<map name="char__traits_map"> +<area href="classstd_1_1char__traits.html" shape="rect" coords="9,8,91,34" alt=""> +<area href="structirc_1_1irc__char__traits.html" shape="rect" coords="141,8,269,34" alt=""> +</map></td></tr> +<tr><td><img src="inherit__graph__1.gif" border="0" alt="" usemap="#classbase_map"> <map name="classbase_map"> <area href="classclassbase.html" shape="rect" coords="9,388,89,414" alt=""> <area href="classAdmin.html" shape="rect" coords="168,8,229,34" alt=""> @@ -44,36 +49,36 @@ <area href="classQLine.html" shape="rect" coords="332,818,390,845" alt=""> <area href="classZLine.html" shape="rect" coords="333,869,389,896" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__1.gif" border="0" alt="" usemap="#DNS_map"> +<tr><td><img src="inherit__graph__2.gif" border="0" alt="" usemap="#DNS_map"> <map name="DNS_map"> <area href="classDNS.html" shape="rect" coords="8,8,58,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__2.gif" border="0" alt="" usemap="#dns__ip4list_map"> +<tr><td><img src="inherit__graph__3.gif" border="0" alt="" usemap="#dns__ip4list_map"> <map name="dns__ip4list_map"> <area href="structdns__ip4list.html" shape="rect" coords="7,8,93,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__3.gif" border="0" alt="" usemap="#InAddr__HashComp_map"> +<tr><td><img src="inherit__graph__4.gif" border="0" alt="" usemap="#InAddr__HashComp_map"> <map name="InAddr__HashComp_map"> <area href="structInAddr__HashComp.html" shape="rect" coords="8,8,144,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__4.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01in__addr_01_4_map"> +<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01in__addr_01_4_map"> <map name="nspace_1_1hash_3_01in__addr_01_4_map"> <area href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html" shape="rect" coords="9,8,177,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01string_01_4_map"> +<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01string_01_4_map"> <map name="nspace_1_1hash_3_01string_01_4_map"> <area href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html" shape="rect" coords="7,8,165,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#StrHashComp_map"> +<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#StrHashComp_map"> <map name="StrHashComp_map"> <area href="structStrHashComp.html" shape="rect" coords="8,8,114,34" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#WhoWasUser_map"> +<tr><td><img src="inherit__graph__8.gif" border="0" alt="" usemap="#WhoWasUser_map"> <map name="WhoWasUser_map"> <area href="classWhoWasUser.html" shape="rect" coords="9,8,113,34" alt=""> </map></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:04:00 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index ad2088d71..a137dee20 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -4,10 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindexHL" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindexHL" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Documentation</h1> <p> -<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:40 2005 for InspIRCd by +<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:04 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 3626a3fa0..958c56b71 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>message.h</h1><a href="message_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -57,7 +57,7 @@ 00050 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a19">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason); 00051 00052 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index 687a00ed8..98336179d 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>message.h File Reference</h1><code>#include <typeinfo></code><br> <code>#include <iostream></code><br> <code>#include <string></code><br> @@ -169,7 +169,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00582">Server::ChangeHost()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00506">Server::ChangeHost()</a>. </td> </tr> </table> <a name="a10" doxytag="message.h::ChangeName"></a><p> @@ -209,7 +209,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00582">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::ChangeGECOS()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00511">Server::ChangeGECOS()</a>. </td> </tr> </table> <a name="a18" doxytag="message.h::chlist"></a><p> @@ -354,7 +354,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00612">Server::ChanMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00536">Server::ChanMode()</a>. </td> </tr> </table> <a name="a0" doxytag="message.h::common_channels"></a><p> @@ -394,7 +394,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00612">Server::ChanM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00560">Server::CommonChannels()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00484">Server::CommonChannels()</a>. </td> </tr> </table> <a name="a15" doxytag="message.h::cstatus"></a><p> @@ -472,7 +472,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00560">Server::Commo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00617">Server::IsOnChannel()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00541">Server::IsOnChannel()</a>. </td> </tr> </table> <a name="a9" doxytag="message.h::hasumode"></a><p> @@ -570,7 +570,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00617">Server::IsOnC <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00592">Server::IsNick()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00516">Server::IsNick()</a>. </td> </tr> </table> <a name="a6" doxytag="message.h::NonBlocking"></a><p> @@ -756,7 +756,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00592">Server::IsNic </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:59 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:30 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index b8bc7b719..3afbfc976 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>mode.h</h1><a href="mode_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -53,7 +53,7 @@ 00046 00047 00048 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:05 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index 2edbe429f..48eafe999 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>mode.h File Reference</h1><code>#include <typeinfo></code><br> <code>#include <iostream></code><br> <code>#include <string></code><br> @@ -802,7 +802,7 @@ This graph shows which files directly or indirectly include this file:<p><center </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:01 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:32 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 024038f7d..5f6dfb3be 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>modules.cpp</h1><a href="modules_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -26,1055 +26,984 @@ 00019 <span class="preprocessor">#include "inspircd_util.h"</span> 00020 <span class="preprocessor">#include "inspircd_config.h"</span> 00021 <span class="preprocessor">#include <unistd.h></span> -00022 <span class="preprocessor">#include <fcntl.h></span> -00023 <span class="preprocessor">#include <sys/errno.h></span> -00024 <span class="preprocessor">#include <sys/ioctl.h></span> -00025 <span class="preprocessor">#include <sys/utsname.h></span> -00026 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00027 <span class="preprocessor"></span><span class="preprocessor">#include <sys/types.h></span> -00028 <span class="preprocessor">#include <sys/event.h></span> -00029 <span class="preprocessor">#include <sys/time.h></span> -00030 <span class="preprocessor">#endif</span> -00031 <span class="preprocessor"></span><span class="preprocessor">#include <cstdio></span> -00032 <span class="preprocessor">#include <time.h></span> -00033 <span class="preprocessor">#include <string></span> -00034 <span class="preprocessor">#ifdef GCC3</span> -00035 <span class="preprocessor"></span><span class="preprocessor">#include <ext/hash_map></span> -00036 <span class="preprocessor">#else</span> -00037 <span class="preprocessor"></span><span class="preprocessor">#include <hash_map></span> -00038 <span class="preprocessor">#endif</span> -00039 <span class="preprocessor"></span><span class="preprocessor">#include <map></span> -00040 <span class="preprocessor">#include <sstream></span> -00041 <span class="preprocessor">#include <vector></span> -00042 <span class="preprocessor">#include <errno.h></span> -00043 <span class="preprocessor">#include <deque></span> -00044 <span class="preprocessor">#include <errno.h></span> -00045 <span class="preprocessor">#include <unistd.h></span> -00046 <span class="preprocessor">#include <sched.h></span> -00047 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> -00048 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> -00049 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> -00050 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -00051 <span class="preprocessor">#include "globals.h"</span> -00052 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> -00053 <span class="preprocessor">#include "dynamic.h"</span> -00054 <span class="preprocessor">#include "wildcard.h"</span> -00055 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> -00056 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> -00057 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> -00058 <span class="preprocessor">#include "<a class="code" href="commands_8h.html">commands.h</a>"</span> -00059 <span class="preprocessor">#include "inspstring.h"</span> -00060 -00061 <span class="preprocessor">#ifdef GCC3</span> -00062 <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> -00063 <span class="preprocessor"></span><span class="preprocessor">#else</span> -<a name="l00064"></a><a class="code" href="modules_8cpp.html#a0">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> -00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -00066 <span class="preprocessor"></span> -00067 <span class="keyword">using</span> <span class="keyword">namespace </span>std; -00068 -00069 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00070 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> kq; -00071 <span class="preprocessor">#endif</span> -00072 <span class="preprocessor"></span> -00073 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; -<a name="l00074"></a><a class="code" href="modules_8cpp.html#a2">00074</a> <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#a2">modules</a>; -<a name="l00075"></a><a class="code" href="modules_8cpp.html#a3">00075</a> <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#a3">factory</a>; -00076 -<a name="l00077"></a><a class="code" href="modules_8cpp.html#a4">00077</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00078 -<a name="l00079"></a><a class="code" href="modules_8cpp.html#a5">00079</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; -<a name="l00080"></a><a class="code" href="modules_8cpp.html#a6">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; -<a name="l00081"></a><a class="code" href="modules_8cpp.html#a7">00081</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; -<a name="l00082"></a><a class="code" href="modules_8cpp.html#a8">00082</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; -<a name="l00083"></a><a class="code" href="modules_8cpp.html#a9">00083</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; -<a name="l00084"></a><a class="code" href="modules_8cpp.html#a10">00084</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; -<a name="l00085"></a><a class="code" href="modules_8cpp.html#a11">00085</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; -<a name="l00086"></a><a class="code" href="modules_8cpp.html#a12">00086</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; -<a name="l00087"></a><a class="code" href="modules_8cpp.html#a13">00087</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; -<a name="l00088"></a><a class="code" href="modules_8cpp.html#a14">00088</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; -<a name="l00089"></a><a class="code" href="modules_8cpp.html#a15">00089</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; -<a name="l00090"></a><a class="code" href="modules_8cpp.html#a16">00090</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; -<a name="l00091"></a><a class="code" href="modules_8cpp.html#a17">00091</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; -<a name="l00092"></a><a class="code" href="modules_8cpp.html#a18">00092</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; +00022 <span class="preprocessor">#include <sys/errno.h></span> +00023 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00024 <span class="preprocessor"></span><span class="preprocessor">#include <sys/types.h></span> +00025 <span class="preprocessor">#include <sys/event.h></span> +00026 <span class="preprocessor">#include <sys/time.h></span> +00027 <span class="preprocessor">#endif</span> +00028 <span class="preprocessor"></span><span class="preprocessor">#include <time.h></span> +00029 <span class="preprocessor">#include <string></span> +00030 <span class="preprocessor">#ifdef GCC3</span> +00031 <span class="preprocessor"></span><span class="preprocessor">#include <ext/hash_map></span> +00032 <span class="preprocessor">#else</span> +00033 <span class="preprocessor"></span><span class="preprocessor">#include <hash_map></span> +00034 <span class="preprocessor">#endif</span> +00035 <span class="preprocessor"></span><span class="preprocessor">#include <map></span> +00036 <span class="preprocessor">#include <sstream></span> +00037 <span class="preprocessor">#include <vector></span> +00038 <span class="preprocessor">#include <deque></span> +00039 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> +00040 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +00041 <span class="preprocessor">#include "<a class="code" href="servers_8h.html">servers.h</a>"</span> +00042 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> +00043 <span class="preprocessor">#include "globals.h"</span> +00044 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> +00045 <span class="preprocessor">#include "dynamic.h"</span> +00046 <span class="preprocessor">#include "wildcard.h"</span> +00047 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> +00048 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> +00049 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> +00050 <span class="preprocessor">#include "<a class="code" href="commands_8h.html">commands.h</a>"</span> +00051 <span class="preprocessor">#include "inspstring.h"</span> +00052 <span class="preprocessor">#include "helperfuncs.h"</span> +00053 <span class="preprocessor">#include "<a class="code" href="hashcomp_8h.html">hashcomp.h</a>"</span> +00054 +00055 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +00056 +00057 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00058 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> kq; +00059 <span class="preprocessor">#endif</span> +00060 <span class="preprocessor"></span> +00061 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; +<a name="l00062"></a><a class="code" href="modules_8cpp.html#a1">00062</a> <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#a2">modules</a>; +<a name="l00063"></a><a class="code" href="modules_8cpp.html#a2">00063</a> <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#a3">factory</a>; +00064 +<a name="l00065"></a><a class="code" href="modules_8cpp.html#a3">00065</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00066 +<a name="l00067"></a><a class="code" href="modules_8cpp.html#a4">00067</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>; +<a name="l00068"></a><a class="code" href="modules_8cpp.html#a5">00068</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF]; +<a name="l00069"></a><a class="code" href="modules_8cpp.html#a6">00069</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF]; +<a name="l00070"></a><a class="code" href="modules_8cpp.html#a7">00070</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF]; +<a name="l00071"></a><a class="code" href="modules_8cpp.html#a8">00071</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF]; +<a name="l00072"></a><a class="code" href="modules_8cpp.html#a9">00072</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF]; +<a name="l00073"></a><a class="code" href="modules_8cpp.html#a10">00073</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF]; +<a name="l00074"></a><a class="code" href="modules_8cpp.html#a11">00074</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF]; +<a name="l00075"></a><a class="code" href="modules_8cpp.html#a12">00075</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF]; +<a name="l00076"></a><a class="code" href="modules_8cpp.html#a13">00076</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF]; +<a name="l00077"></a><a class="code" href="modules_8cpp.html#a14">00077</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF]; +<a name="l00078"></a><a class="code" href="modules_8cpp.html#a15">00078</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF]; +<a name="l00079"></a><a class="code" href="modules_8cpp.html#a16">00079</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF]; +<a name="l00080"></a><a class="code" href="modules_8cpp.html#a17">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF]; +00081 +<a name="l00082"></a><a class="code" href="modules_8cpp.html#a18">00082</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; +<a name="l00083"></a><a class="code" href="modules_8cpp.html#a19">00083</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; +<a name="l00084"></a><a class="code" href="modules_8cpp.html#a20">00084</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; +<a name="l00085"></a><a class="code" href="modules_8cpp.html#a21">00085</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; +<a name="l00086"></a><a class="code" href="modules_8cpp.html#a22">00086</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; +<a name="l00087"></a><a class="code" href="modules_8cpp.html#a23">00087</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; +<a name="l00088"></a><a class="code" href="modules_8cpp.html#a24">00088</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; +<a name="l00089"></a><a class="code" href="modules_8cpp.html#a25">00089</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; +00090 +<a name="l00091"></a><a class="code" href="modules_8cpp.html#a26">00091</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; +<a name="l00092"></a><a class="code" href="modules_8cpp.html#a27">00092</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; 00093 -<a name="l00094"></a><a class="code" href="modules_8cpp.html#a19">00094</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>; -<a name="l00095"></a><a class="code" href="modules_8cpp.html#a20">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>; -<a name="l00096"></a><a class="code" href="modules_8cpp.html#a21">00096</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>; -<a name="l00097"></a><a class="code" href="modules_8cpp.html#a22">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>; -<a name="l00098"></a><a class="code" href="modules_8cpp.html#a23">00098</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>; -<a name="l00099"></a><a class="code" href="modules_8cpp.html#a24">00099</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>; -<a name="l00100"></a><a class="code" href="modules_8cpp.html#a25">00100</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>; -<a name="l00101"></a><a class="code" href="modules_8cpp.html#a26">00101</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>; +<a name="l00094"></a><a class="code" href="modules_8cpp.html#a28">00094</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; +<a name="l00095"></a><a class="code" href="modules_8cpp.html#a29">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; +<a name="l00096"></a><a class="code" href="modules_8cpp.html#a30">00096</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">SERVERportCount</a>; +<a name="l00097"></a><a class="code" href="modules_8cpp.html#a31">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; +<a name="l00098"></a><a class="code" href="modules_8cpp.html#a32">00098</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; +00099 +<a name="l00100"></a><a class="code" href="modules_8cpp.html#a33">00100</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; +<a name="l00101"></a><a class="code" href="modules_8cpp.html#a34">00101</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; 00102 -<a name="l00103"></a><a class="code" href="modules_8cpp.html#a27">00103</a> <span class="keyword">extern</span> std::vector<int> <a class="code" href="channels_8cpp.html#a26">fd_reap</a>; -<a name="l00104"></a><a class="code" href="modules_8cpp.html#a28">00104</a> <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#a27">module_names</a>; -00105 -<a name="l00106"></a><a class="code" href="modules_8cpp.html#a29">00106</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">boundPortCount</a>; -<a name="l00107"></a><a class="code" href="modules_8cpp.html#a30">00107</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">portCount</a>; -<a name="l00108"></a><a class="code" href="modules_8cpp.html#a31">00108</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">SERVERportCount</a>; -<a name="l00109"></a><a class="code" href="modules_8cpp.html#a32">00109</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">ports</a>[MAXSOCKS]; -<a name="l00110"></a><a class="code" href="modules_8cpp.html#a33">00110</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a32">defaultRoute</a>; -00111 -<a name="l00112"></a><a class="code" href="modules_8cpp.html#a34">00112</a> <span class="keyword">extern</span> std::vector<long> <a class="code" href="channels_8cpp.html#a33">auth_cookies</a>; -<a name="l00113"></a><a class="code" href="modules_8cpp.html#a35">00113</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; +<a name="l00103"></a><a class="code" href="modules_8cpp.html#a35">00103</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; +00104 +<a name="l00105"></a><a class="code" href="modules_8cpp.html#a36">00105</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; +00106 +<a name="l00107"></a><a class="code" href="modules_8cpp.html#a37">00107</a> <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[65536]; +00108 +<a name="l00109"></a><a class="code" href="modules_8cpp.html#a38">00109</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, userrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a38">user_hash</a>; +<a name="l00110"></a><a class="code" href="modules_8cpp.html#a39">00110</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, chanrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a39">chan_hash</a>; +<a name="l00111"></a><a class="code" href="modules_8cpp.html#a40">00111</a> <span class="keyword">typedef</span> nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="code" href="modules_8cpp.html#a40">address_cache</a>; +<a name="l00112"></a><a class="code" href="modules_8cpp.html#a41">00112</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a41">whowas_hash</a>; +<a name="l00113"></a><a class="code" href="modules_8cpp.html#a42">00113</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a42">command_table</a>; 00114 -<a name="l00115"></a><a class="code" href="modules_8cpp.html#a36">00115</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a35">me</a>[32]; -00116 -<a name="l00117"></a><a class="code" href="modules_8cpp.html#a37">00117</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>; -00118 -<a name="l00119"></a><a class="code" href="modules_8cpp.html#a38">00119</a> <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[65536]; -00120 -<a name="l00121"></a><a class="code" href="namespacenspace.html">00121</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a> -00122 { -00123 <span class="preprocessor">#ifdef GCC34</span> -00124 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<in_addr> -00125 #else -<a name="l00126"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00126</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<in_addr> -00127 #endif -00128 { -<a name="l00129"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">00129</a> size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &a)<span class="keyword"> const</span> -00130 <span class="keyword"> </span>{ -00131 size_t q; -00132 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); -00133 <span class="keywordflow">return</span> q; -00134 } -00135 }; -00136 <span class="preprocessor">#ifdef GCC34</span> -00137 <span class="preprocessor"></span> <span class="keyword">template</span><> <span class="keyword">struct </span>hash<string> -00138 #else -<a name="l00139"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00139</a> template<> struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash<string> -00140 #endif -00141 { -<a name="l00142"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">00142</a> size_t operator()(<span class="keyword">const</span> string &s)<span class="keyword"> const</span> -00143 <span class="keyword"> </span>{ -00144 <span class="keywordtype">char</span> a[MAXBUF]; -00145 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; -00146 strlcpy(a,s.c_str(),MAXBUF); -00147 strlower(a); -00148 <span class="keywordflow">return</span> strhash(a); -00149 } -00150 }; -00151 } -00152 -<a name="l00153"></a><a class="code" href="structStrHashComp.html">00153</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a> -00154 { -00155 -<a name="l00156"></a><a class="code" href="structStrHashComp.html#a0">00156</a> <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> string& s1, <span class="keyword">const</span> string& s2)<span class="keyword"> const</span> -00157 <span class="keyword"> </span>{ -00158 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; -00159 strlcpy(a,s1.c_str(),MAXBUF); -00160 strlcpy(b,s2.c_str(),MAXBUF); -00161 strlower(a); -00162 strlower(b); -00163 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); -00164 } -00165 -00166 }; -00167 -<a name="l00168"></a><a class="code" href="structInAddr__HashComp.html">00168</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a> -00169 { -00170 -<a name="l00171"></a><a class="code" href="structInAddr__HashComp.html#a0">00171</a> <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &s1, <span class="keyword">const</span> in_addr &s2)<span class="keyword"> const</span> -00172 <span class="keyword"> </span>{ -00173 size_t q; -00174 size_t p; -00175 -00176 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); -00177 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); -00178 -00179 <span class="keywordflow">return</span> (q == p); -00180 } +00115 +<a name="l00116"></a><a class="code" href="modules_8cpp.html#a43">00116</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a43">clientlist</a>; +<a name="l00117"></a><a class="code" href="modules_8cpp.html#a44">00117</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">chan_hash</a> <a class="code" href="modules_8cpp.html#a44">chanlist</a>; +<a name="l00118"></a><a class="code" href="modules_8cpp.html#a45">00118</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">whowas_hash</a> <a class="code" href="modules_8cpp.html#a45">whowas</a>; +<a name="l00119"></a><a class="code" href="modules_8cpp.html#a46">00119</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a42">command_table</a> <a class="code" href="modules_8cpp.html#a46">cmdlist</a>; +<a name="l00120"></a><a class="code" href="modules_8cpp.html#a47">00120</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a47">MOTD</a>; +<a name="l00121"></a><a class="code" href="modules_8cpp.html#a48">00121</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a48">RULES</a>; +<a name="l00122"></a><a class="code" href="modules_8cpp.html#a49">00122</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">address_cache</a> <a class="code" href="modules_8cpp.html#a49">IP</a>; +00123 +00124 +00125 <span class="comment">// class type for holding an extended mode character - internal to core</span> +00126 +<a name="l00127"></a><a class="code" href="classExtMode.html">00127</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +00128 { +00129 <span class="keyword">public</span>: +<a name="l00130"></a><a class="code" href="classExtMode.html#o0">00130</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; +<a name="l00131"></a><a class="code" href="classExtMode.html#o1">00131</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; +<a name="l00132"></a><a class="code" href="classExtMode.html#o2">00132</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; +<a name="l00133"></a><a class="code" href="classExtMode.html#o3">00133</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; +<a name="l00134"></a><a class="code" href="classExtMode.html#o4">00134</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; +<a name="l00135"></a><a class="code" href="classExtMode.html#o5">00135</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; +<a name="l00136"></a><a class="code" href="classExtMode.html#a0">00136</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; +00137 }; +00138 +<a name="l00139"></a><a class="code" href="modules_8cpp.html#a50">00139</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a>; +<a name="l00140"></a><a class="code" href="modules_8cpp.html#a51">00140</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a>; +00141 +00142 +<a name="l00143"></a><a class="code" href="modules_8cpp.html#a52">00143</a> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a> <a class="code" href="modules_8cpp.html#a52">EMode</a>; +00144 +00145 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00146"></a><a class="code" href="modules_8cpp.html#a53">00146</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00147 { +00148 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00149 { +00150 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00151 { +00152 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00153 } +00154 } +00155 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00156 } +00157 +<a name="l00158"></a><a class="code" href="modules_8cpp.html#a54">00158</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00159 { +00160 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00161 { +00162 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00163 { +00164 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00165 } +00166 } +00167 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00168 } +00169 +<a name="l00170"></a><a class="code" href="modules_8cpp.html#a55">00170</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00171 { +00172 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00173 { +00174 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00175 { +00176 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00177 } +00178 } +00179 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00180 } 00181 -00182 }; -00183 -00184 -<a name="l00185"></a><a class="code" href="modules_8cpp.html#a39">00185</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, userrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a39">user_hash</a>; -<a name="l00186"></a><a class="code" href="modules_8cpp.html#a40">00186</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, chanrec*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a40">chan_hash</a>; -<a name="l00187"></a><a class="code" href="modules_8cpp.html#a41">00187</a> <span class="keyword">typedef</span> nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="code" href="modules_8cpp.html#a41">address_cache</a>; -<a name="l00188"></a><a class="code" href="modules_8cpp.html#a42">00188</a> <span class="keyword">typedef</span> nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, <a class="code" href="structStrHashComp.html">StrHashComp</a>> <a class="code" href="modules_8cpp.html#a42">whowas_hash</a>; -<a name="l00189"></a><a class="code" href="modules_8cpp.html#a43">00189</a> <span class="keyword">typedef</span> std::deque<command_t> <a class="code" href="modules_8cpp.html#a43">command_table</a>; -00190 -00191 -<a name="l00192"></a><a class="code" href="modules_8cpp.html#a44">00192</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a44">clientlist</a>; -<a name="l00193"></a><a class="code" href="modules_8cpp.html#a45">00193</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">chan_hash</a> <a class="code" href="modules_8cpp.html#a45">chanlist</a>; -<a name="l00194"></a><a class="code" href="modules_8cpp.html#a46">00194</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a42">whowas_hash</a> <a class="code" href="modules_8cpp.html#a46">whowas</a>; -<a name="l00195"></a><a class="code" href="modules_8cpp.html#a47">00195</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a43">command_table</a> <a class="code" href="modules_8cpp.html#a47">cmdlist</a>; -<a name="l00196"></a><a class="code" href="modules_8cpp.html#a48">00196</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a48">MOTD</a>; -<a name="l00197"></a><a class="code" href="modules_8cpp.html#a49">00197</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a49">RULES</a>; -<a name="l00198"></a><a class="code" href="modules_8cpp.html#a50">00198</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">address_cache</a> <a class="code" href="modules_8cpp.html#a50">IP</a>; -00199 -00200 -00201 <span class="comment">// class type for holding an extended mode character - internal to core</span> -00202 -<a name="l00203"></a><a class="code" href="classExtMode.html">00203</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -00204 { -00205 <span class="keyword">public</span>: -<a name="l00206"></a><a class="code" href="classExtMode.html#o0">00206</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>; -<a name="l00207"></a><a class="code" href="classExtMode.html#o1">00207</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>; -<a name="l00208"></a><a class="code" href="classExtMode.html#o2">00208</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>; -<a name="l00209"></a><a class="code" href="classExtMode.html#o3">00209</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>; -<a name="l00210"></a><a class="code" href="classExtMode.html#o4">00210</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>; -<a name="l00211"></a><a class="code" href="classExtMode.html#o5">00211</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>; -<a name="l00212"></a><a class="code" href="classExtMode.html#a0">00212</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { }; -00213 }; -00214 -<a name="l00215"></a><a class="code" href="modules_8cpp.html#a51">00215</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="modules_8cpp.html#a51">ExtModeList</a>; -<a name="l00216"></a><a class="code" href="modules_8cpp.html#a52">00216</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a>; +00182 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00183"></a><a class="code" href="modules_8cpp.html#a56">00183</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00184 { +00185 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00186 { +00187 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00188 { +00189 <span class="keywordflow">return</span> i->params_when_on; +00190 } +00191 } +00192 <span class="keywordflow">return</span> 0; +00193 } +00194 +00195 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00196"></a><a class="code" href="modules_8cpp.html#a57">00196</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a57">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +00197 { +00198 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00199 { +00200 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00201 { +00202 <span class="keywordflow">return</span> i->params_when_off; +00203 } +00204 } +00205 <span class="keywordflow">return</span> 0; +00206 } +00207 +00208 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00209"></a><a class="code" href="modules_8cpp.html#a58">00209</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) +00210 { +00211 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) { +00212 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00213 } +00214 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00215 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00216 } 00217 -00218 -<a name="l00219"></a><a class="code" href="modules_8cpp.html#a53">00219</a> <a class="code" href="modules_8cpp.html#a51">ExtModeList</a> <a class="code" href="modules_8cpp.html#a53">EMode</a>; -00220 -00221 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00222"></a><a class="code" href="modules_8cpp.html#a54">00222</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00223 { -00224 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00225 { -00226 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00227 { -00228 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00229 } -00230 } -00231 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00232 } +00218 <span class="comment">// turns a mode into a listmode</span> +<a name="l00219"></a><a class="code" href="modules_8cpp.html#a59">00219</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) +00220 { +00221 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00222 { +00223 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00224 { +00225 i->list = <span class="keyword">true</span>; +00226 <span class="keywordflow">return</span>; +00227 } +00228 } +00229 <span class="keywordflow">return</span>; +00230 } +00231 +00232 <span class="comment">// version is a simple class for holding a modules version number</span> 00233 -<a name="l00234"></a><a class="code" href="modules_8cpp.html#a55">00234</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a55">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00235 { -00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00237 { -00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -00239 { -00240 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00241 } -00242 } -00243 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00244 } -00245 -<a name="l00246"></a><a class="code" href="modules_8cpp.html#a56">00246</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00247 { -00248 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00249 { -00250 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00251 { -00252 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00253 } -00254 } -00255 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00256 } -00257 -00258 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00259"></a><a class="code" href="modules_8cpp.html#a57">00259</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a57">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00260 { -00261 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00262 { -00263 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00264 { -00265 <span class="keywordflow">return</span> i->params_when_on; -00266 } -00267 } -00268 <span class="keywordflow">return</span> 0; -00269 } +<a name="l00234"></a><a class="code" href="classVersion.html#a0">00234</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +00235 +00236 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +00237 +<a name="l00238"></a><a class="code" href="classAdmin.html#a0">00238</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; +00239 +<a name="l00240"></a><a class="code" href="classRequest.html#a0">00240</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; +00241 +<a name="l00242"></a><a class="code" href="classRequest.html#a1">00242</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>() +00243 { +00244 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; +00245 } +00246 +<a name="l00247"></a><a class="code" href="classRequest.html#a2">00247</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>() +00248 { +00249 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; +00250 } +00251 +<a name="l00252"></a><a class="code" href="classRequest.html#a3">00252</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>() +00253 { +00254 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; +00255 } +00256 +<a name="l00257"></a><a class="code" href="classRequest.html#a4">00257</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>() +00258 { +00259 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) +00260 { +00261 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); +00262 } +00263 <span class="keywordflow">else</span> +00264 { +00265 <span class="keywordflow">return</span> NULL; +00266 } +00267 } +00268 +<a name="l00269"></a><a class="code" href="classEvent.html#a0">00269</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { }; 00270 -00271 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00272"></a><a class="code" href="modules_8cpp.html#a58">00272</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a58">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -00273 { -00274 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00275 { -00276 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00277 { -00278 <span class="keywordflow">return</span> i->params_when_off; -00279 } -00280 } -00281 <span class="keywordflow">return</span> 0; -00282 } -00283 -00284 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00285"></a><a class="code" href="modules_8cpp.html#a59">00285</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off) -00286 { -00287 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(modechar,type)) { -00288 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00289 } -00290 <a class="code" href="modules_8cpp.html#a53">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00291 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00292 } -00293 -00294 <span class="comment">// turns a mode into a listmode</span> -<a name="l00295"></a><a class="code" href="modules_8cpp.html#a60">00295</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) -00296 { -00297 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00298 { -00299 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00300 { -00301 i->list = <span class="keyword">true</span>; -00302 <span class="keywordflow">return</span>; -00303 } -00304 } -00305 <span class="keywordflow">return</span>; -00306 } -00307 -00308 <span class="comment">// version is a simple class for holding a modules version number</span> -00309 -<a name="l00310"></a><a class="code" href="classVersion.html#a0">00310</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; -00311 -00312 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -00313 -<a name="l00314"></a><a class="code" href="classAdmin.html#a0">00314</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; -00315 -<a name="l00316"></a><a class="code" href="classRequest.html#a0">00316</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { }; -00317 -<a name="l00318"></a><a class="code" href="classRequest.html#a1">00318</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>() -00319 { -00320 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p0">data</a>; -00321 } -00322 -<a name="l00323"></a><a class="code" href="classRequest.html#a2">00323</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>() -00324 { -00325 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p1">source</a>; -00326 } -00327 -<a name="l00328"></a><a class="code" href="classRequest.html#a3">00328</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>() -00329 { -00330 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#p2">dest</a>; -00331 } -00332 -<a name="l00333"></a><a class="code" href="classRequest.html#a4">00333</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>() -00334 { -00335 <span class="keywordflow">if</span> (this-><a class="code" href="classRequest.html#p2">dest</a>) -00336 { -00337 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-><a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>); -00338 } -00339 <span class="keywordflow">else</span> -00340 { -00341 <span class="keywordflow">return</span> NULL; -00342 } -00343 } -00344 -<a name="l00345"></a><a class="code" href="classEvent.html#a0">00345</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { }; -00346 -<a name="l00347"></a><a class="code" href="classEvent.html#a1">00347</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>() -00348 { -00349 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; -00350 } -00351 -<a name="l00352"></a><a class="code" href="classEvent.html#a2">00352</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>() -00353 { -00354 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; -00355 } -00356 -<a name="l00357"></a><a class="code" href="classEvent.html#a4">00357</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>() -00358 { -00359 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -00360 <span class="keywordflow">return</span> NULL; +<a name="l00271"></a><a class="code" href="classEvent.html#a1">00271</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>() +00272 { +00273 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p0">data</a>; +00274 } +00275 +<a name="l00276"></a><a class="code" href="classEvent.html#a2">00276</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>() +00277 { +00278 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p1">source</a>; +00279 } +00280 +<a name="l00281"></a><a class="code" href="classEvent.html#a4">00281</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>() +00282 { +00283 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +00284 <span class="keywordflow">return</span> NULL; +00285 } +00286 +<a name="l00287"></a><a class="code" href="classEvent.html#a3">00287</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>() +00288 { +00289 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; +00290 } +00291 +00292 +00293 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> +<a name="l00294"></a><a class="code" href="classModule.html#a0">00294</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } +<a name="l00295"></a><a class="code" href="classModule.html#a1">00295</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } +<a name="l00296"></a><a class="code" href="classModule.html#a3">00296</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00297"></a><a class="code" href="classModule.html#a4">00297</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00298"></a><a class="code" href="classModule.html#a5">00298</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00299"></a><a class="code" href="classModule.html#a6">00299</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00300"></a><a class="code" href="classModule.html#a7">00300</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00301"></a><a class="code" href="classModule.html#a8">00301</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &data, std::string serv) { } +<a name="l00302"></a><a class="code" href="classModule.html#a9">00302</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &data, std::string serv) { } +<a name="l00303"></a><a class="code" href="classModule.html#a10">00303</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { } +<a name="l00304"></a><a class="code" href="classModule.html#a11">00304</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00305"></a><a class="code" href="classModule.html#a13">00305</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } +<a name="l00306"></a><a class="code" href="classModule.html#a12">00306</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<a name="l00307"></a><a class="code" href="classModule.html#a2">00307</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); } +<a name="l00308"></a><a class="code" href="classModule.html#a16">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00309"></a><a class="code" href="classModule.html#a17">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00310"></a><a class="code" href="classModule.html#a18">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00311"></a><a class="code" href="classModule.html#a19">00311</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; }; +<a name="l00312"></a><a class="code" href="classModule.html#a20">00312</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00313"></a><a class="code" href="classModule.html#a21">00313</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00314"></a><a class="code" href="classModule.html#a22">00314</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; +<a name="l00315"></a><a class="code" href="classModule.html#a23">00315</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; +<a name="l00316"></a><a class="code" href="classModule.html#a24">00316</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; +<a name="l00317"></a><a class="code" href="classModule.html#a25">00317</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00318"></a><a class="code" href="classModule.html#a26">00318</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } +<a name="l00319"></a><a class="code" href="classModule.html#a27">00319</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &output) { }; +<a name="l00320"></a><a class="code" href="classModule.html#a28">00320</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00321"></a><a class="code" href="classModule.html#a29">00321</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; +<a name="l00322"></a><a class="code" href="classModule.html#a30">00322</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { }; +<a name="l00323"></a><a class="code" href="classModule.html#a31">00323</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; +<a name="l00324"></a><a class="code" href="classModule.html#a32">00324</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; +<a name="l00325"></a><a class="code" href="classModule.html#a33">00325</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<a name="l00326"></a><a class="code" href="classModule.html#a34">00326</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00327"></a><a class="code" href="classModule.html#a14">00327</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00328"></a><a class="code" href="classModule.html#a15">00328</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { }; +<a name="l00329"></a><a class="code" href="classModule.html#a35">00329</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; +<a name="l00330"></a><a class="code" href="classModule.html#a36">00330</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00331"></a><a class="code" href="classModule.html#a37">00331</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; }; +<a name="l00332"></a><a class="code" href="classModule.html#a38">00332</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00333"></a><a class="code" href="classModule.html#a39">00333</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; +<a name="l00334"></a><a class="code" href="classModule.html#a40">00334</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; +<a name="l00335"></a><a class="code" href="classModule.html#a41">00335</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00336"></a><a class="code" href="classModule.html#a42">00336</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00337"></a><a class="code" href="classModule.html#a43">00337</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; }; +<a name="l00338"></a><a class="code" href="classModule.html#a44">00338</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; }; +<a name="l00339"></a><a class="code" href="classModule.html#a45">00339</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; +<a name="l00340"></a><a class="code" href="classModule.html#a46">00340</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; +<a name="l00341"></a><a class="code" href="classModule.html#a47">00341</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; }; +<a name="l00342"></a><a class="code" href="classModule.html#a48">00342</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00343"></a><a class="code" href="classModule.html#a49">00343</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00344"></a><a class="code" href="classModule.html#a50">00344</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00345"></a><a class="code" href="classModule.html#a51">00345</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00346"></a><a class="code" href="classModule.html#a52">00346</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { }; +<a name="l00347"></a><a class="code" href="classModule.html#a53">00347</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; +<a name="l00348"></a><a class="code" href="classModule.html#a54">00348</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; +<a name="l00349"></a><a class="code" href="classModule.html#a55">00349</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; +00350 +00351 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> +00352 <span class="comment">// exports in the core</span> +00353 <span class="comment">//</span> +00354 +<a name="l00355"></a><a class="code" href="classServer.html#a0">00355</a> <a class="code" href="classServer.html#a0">Server::Server</a>() +00356 { +00357 } +00358 +<a name="l00359"></a><a class="code" href="classServer.html#a1">00359</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() +00360 { 00361 } 00362 -<a name="l00363"></a><a class="code" href="classEvent.html#a3">00363</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>() +<a name="l00363"></a><a class="code" href="classServer.html#a2">00363</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) 00364 { -00365 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#p2">id</a>; +00365 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); 00366 } 00367 -00368 -00369 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> -<a name="l00370"></a><a class="code" href="classModule.html#a0">00370</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { } -<a name="l00371"></a><a class="code" href="classModule.html#a1">00371</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { } -<a name="l00372"></a><a class="code" href="classModule.html#a3">00372</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00373"></a><a class="code" href="classModule.html#a4">00373</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00374"></a><a class="code" href="classModule.html#a5">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00375"></a><a class="code" href="classModule.html#a6">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00376"></a><a class="code" href="classModule.html#a7">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00377"></a><a class="code" href="classModule.html#a8">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &data, std::string serv) { } -<a name="l00378"></a><a class="code" href="classModule.html#a9">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &data, std::string serv) { } -<a name="l00379"></a><a class="code" href="classModule.html#a10">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { } -<a name="l00380"></a><a class="code" href="classModule.html#a11">00380</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00381"></a><a class="code" href="classModule.html#a13">00381</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; } -<a name="l00382"></a><a class="code" href="classModule.html#a12">00382</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } -<a name="l00383"></a><a class="code" href="classModule.html#a2">00383</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); } -<a name="l00384"></a><a class="code" href="classModule.html#a16">00384</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00385"></a><a class="code" href="classModule.html#a17">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00386"></a><a class="code" href="classModule.html#a18">00386</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00387"></a><a class="code" href="classModule.html#a19">00387</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; }; -<a name="l00388"></a><a class="code" href="classModule.html#a20">00388</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00389"></a><a class="code" href="classModule.html#a21">00389</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00390"></a><a class="code" href="classModule.html#a22">00390</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; }; -<a name="l00391"></a><a class="code" href="classModule.html#a23">00391</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { }; -<a name="l00392"></a><a class="code" href="classModule.html#a24">00392</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; }; -<a name="l00393"></a><a class="code" href="classModule.html#a25">00393</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00394"></a><a class="code" href="classModule.html#a26">00394</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; } -<a name="l00395"></a><a class="code" href="classModule.html#a27">00395</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &output) { }; -<a name="l00396"></a><a class="code" href="classModule.html#a28">00396</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00397"></a><a class="code" href="classModule.html#a29">00397</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { }; -<a name="l00398"></a><a class="code" href="classModule.html#a30">00398</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { }; -<a name="l00399"></a><a class="code" href="classModule.html#a31">00399</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { }; -<a name="l00400"></a><a class="code" href="classModule.html#a32">00400</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; }; -<a name="l00401"></a><a class="code" href="classModule.html#a33">00401</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; -<a name="l00402"></a><a class="code" href="classModule.html#a34">00402</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00403"></a><a class="code" href="classModule.html#a14">00403</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00404"></a><a class="code" href="classModule.html#a15">00404</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { }; -<a name="l00405"></a><a class="code" href="classModule.html#a35">00405</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; -<a name="l00406"></a><a class="code" href="classModule.html#a36">00406</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00407"></a><a class="code" href="classModule.html#a37">00407</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; }; -<a name="l00408"></a><a class="code" href="classModule.html#a38">00408</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00409"></a><a class="code" href="classModule.html#a39">00409</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; }; -<a name="l00410"></a><a class="code" href="classModule.html#a40">00410</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; -<a name="l00411"></a><a class="code" href="classModule.html#a41">00411</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00412"></a><a class="code" href="classModule.html#a42">00412</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00413"></a><a class="code" href="classModule.html#a43">00413</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; }; -<a name="l00414"></a><a class="code" href="classModule.html#a44">00414</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; }; -<a name="l00415"></a><a class="code" href="classModule.html#a45">00415</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; -<a name="l00416"></a><a class="code" href="classModule.html#a46">00416</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; -<a name="l00417"></a><a class="code" href="classModule.html#a47">00417</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; }; -<a name="l00418"></a><a class="code" href="classModule.html#a48">00418</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00419"></a><a class="code" href="classModule.html#a49">00419</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00420"></a><a class="code" href="classModule.html#a50">00420</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00421"></a><a class="code" href="classModule.html#a51">00421</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00422"></a><a class="code" href="classModule.html#a52">00422</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { }; -<a name="l00423"></a><a class="code" href="classModule.html#a53">00423</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; }; -<a name="l00424"></a><a class="code" href="classModule.html#a54">00424</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; -<a name="l00425"></a><a class="code" href="classModule.html#a55">00425</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &readresult) { <span class="keywordflow">return</span> 0; }; -00426 -00427 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span> -00428 <span class="comment">// exports in the core</span> -00429 <span class="comment">//</span> -00430 -<a name="l00431"></a><a class="code" href="classServer.html#a0">00431</a> <a class="code" href="classServer.html#a0">Server::Server</a>() -00432 { -00433 } -00434 -<a name="l00435"></a><a class="code" href="classServer.html#a1">00435</a> <a class="code" href="classServer.html#a1">Server::~Server</a>() -00436 { -00437 } -00438 -<a name="l00439"></a><a class="code" href="classServer.html#a2">00439</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s) -00440 { -00441 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -00442 } -00443 -<a name="l00444"></a><a class="code" href="classServer.html#a32">00444</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">Server::MatchText</a>(std::string sliteral, std::string spattern) -00445 { -00446 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -00447 strlcpy(literal,sliteral.c_str(),MAXBUF); -00448 strlcpy(pattern,spattern.c_str(),MAXBUF); -00449 <span class="keywordflow">return</span> match(literal,pattern); -00450 } -00451 -<a name="l00452"></a><a class="code" href="classServer.html#a27">00452</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) -00453 { -00454 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -00455 } -00456 -<a name="l00457"></a><a class="code" href="classServer.html#a28">00457</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) -00458 { -00459 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -00460 } -00461 -<a name="l00462"></a><a class="code" href="classServer.html#a29">00462</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) -00463 { -00464 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +<a name="l00368"></a><a class="code" href="classServer.html#a33">00368</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a33">Server::MatchText</a>(std::string sliteral, std::string spattern) +00369 { +00370 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +00371 strlcpy(literal,sliteral.c_str(),MAXBUF); +00372 strlcpy(pattern,spattern.c_str(),MAXBUF); +00373 <span class="keywordflow">return</span> match(literal,pattern); +00374 } +00375 +<a name="l00376"></a><a class="code" href="classServer.html#a28">00376</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text) +00377 { +00378 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +00379 } +00380 +<a name="l00381"></a><a class="code" href="classServer.html#a29">00381</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key) +00382 { +00383 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +00384 } +00385 +<a name="l00386"></a><a class="code" href="classServer.html#a30">00386</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a30">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason) +00387 { +00388 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +00389 } +00390 +<a name="l00391"></a><a class="code" href="classServer.html#a38">00391</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a38">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +00392 { +00393 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; +00394 userl.clear(); +00395 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); +00396 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) +00397 { +00398 <span class="keywordtype">char</span>* o = *i; +00399 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +00400 } +00401 <span class="keywordflow">return</span> userl; +00402 } +<a name="l00403"></a><a class="code" href="classServer.html#a31">00403</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) +00404 { +00405 force_nickchange(user,nickname.c_str()); +00406 } +00407 +<a name="l00408"></a><a class="code" href="classServer.html#a32">00408</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) +00409 { +00410 kill_link(user,reason.c_str()); +00411 } +00412 +<a name="l00413"></a><a class="code" href="classServer.html#a37">00413</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">Server::IsUlined</a>(std::string server) +00414 { +00415 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); +00416 } +00417 +<a name="l00418"></a><a class="code" href="classServer.html#a34">00418</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +00419 { +00420 call_handler(commandname.c_str(),parameters,pcnt,user); +00421 } +00422 +<a name="l00423"></a><a class="code" href="classServer.html#a3">00423</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s) +00424 { +00425 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); +00426 } +00427 +<a name="l00428"></a><a class="code" href="classServer.html#a26">00428</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) +00429 { +00430 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); +00431 } +00432 +<a name="l00433"></a><a class="code" href="classServer.html#a27">00433</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +00434 { +00435 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); +00436 } +00437 +<a name="l00438"></a><a class="code" href="classServer.html#a4">00438</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s) +00439 { +00440 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00441 } +00442 +<a name="l00443"></a><a class="code" href="classServer.html#a5">00443</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s) +00444 { +00445 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +00446 } +00447 +<a name="l00448"></a><a class="code" href="classServer.html#a7">00448</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) +00449 { +00450 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00451 } +00452 +<a name="l00453"></a><a class="code" href="classServer.html#a8">00453</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) +00454 { +00455 <span class="keywordflow">if</span> (!Source) +00456 { +00457 <span class="comment">// if source is NULL, then the message originates from the local server</span> +00458 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +00459 } +00460 <span class="keywordflow">else</span> +00461 { +00462 <span class="comment">// otherwise it comes from the user specified</span> +00463 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +00464 } 00465 } 00466 -<a name="l00467"></a><a class="code" href="classServer.html#a37">00467</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +<a name="l00467"></a><a class="code" href="classServer.html#a6">00467</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text) 00468 { -00469 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl; -00470 userl.clear(); -00471 std::vector<char*> *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-><a class="code" href="classchanrec.html#a7">GetUsers</a>(); -00472 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>->begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>->end(); i++) -00473 { -00474 <span class="keywordtype">char</span>* o = *i; -00475 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -00476 } -00477 <span class="keywordflow">return</span> userl; -00478 } -<a name="l00479"></a><a class="code" href="classServer.html#a30">00479</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname) -00480 { -00481 force_nickchange(user,nickname.c_str()); +00469 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +00470 } +00471 +<a name="l00472"></a><a class="code" href="classServer.html#a9">00472</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) +00473 { +00474 <span class="keywordflow">if</span> (IncludeSender) +00475 { +00476 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00477 } +00478 <span class="keywordflow">else</span> +00479 { +00480 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +00481 } 00482 } 00483 -<a name="l00484"></a><a class="code" href="classServer.html#a31">00484</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason) +<a name="l00484"></a><a class="code" href="classServer.html#a10">00484</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) 00485 { -00486 kill_link(user,reason.c_str()); +00486 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); 00487 } 00488 -<a name="l00489"></a><a class="code" href="classServer.html#a36">00489</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">Server::IsUlined</a>(std::string server) +<a name="l00489"></a><a class="code" href="classServer.html#a11">00489</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) 00490 { -00491 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str()); -00492 } -00493 -<a name="l00494"></a><a class="code" href="classServer.html#a33">00494</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -00495 { -00496 call_handler(commandname.c_str(),parameters,pcnt,user); -00497 } -00498 -<a name="l00499"></a><a class="code" href="classServer.html#a3">00499</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s) -00500 { -00501 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -00502 } -00503 -<a name="l00504"></a><a class="code" href="classServer.html#a25">00504</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) -00505 { -00506 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source); -00507 } -00508 -<a name="l00509"></a><a class="code" href="classServer.html#a26">00509</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -00510 { -00511 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user); -00512 } -00513 -<a name="l00514"></a><a class="code" href="classServer.html#a4">00514</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s) -00515 { -00516 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00517 } -00518 -<a name="l00519"></a><a class="code" href="classServer.html#a5">00519</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s) -00520 { -00521 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -00522 } -00523 -<a name="l00524"></a><a class="code" href="classServer.html#a7">00524</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s) -00525 { -00526 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00527 } -00528 -<a name="l00529"></a><a class="code" href="classServer.html#a8">00529</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s) -00530 { -00531 <span class="keywordflow">if</span> (!Source) -00532 { -00533 <span class="comment">// if source is NULL, then the message originates from the local server</span> -00534 Write(Dest-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -00535 } -00536 <span class="keywordflow">else</span> -00537 { -00538 <span class="comment">// otherwise it comes from the user specified</span> -00539 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -00540 } -00541 } -00542 -<a name="l00543"></a><a class="code" href="classServer.html#a6">00543</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text) -00544 { -00545 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -00546 } -00547 -<a name="l00548"></a><a class="code" href="classServer.html#a9">00548</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender) -00549 { -00550 <span class="keywordflow">if</span> (IncludeSender) -00551 { -00552 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00553 } -00554 <span class="keywordflow">else</span> -00555 { -00556 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -00557 } -00558 } -00559 -<a name="l00560"></a><a class="code" href="classServer.html#a10">00560</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -00561 { -00562 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0); -00563 } -00564 -<a name="l00565"></a><a class="code" href="classServer.html#a11">00565</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender) -00566 { -00567 <span class="keywordflow">if</span> (IncludeSender) -00568 { -00569 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00570 } -00571 <span class="keywordflow">else</span> -00572 { -00573 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -00574 } -00575 } -00576 -<a name="l00577"></a><a class="code" href="classServer.html#a12">00577</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) -00578 { -00579 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -00580 } -00581 -<a name="l00582"></a><a class="code" href="classServer.html#a34">00582</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) -00583 { -00584 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); -00585 } -00586 -<a name="l00587"></a><a class="code" href="classServer.html#a35">00587</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) -00588 { -00589 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); -00590 } -00591 -<a name="l00592"></a><a class="code" href="classServer.html#a13">00592</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick) -00593 { -00594 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); -00595 } -00596 -<a name="l00597"></a><a class="code" href="classServer.html#a15">00597</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick) -00598 { -00599 <span class="keywordflow">return</span> Find(nick); -00600 } -00601 -<a name="l00602"></a><a class="code" href="classServer.html#a16">00602</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) -00603 { -00604 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL); -00605 } -00606 -<a name="l00607"></a><a class="code" href="classServer.html#a17">00607</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel) -00608 { -00609 <span class="keywordflow">return</span> FindChan(channel.c_str()); -00610 } -00611 -<a name="l00612"></a><a class="code" href="classServer.html#a18">00612</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00613 { -00614 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); -00615 } -00616 -<a name="l00617"></a><a class="code" href="classServer.html#a19">00617</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -00618 { -00619 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); -00620 } -00621 -<a name="l00622"></a><a class="code" href="classServer.html#a20">00622</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>() -00623 { -00624 <span class="keywordflow">return</span> getservername(); -00625 } -00626 -<a name="l00627"></a><a class="code" href="classServer.html#a21">00627</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>() -00628 { -00629 <span class="keywordflow">return</span> getnetworkname(); -00630 } -00631 -<a name="l00632"></a><a class="code" href="classServer.html#a22">00632</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">Server::GetAdmin</a>() -00633 { -00634 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -00635 } -00636 -00637 -00638 -<a name="l00639"></a><a class="code" href="classServer.html#a23">00639</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) -00640 { -00641 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -00642 { -00643 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) -00644 { -00645 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -00646 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00647 } -00648 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) -00649 { -00650 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -00651 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00652 } -00653 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -00654 { -00655 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -00656 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00657 } -00658 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -00659 } -00660 <span class="keywordflow">else</span> -00661 { -00662 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -00663 } -00664 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00665 } -00666 -<a name="l00667"></a><a class="code" href="classServer.html#a24">00667</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) -00668 { -00669 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a59">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -00670 <span class="keywordflow">if</span> (res) -00671 <a class="code" href="modules_8cpp.html#a60">ModeMakeList</a>(modechar); -00672 <span class="keywordflow">return</span> res; -00673 } -00674 -<a name="l00675"></a><a class="code" href="classServer.html#a14">00675</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -00676 { -00677 <span class="keywordflow">return</span> usercount(c); -00678 } -00679 -00680 -<a name="l00681"></a><a class="code" href="classServer.html#a38">00681</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message) -00682 { -00683 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; -00684 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00685 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00686 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); -00687 <span class="preprocessor">#ifdef USE_KQUEUE</span> -00688 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -00689 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); -00690 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); -00691 <span class="keywordflow">if</span> (i == -1) -00692 { -00693 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); -00694 } -00695 <span class="preprocessor">#endif</span> -00696 <span class="preprocessor"></span> shutdown(old_fd,2); -00697 close(old_fd); -00698 } -00699 -<a name="l00700"></a><a class="code" href="classServer.html#a39">00700</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message) -00701 { -00702 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; -00703 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; -00704 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); -00705 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); -00706 kill_link(alive,message.c_str()); -00707 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; -00708 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) -00709 { -00710 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) -00711 { -00712 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) -00713 { -00714 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; -00715 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00716 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) -00717 { -00718 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); -00719 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); -00720 } -00721 userlist(zombie,Ptr); -00722 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); -00723 -00724 } -00725 } -00726 } -00727 -00728 } -00729 -<a name="l00730"></a><a class="code" href="classServer.html#a40">00730</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00731 { -00732 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00733 } -00734 -<a name="l00735"></a><a class="code" href="classServer.html#a41">00735</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname) -00736 { -00737 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); -00738 } +00491 <span class="keywordflow">if</span> (IncludeSender) +00492 { +00493 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00494 } +00495 <span class="keywordflow">else</span> +00496 { +00497 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); +00498 } +00499 } +00500 +<a name="l00501"></a><a class="code" href="classServer.html#a12">00501</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text) +00502 { +00503 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +00504 } +00505 +<a name="l00506"></a><a class="code" href="classServer.html#a35">00506</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host) +00507 { +00508 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str()); +00509 } +00510 +<a name="l00511"></a><a class="code" href="classServer.html#a36">00511</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a36">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos) +00512 { +00513 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str()); +00514 } +00515 +<a name="l00516"></a><a class="code" href="classServer.html#a13">00516</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick) +00517 { +00518 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0); +00519 } +00520 +<a name="l00521"></a><a class="code" href="classServer.html#a15">00521</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick) +00522 { +00523 <span class="keywordflow">return</span> Find(nick); +00524 } +00525 +<a name="l00526"></a><a class="code" href="classServer.html#a16">00526</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) +00527 { +00528 <span class="keywordflow">return</span> (socket < 65536 ? <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[socket] : NULL); +00529 } +00530 +<a name="l00531"></a><a class="code" href="classServer.html#a17">00531</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel) +00532 { +00533 <span class="keywordflow">return</span> FindChan(channel.c_str()); +00534 } +00535 +<a name="l00536"></a><a class="code" href="classServer.html#a18">00536</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00537 { +00538 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan); +00539 } +00540 +<a name="l00541"></a><a class="code" href="classServer.html#a19">00541</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +00542 { +00543 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan); +00544 } +00545 +<a name="l00546"></a><a class="code" href="classServer.html#a20">00546</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>() +00547 { +00548 <span class="keywordflow">return</span> getservername(); +00549 } +00550 +<a name="l00551"></a><a class="code" href="classServer.html#a21">00551</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>() +00552 { +00553 <span class="keywordflow">return</span> getnetworkname(); +00554 } +00555 +<a name="l00556"></a><a class="code" href="classServer.html#a22">00556</a> std::string <a class="code" href="classServer.html#a22">Server::GetServerDescription</a>() +00557 { +00558 <span class="keywordflow">return</span> getserverdesc(); +00559 } +00560 +<a name="l00561"></a><a class="code" href="classServer.html#a23">00561</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a23">Server::GetAdmin</a>() +00562 { +00563 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); +00564 } +00565 +00566 +00567 +<a name="l00568"></a><a class="code" href="classServer.html#a24">00568</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off) +00569 { +00570 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= 'Z')) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +00571 { +00572 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>) +00573 { +00574 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +00575 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00576 } +00577 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>)) +00578 { +00579 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +00580 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00581 } +00582 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +00583 { +00584 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +00585 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00586 } +00587 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +00588 } +00589 <span class="keywordflow">else</span> +00590 { +00591 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +00592 } +00593 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00594 } +00595 +<a name="l00596"></a><a class="code" href="classServer.html#a25">00596</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a25">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +00597 { +00598 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +00599 <span class="keywordflow">if</span> (res) +00600 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar); +00601 <span class="keywordflow">return</span> res; +00602 } +00603 +<a name="l00604"></a><a class="code" href="classServer.html#a14">00604</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) +00605 { +00606 <span class="keywordflow">return</span> usercount(c); +00607 } +00608 +00609 +<a name="l00610"></a><a class="code" href="classServer.html#a39">00610</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message) +00611 { +00612 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#o0">fd</a>; +00613 user-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00614 user-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00615 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#o1">ident</a>,user-><a class="code" href="classconnection.html#o1">host</a>,message.c_str()); +00616 <span class="preprocessor">#ifdef USE_KQUEUE</span> +00617 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; +00618 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL); +00619 <span class="keywordtype">int</span> i = kevent(kq, &ke, 1, 0, 0, NULL); +00620 <span class="keywordflow">if</span> (i == -1) +00621 { +00622 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>); +00623 } +00624 <span class="preprocessor">#endif</span> +00625 <span class="preprocessor"></span> shutdown(old_fd,2); +00626 close(old_fd); +00627 } +00628 +<a name="l00629"></a><a class="code" href="classServer.html#a40">00629</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a40">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message) +00630 { +00631 zombie-><a class="code" href="classconnection.html#o0">fd</a> = alive-><a class="code" href="classconnection.html#o0">fd</a>; +00632 alive-><a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>; +00633 alive-><a class="code" href="classuserrec.html#a10">ClearBuffer</a>(); +00634 Write(zombie-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#o0">nick</a>,alive-><a class="code" href="classuserrec.html#o1">ident</a>,alive-><a class="code" href="classconnection.html#o1">host</a>,zombie-><a class="code" href="classuserrec.html#o0">nick</a>); +00635 kill_link(alive,message.c_str()); +00636 <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#o0">fd</a>] = zombie; +00637 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++) +00638 { +00639 <span class="keywordflow">if</span> (zombie->chans[i].channel != NULL) +00640 { +00641 <span class="keywordflow">if</span> (zombie->chans[i].channel->name) +00642 { +00643 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>; +00644 WriteFrom(zombie->fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00645 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>) +00646 { +00647 WriteServ(zombie->fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o3">topic</a>); +00648 WriteServ(zombie->fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>, Ptr-><a class="code" href="classchanrec.html#o6">setby</a>, Ptr-><a class="code" href="classchanrec.html#o5">topicset</a>); +00649 } +00650 userlist(zombie,Ptr); +00651 WriteServ(zombie->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie->nick, Ptr-><a class="code" href="classchanrec.html#o0">name</a>); +00652 +00653 } +00654 } +00655 } +00656 +00657 } +00658 +<a name="l00659"></a><a class="code" href="classServer.html#a41">00659</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00660 { +00661 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00662 } +00663 +<a name="l00664"></a><a class="code" href="classServer.html#a42">00664</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname) +00665 { +00666 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); +00667 } +00668 +<a name="l00669"></a><a class="code" href="classServer.html#a43">00669</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr) +00670 { +00671 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); +00672 } +00673 +<a name="l00674"></a><a class="code" href="classServer.html#a44">00674</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00675 { +00676 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00677 } +00678 +<a name="l00679"></a><a class="code" href="classServer.html#a45">00679</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a45">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) +00680 { +00681 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +00682 } +00683 +<a name="l00684"></a><a class="code" href="classServer.html#a46">00684</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelGLine</a>(std::string hostmask) +00685 { +00686 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); +00687 } +00688 +<a name="l00689"></a><a class="code" href="classServer.html#a47">00689</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelQLine</a>(std::string nickname) +00690 { +00691 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); +00692 } +00693 +<a name="l00694"></a><a class="code" href="classServer.html#a48">00694</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelZLine</a>(std::string ipaddr) +00695 { +00696 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); +00697 } +00698 +<a name="l00699"></a><a class="code" href="classServer.html#a49">00699</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelKLine</a>(std::string hostmask) +00700 { +00701 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); +00702 } +00703 +<a name="l00704"></a><a class="code" href="classServer.html#a50">00704</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a50">Server::DelELine</a>(std::string hostmask) +00705 { +00706 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); +00707 } +00708 +<a name="l00709"></a><a class="code" href="classServer.html#a51">00709</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a51">Server::CalcDuration</a>(std::string delta) +00710 { +00711 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); +00712 } +00713 +<a name="l00714"></a><a class="code" href="classServer.html#a52">00714</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a52">Server::IsValidMask</a>(std::string mask) +00715 { +00716 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +00717 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +00718 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00719 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +00720 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00721 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00722 <span class="keywordflow">if</span> (dest[i] < 32) +00723 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00724 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00725 <span class="keywordflow">if</span> (dest[i] > 126) +00726 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00727 <span class="keywordtype">int</span> c = 0; +00728 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00729 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +00730 c++; +00731 <span class="keywordflow">if</span> (c>1) +00732 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00733 c = 0; +00734 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +00735 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +00736 c++; +00737 <span class="keywordflow">if</span> (c>1) +00738 <span class="keywordflow">return</span> <span class="keyword">false</span>; 00739 -<a name="l00740"></a><a class="code" href="classServer.html#a42">00740</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr) -00741 { -00742 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); -00743 } -00744 -<a name="l00745"></a><a class="code" href="classServer.html#a43">00745</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00746 { -00747 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00748 } -00749 -<a name="l00750"></a><a class="code" href="classServer.html#a44">00750</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask) -00751 { -00752 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -00753 } -00754 -<a name="l00755"></a><a class="code" href="classServer.html#a45">00755</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">Server::DelGLine</a>(std::string hostmask) -00756 { -00757 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str()); -00758 } -00759 -<a name="l00760"></a><a class="code" href="classServer.html#a46">00760</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelQLine</a>(std::string nickname) -00761 { -00762 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str()); -00763 } -00764 -<a name="l00765"></a><a class="code" href="classServer.html#a47">00765</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelZLine</a>(std::string ipaddr) -00766 { -00767 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str()); -00768 } -00769 -<a name="l00770"></a><a class="code" href="classServer.html#a48">00770</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelKLine</a>(std::string hostmask) -00771 { -00772 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str()); -00773 } -00774 -<a name="l00775"></a><a class="code" href="classServer.html#a49">00775</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelELine</a>(std::string hostmask) -00776 { -00777 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str()); -00778 } -00779 -<a name="l00780"></a><a class="code" href="classServer.html#a50">00780</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">Server::CalcDuration</a>(std::string delta) -00781 { -00782 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str()); -00783 } -00784 -<a name="l00785"></a><a class="code" href="classServer.html#a51">00785</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">Server::IsValidMask</a>(std::string mask) -00786 { -00787 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -00788 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -00789 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00790 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -00791 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00792 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00793 <span class="keywordflow">if</span> (dest[i] < 32) -00794 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00795 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00796 <span class="keywordflow">if</span> (dest[i] > 126) -00797 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00798 <span class="keywordtype">int</span> c = 0; -00799 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00800 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -00801 c++; -00802 <span class="keywordflow">if</span> (c>1) -00803 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00804 c = 0; -00805 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -00806 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -00807 c++; -00808 <span class="keywordflow">if</span> (c>1) -00809 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00810 -00811 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00812 } -00813 -<a name="l00814"></a><a class="code" href="classServer.html#a52">00814</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">Server::MeshSendAll</a>(std::string text) -00815 { -00816 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); -00817 } -00818 -<a name="l00819"></a><a class="code" href="classServer.html#a53">00819</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text) -00820 { -00821 <span class="keywordflow">if</span> (user) -00822 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); -00823 } -00824 -<a name="l00825"></a><a class="code" href="classServer.html#a54">00825</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendAllAlive</a>(std::string text) -00826 { -00827 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); -00828 } -00829 -<a name="l00830"></a><a class="code" href="classServer.html#a55">00830</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendUnicast</a>(std::string destination, std::string text) -00831 { -00832 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00833 } -00834 -<a name="l00835"></a><a class="code" href="classServer.html#a56">00835</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendAllExcept</a>(std::string target, std::string text) -00836 { -00837 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); -00838 } -00839 -<a name="l00840"></a><a class="code" href="classServer.html#a57">00840</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername) -00841 { -00842 <span class="keywordflow">if</span> (c) -00843 { -00844 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); -00845 } -00846 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00847 } -00848 -<a name="l00849"></a><a class="code" href="classServer.html#a58">00849</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername) -00850 { -00851 <span class="keywordflow">if</span> (u) +00740 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00741 } +00742 +<a name="l00743"></a><a class="code" href="classServer.html#a53">00743</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendAll</a>(std::string text) +00744 { +00745 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str()); +00746 } +00747 +<a name="l00748"></a><a class="code" href="classServer.html#a54">00748</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text) +00749 { +00750 <span class="keywordflow">if</span> (user) +00751 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str()); +00752 } +00753 +<a name="l00754"></a><a class="code" href="classServer.html#a55">00754</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendAllAlive</a>(std::string text) +00755 { +00756 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str()); +00757 } +00758 +<a name="l00759"></a><a class="code" href="classServer.html#a56">00759</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendUnicast</a>(std::string destination, std::string text) +00760 { +00761 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00762 } +00763 +<a name="l00764"></a><a class="code" href="classServer.html#a57">00764</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a57">Server::MeshSendAllExcept</a>(std::string target, std::string text) +00765 { +00766 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str()); +00767 } +00768 +<a name="l00769"></a><a class="code" href="classServer.html#a58">00769</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername) +00770 { +00771 <span class="keywordflow">if</span> (c) +00772 { +00773 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str()); +00774 } +00775 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00776 } +00777 +<a name="l00778"></a><a class="code" href="classServer.html#a59">00778</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a59">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername) +00779 { +00780 <span class="keywordflow">if</span> (u) +00781 { +00782 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); +00783 } +00784 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00785 } +00786 +<a name="l00787"></a><a class="code" href="classServer.html#a60">00787</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a60">Server::FindModule</a>(std::string name) +00788 { +00789 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) +00790 { +00791 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) +00792 { +00793 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; +00794 } +00795 } +00796 <span class="keywordflow">return</span> NULL; +00797 } +00798 +<a name="l00799"></a><a class="code" href="classConfigReader.html#a0">00799</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() +00800 { +00801 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00802 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00803 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); +00804 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00805 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00806 } +00807 +00808 +<a name="l00809"></a><a class="code" href="classConfigReader.html#a2">00809</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() +00810 { +00811 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) +00812 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; +00813 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) +00814 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; +00815 } +00816 +00817 +<a name="l00818"></a><a class="code" href="classConfigReader.html#a1">00818</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +00819 { +00820 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00821 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +00822 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); +00823 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) +00824 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; +00825 }; +00826 +<a name="l00827"></a><a class="code" href="classConfigReader.html#a3">00827</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00828 { +00829 <span class="keywordtype">char</span> val[MAXBUF]; +00830 <span class="keywordtype">char</span> t[MAXBUF]; +00831 <span class="keywordtype">char</span> n[MAXBUF]; +00832 strlcpy(t,tag.c_str(),MAXBUF); +00833 strlcpy(n,name.c_str(),MAXBUF); +00834 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00835 <span class="keywordflow">if</span> (!res) +00836 { +00837 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00838 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00839 } +00840 <span class="keywordflow">return</span> val; +00841 } +00842 +<a name="l00843"></a><a class="code" href="classConfigReader.html#a4">00843</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) +00844 { +00845 <span class="keywordtype">char</span> val[MAXBUF]; +00846 <span class="keywordtype">char</span> t[MAXBUF]; +00847 <span class="keywordtype">char</span> n[MAXBUF]; +00848 strlcpy(t,tag.c_str(),MAXBUF); +00849 strlcpy(n,name.c_str(),MAXBUF); +00850 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00851 <span class="keywordflow">if</span> (!res) 00852 { -00853 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str()); -00854 } -00855 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; -00856 } -00857 -<a name="l00858"></a><a class="code" href="classServer.html#a59">00858</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">Server::FindModule</a>(std::string name) -00859 { -00860 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++) -00861 { -00862 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name) -00863 { -00864 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i]; -00865 } -00866 } -00867 <span class="keywordflow">return</span> NULL; -00868 } -00869 -<a name="l00870"></a><a class="code" href="classConfigReader.html#a0">00870</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>() -00871 { -00872 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00873 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00874 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this->cache,this->errorlog); -00875 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00876 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00877 } -00878 -00879 -<a name="l00880"></a><a class="code" href="classConfigReader.html#a2">00880</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>() -00881 { -00882 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p0">cache</a>) -00883 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p0">cache</a>; -00884 <span class="keywordflow">if</span> (this-><a class="code" href="classConfigReader.html#p1">errorlog</a>) -00885 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#p1">errorlog</a>; -00886 } -00887 +00853 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00854 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00855 } +00856 std::string s = val; +00857 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); +00858 } +00859 +<a name="l00860"></a><a class="code" href="classConfigReader.html#a5">00860</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) +00861 { +00862 <span class="keywordtype">char</span> val[MAXBUF]; +00863 <span class="keywordtype">char</span> t[MAXBUF]; +00864 <span class="keywordtype">char</span> n[MAXBUF]; +00865 strlcpy(t,tag.c_str(),MAXBUF); +00866 strlcpy(n,name.c_str(),MAXBUF); +00867 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); +00868 <span class="keywordflow">if</span> (!res) +00869 { +00870 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; +00871 <span class="keywordflow">return</span> 0; +00872 } +00873 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +00874 { +00875 <span class="keywordflow">if</span> (!isdigit(val[i])) +00876 { +00877 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; +00878 <span class="keywordflow">return</span> 0; +00879 } +00880 } +00881 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) +00882 { +00883 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; +00884 <span class="keywordflow">return</span> 0; +00885 } +00886 <span class="keywordflow">return</span> atoi(val); +00887 } 00888 -<a name="l00889"></a><a class="code" href="classConfigReader.html#a1">00889</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename) +<a name="l00889"></a><a class="code" href="classConfigReader.html#a6">00889</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() 00890 { -00891 this-><a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00892 this-><a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -00893 this-><a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-><a class="code" href="classConfigReader.html#p0">cache</a>,this-><a class="code" href="classConfigReader.html#p1">errorlog</a>); -00894 <span class="keywordflow">if</span> (!this-><a class="code" href="classConfigReader.html#p2">readerror</a>) -00895 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>; -00896 }; -00897 -<a name="l00898"></a><a class="code" href="classConfigReader.html#a3">00898</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) -00899 { -00900 <span class="keywordtype">char</span> val[MAXBUF]; -00901 <span class="keywordtype">char</span> t[MAXBUF]; -00902 <span class="keywordtype">char</span> n[MAXBUF]; -00903 strlcpy(t,tag.c_str(),MAXBUF); -00904 strlcpy(n,name.c_str(),MAXBUF); -00905 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00906 <span class="keywordflow">if</span> (!res) -00907 { -00908 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00909 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00910 } -00911 <span class="keywordflow">return</span> val; -00912 } -00913 -<a name="l00914"></a><a class="code" href="classConfigReader.html#a4">00914</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index) -00915 { -00916 <span class="keywordtype">char</span> val[MAXBUF]; -00917 <span class="keywordtype">char</span> t[MAXBUF]; -00918 <span class="keywordtype">char</span> n[MAXBUF]; -00919 strlcpy(t,tag.c_str(),MAXBUF); -00920 strlcpy(n,name.c_str(),MAXBUF); -00921 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00922 <span class="keywordflow">if</span> (!res) -00923 { -00924 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00925 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00926 } -00927 std::string s = val; -00928 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>)); -00929 } -00930 -<a name="l00931"></a><a class="code" href="classConfigReader.html#a5">00931</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) -00932 { -00933 <span class="keywordtype">char</span> val[MAXBUF]; -00934 <span class="keywordtype">char</span> t[MAXBUF]; -00935 <span class="keywordtype">char</span> n[MAXBUF]; -00936 strlcpy(t,tag.c_str(),MAXBUF); -00937 strlcpy(n,name.c_str(),MAXBUF); -00938 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val); -00939 <span class="keywordflow">if</span> (!res) -00940 { -00941 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>; -00942 <span class="keywordflow">return</span> 0; -00943 } -00944 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++) -00945 { -00946 <span class="keywordflow">if</span> (!isdigit(val[i])) -00947 { -00948 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>; -00949 <span class="keywordflow">return</span> 0; -00950 } -00951 } -00952 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -00953 { -00954 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>; -00955 <span class="keywordflow">return</span> 0; -00956 } -00957 <span class="keywordflow">return</span> atoi(val); -00958 } -00959 -<a name="l00960"></a><a class="code" href="classConfigReader.html#a6">00960</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>() -00961 { -00962 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; -00963 this->error = 0; -00964 <span class="keywordflow">return</span> olderr; -00965 } -00966 -<a name="l00967"></a><a class="code" href="classConfigReader.html#a9">00967</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) -00968 { -00969 <span class="keywordflow">if</span> (bail) -00970 { -00971 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); -00972 exit(0); +00891 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#p3">error</a>; +00892 this->error = 0; +00893 <span class="keywordflow">return</span> olderr; +00894 } +00895 +<a name="l00896"></a><a class="code" href="classConfigReader.html#a9">00896</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) +00897 { +00898 <span class="keywordflow">if</span> (bail) +00899 { +00900 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>->str().c_str()); +00901 exit(0); +00902 } +00903 <span class="keywordflow">else</span> +00904 { +00905 <span class="keywordtype">char</span> dataline[1024]; +00906 <span class="keywordflow">if</span> (user) +00907 { +00908 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00909 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00910 { +00911 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00912 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); +00913 } +00914 } +00915 <span class="keywordflow">else</span> +00916 { +00917 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); +00918 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) +00919 { +00920 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); +00921 WriteOpers(dataline); +00922 } +00923 } +00924 <span class="keywordflow">return</span>; +00925 } +00926 } +00927 +00928 +<a name="l00929"></a><a class="code" href="classConfigReader.html#a7">00929</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) +00930 { +00931 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); +00932 } +00933 +<a name="l00934"></a><a class="code" href="classConfigReader.html#a10">00934</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) +00935 { +00936 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); +00937 } +00938 +<a name="l00939"></a><a class="code" href="classConfigReader.html#a8">00939</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() +00940 { +00941 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; +00942 } +00943 +00944 +<a name="l00945"></a><a class="code" href="classFileReader.html#a1">00945</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) +00946 { +00947 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +00948 readfile(c,filename.c_str()); +00949 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00950 } +00951 +<a name="l00952"></a><a class="code" href="classFileReader.html#a0">00952</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() +00953 { +00954 } +00955 +<a name="l00956"></a><a class="code" href="classFileReader.html#a3">00956</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) +00957 { +00958 <a class="code" href="modules_8h.html#a31">file_cache</a> c; +00959 readfile(c,filename.c_str()); +00960 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; +00961 } +00962 +00963 +<a name="l00964"></a><a class="code" href="classFileReader.html#a2">00964</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() +00965 { +00966 } +00967 +<a name="l00968"></a><a class="code" href="classFileReader.html#a4">00968</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() +00969 { +00970 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) +00971 { +00972 <span class="keywordflow">return</span>(<span class="keyword">false</span>); 00973 } 00974 <span class="keywordflow">else</span> 00975 { -00976 <span class="keywordtype">char</span> dataline[1024]; -00977 <span class="keywordflow">if</span> (user) -00978 { -00979 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00980 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00981 { -00982 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00983 WriteServ(user-><a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>,dataline); -00984 } -00985 } -00986 <span class="keywordflow">else</span> -00987 { -00988 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#o0">nick</a>); -00989 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>->eof()) -00990 { -00991 <a class="code" href="classConfigReader.html#p1">errorlog</a>->getline(dataline,1024); -00992 WriteOpers(dataline); -00993 } -00994 } -00995 <span class="keywordflow">return</span>; -00996 } -00997 } +00976 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +00977 } +00978 } +00979 +<a name="l00980"></a><a class="code" href="classFileReader.html#a5">00980</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +00981 { +00982 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) +00983 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00984 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; +00985 } +00986 +<a name="l00987"></a><a class="code" href="classFileReader.html#a6">00987</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() +00988 { +00989 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); +00990 } +00991 +00992 +00993 std::vector<Module*> <a class="code" href="modules_8cpp.html#a60">modules</a>(255); +00994 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a61">factory</a>(255); +00995 +<a name="l00996"></a><a class="code" href="modules_8cpp.html#a0">00996</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; +00997 00998 -00999 -<a name="l01000"></a><a class="code" href="classConfigReader.html#a7">01000</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag) -01001 { -01002 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str()); -01003 } -01004 -<a name="l01005"></a><a class="code" href="classConfigReader.html#a10">01005</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index) -01006 { -01007 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index); -01008 } -01009 -<a name="l01010"></a><a class="code" href="classConfigReader.html#a8">01010</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>() -01011 { -01012 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#p2">readerror</a>; -01013 } -01014 -01015 -<a name="l01016"></a><a class="code" href="classFileReader.html#a1">01016</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename) -01017 { -01018 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01019 readfile(c,filename.c_str()); -01020 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01021 } -01022 -<a name="l01023"></a><a class="code" href="classFileReader.html#a0">01023</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>() -01024 { -01025 } -01026 -<a name="l01027"></a><a class="code" href="classFileReader.html#a3">01027</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename) -01028 { -01029 <a class="code" href="modules_8h.html#a31">file_cache</a> c; -01030 readfile(c,filename.c_str()); -01031 this-><a class="code" href="classFileReader.html#r0">fc</a> = c; -01032 } -01033 -01034 -<a name="l01035"></a><a class="code" href="classFileReader.html#a2">01035</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>() -01036 { -01037 } -01038 -<a name="l01039"></a><a class="code" href="classFileReader.html#a4">01039</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>() -01040 { -01041 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0) -01042 { -01043 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -01044 } -01045 <span class="keywordflow">else</span> -01046 { -01047 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -01048 } -01049 } -01050 -<a name="l01051"></a><a class="code" href="classFileReader.html#a5">01051</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -01052 { -01053 <span class="keywordflow">if</span> ((x<0) || (x><a class="code" href="classFileReader.html#r0">fc</a>.size())) -01054 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -01055 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x]; -01056 } -01057 -<a name="l01058"></a><a class="code" href="classFileReader.html#a6">01058</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>() -01059 { -01060 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size(); -01061 } -01062 -01063 -01064 std::vector<Module*> <a class="code" href="modules_8cpp.html#a61">modules</a>(255); -01065 std::vector<ircd_module*> <a class="code" href="modules_8cpp.html#a62">factory</a>(255); -01066 -<a name="l01067"></a><a class="code" href="modules_8cpp.html#a1">01067</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1; -01068 -01069 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:41 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 0f38ceb30..b43b1f7af 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -4,26 +4,20 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>modules.cpp File Reference</h1><code>#include "inspircd.h"</code><br> <code>#include "inspircd_io.h"</code><br> <code>#include "inspircd_util.h"</code><br> <code>#include "inspircd_config.h"</code><br> <code>#include <unistd.h></code><br> -<code>#include <fcntl.h></code><br> <code>#include <sys/errno.h></code><br> -<code>#include <sys/ioctl.h></code><br> -<code>#include <sys/utsname.h></code><br> -<code>#include <cstdio></code><br> <code>#include <time.h></code><br> <code>#include <string></code><br> <code>#include <hash_map></code><br> <code>#include <map></code><br> <code>#include <sstream></code><br> <code>#include <vector></code><br> -<code>#include <errno.h></code><br> <code>#include <deque></code><br> -<code>#include <sched.h></code><br> <code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> <code>#include "<a class="el" href="servers_8h-source.html">servers.h</a>"</code><br> @@ -37,206 +31,174 @@ <code>#include "<a class="el" href="xline_8h-source.html">xline.h</a>"</code><br> <code>#include "<a class="el" href="commands_8h-source.html">commands.h</a>"</code><br> <code>#include "inspstring.h"</code><br> +<code>#include "helperfuncs.h"</code><br> +<code>#include "<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>"</code><br> <p> Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt="Include dependency graph"></center> <map name="modules.cpp_map"> -<area href="ctables_8h.html" shape="rect" coords="190,514,265,541" alt=""> -<area href="connection_8h.html" shape="rect" coords="178,767,277,794" alt=""> -<area href="users_8h.html" shape="rect" coords="336,1223,400,1250" alt=""> -<area href="servers_8h.html" shape="rect" coords="329,767,406,794" alt=""> -<area href="modules_8h.html" shape="rect" coords="326,970,409,997" alt=""> -<area href="message_8h.html" shape="rect" coords="470,1426,556,1453" alt=""> -<area href="mode_8h.html" shape="rect" coords="480,1767,546,1794" alt=""> -<area href="xline_8h.html" shape="rect" coords="482,1590,544,1617" alt=""> -<area href="commands_8h.html" shape="rect" coords="464,1375,562,1402" alt=""> +<area href="ctables_8h.html" shape="rect" coords="190,374,265,401" alt=""> +<area href="connection_8h.html" shape="rect" coords="178,628,277,654" alt=""> +<area href="users_8h.html" shape="rect" coords="341,1033,405,1060" alt=""> +<area href="servers_8h.html" shape="rect" coords="334,526,412,553" alt=""> +<area href="hashcomp_8h.html" shape="rect" coords="326,577,420,604" alt=""> +<area href="modules_8h.html" shape="rect" coords="332,729,414,756" alt=""> +<area href="message_8h.html" shape="rect" coords="478,1514,564,1541" alt=""> +<area href="mode_8h.html" shape="rect" coords="488,1616,554,1642" alt=""> +<area href="xline_8h.html" shape="rect" coords="490,1565,552,1592" alt=""> +<area href="commands_8h.html" shape="rect" coords="472,1109,570,1136" alt=""> </map> <p> <a href="modules_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> -<tr><td colspan=2><br><h2>Namespaces</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>namespace </td><td class="memItemRight" valign=bottom><a class="el" href="namespacenspace.html">nspace</a></td></tr> - <tr><td colspan=2><br><h2>Compounds</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classExtMode.html">ExtMode</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td></tr> - -<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structStrHashComp.html">StrHashComp</a></td></tr> - -<tr><td colspan=2><br><h2>Defines</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a0">nspace</a> std</td></tr> - <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> std::string, <a class="el" href="classuserrec.html">userrec</a> *, nspace::hash<<br> - string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">user_hash</a></td></tr> + string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">user_hash</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> std::string, <a class="el" href="classchanrec.html">chanrec</a> *, nspace::hash<<br> - string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">chan_hash</a></td></tr> + string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">chan_hash</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> in_addr, string *, nspace::hash<<br> - in_addr >, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">address_cache</a></td></tr> + in_addr >, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">address_cache</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map<<br> std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a> *,<br> - nspace::hash< string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">whowas_hash</a></td></tr> + nspace::hash< string >, <a class="el" href="structStrHashComp.html">StrHashComp</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">whowas_hash</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classcommand__t.html">command_t</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">command_table</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque< <a class="el" href="classcommand__t.html">command_t</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">command_table</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExtMode.html">ExtMode</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">ExtModeList</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="classExtMode.html">ExtMode</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">ExtModeList</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a52">ExtModeListIter</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a></td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeDefined</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">ModeDefined</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeIsListMode</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeIsListMode</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOper</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeDefinedOper</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">ModeDefinedOn</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOn</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">ModeDefinedOff</a> (char modechar, int type)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">ModeDefinedOff</a> (char modechar, int type)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">ModeMakeList</a> (char modechar)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">ModeMakeList</a> (char modechar)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a61">modules</a> (255)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">modules</a> (255)</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a62">factory</a> (255)</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a61">factory</a> (255)</td></tr> <tr><td colspan=2><br><h2>Variables</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a1">MODCOUNT</a> = -1</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a2">modules</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="classModule.html">Module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a1">modules</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">factory</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="modules_8h.html#a34">ircd_module</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a2">factory</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">TIME</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">TIME</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a5">LogLevel</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">LogLevel</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">ServerName</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a5">ServerName</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">Network</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">Network</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">ServerDesc</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">ServerDesc</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminName</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">AdminName</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminEmail</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminEmail</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">AdminNick</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminNick</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">diepass</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">diepass</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">restartpass</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">restartpass</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">motd</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">motd</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">rules</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">rules</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">list</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">list</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">PrefixQuit</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">PrefixQuit</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a18">DieValue</a> [MAXBUF]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">DieValue</a> [MAXBUF]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a19">debugging</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a18">debugging</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a22">DieDelay</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">DieDelay</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">startup_time</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a22">startup_time</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a24">NetBufferSize</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">NetBufferSize</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">nb_start</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">nb_start</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< int > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">fd_reap</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< int > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">fd_reap</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">module_names</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">module_names</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">boundPortCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">boundPortCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">portCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">portCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a31">SERVERportCount</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">SERVERportCount</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">ports</a> [MAXSOCKS]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a31">ports</a> [MAXSOCKS]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">defaultRoute</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">defaultRoute</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< long > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a34">auth_cookies</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< long > </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">auth_cookies</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a35">config_f</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a34">config_f</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">me</a> [32]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a35">me</a> [32]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>FILE * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">log_file</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>FILE * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">log_file</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classuserrec.html">userrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">fd_ref_table</a> [65536]</td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classuserrec.html">userrec</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">fd_ref_table</a> [65536]</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">clientlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">user_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">clientlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">chanlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">chan_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">chanlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a42">whowas_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">whowas</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">whowas_hash</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">whowas</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a43">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">cmdlist</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a42">command_table</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">cmdlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">MOTD</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">MOTD</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">RULES</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">RULES</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">IP</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">address_cache</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">IP</a></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a51">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">EMode</a></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a50">ExtModeList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a52">EMode</a></td></tr> </table> -<hr><h2>Define Documentation</h2> -<a name="a0" doxytag="modules.cpp::nspace"></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> #define nspace std - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> - -<p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00064">64</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> - </tr> -</table> <hr><h2>Typedef Documentation</h2> -<a name="a41" doxytag="modules.cpp::address_cache"></a><p> +<a name="a40" doxytag="modules.cpp::address_cache"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="el" href="modules_8cpp.html#a41">address_cache</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>> <a class="el" href="modules_8cpp.html#a40">address_cache</a> </table> </td> </tr> @@ -251,16 +213,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00064">64</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00187">187</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00111">111</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a40" doxytag="modules.cpp::chan_hash"></a><p> +<a name="a39" doxytag="modules.cpp::chan_hash"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classchanrec.html">chanrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a40">chan_hash</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classchanrec.html">chanrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a39">chan_hash</a> </table> </td> </tr> @@ -275,16 +237,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00187">187</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00186">186</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a43" doxytag="modules.cpp::command_table"></a><p> +<a name="a42" doxytag="modules.cpp::command_table"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classcommand__t.html">command_t</a>> <a class="el" href="modules_8cpp.html#a43">command_table</a> + <td class="md" nowrap valign="top"> typedef std::deque<<a class="el" href="classcommand__t.html">command_t</a>> <a class="el" href="modules_8cpp.html#a42">command_table</a> </table> </td> </tr> @@ -299,16 +261,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00186">186</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00189">189</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a51" doxytag="modules.cpp::ExtModeList"></a><p> +<a name="a50" doxytag="modules.cpp::ExtModeList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExtMode.html">ExtMode</a>> <a class="el" href="modules_8cpp.html#a51">ExtModeList</a> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="classExtMode.html">ExtMode</a>> <a class="el" href="modules_8cpp.html#a50">ExtModeList</a> </table> </td> </tr> @@ -323,16 +285,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00189">189</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00215">215</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a52" doxytag="modules.cpp::ExtModeListIter"></a><p> +<a name="a51" doxytag="modules.cpp::ExtModeListIter"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a52">ExtModeListIter</a> + <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a> </table> </td> </tr> @@ -347,18 +309,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00215">215</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00216">216</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00140">140</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00272">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00259">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00246">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00234">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00146">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00196">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00183">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00170">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00158">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00219">ModeMakeList()</a>. </td> </tr> </table> -<a name="a39" doxytag="modules.cpp::user_hash"></a><p> +<a name="a38" doxytag="modules.cpp::user_hash"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classuserrec.html">userrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a39">user_hash</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classuserrec.html">userrec</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a38">user_hash</a> </table> </td> </tr> @@ -373,16 +335,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined() <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a42" doxytag="modules.cpp::whowas_hash"></a><p> +<a name="a41" doxytag="modules.cpp::whowas_hash"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a42">whowas_hash</a> + <td class="md" nowrap valign="top"> typedef nspace::hash_map<std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a>*, nspace::hash<string>, <a class="el" href="structStrHashComp.html">StrHashComp</a>> <a class="el" href="modules_8cpp.html#a41">whowas_hash</a> </table> </td> </tr> @@ -397,11 +359,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00188">188</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> -<a name="a59" doxytag="modules.cpp::DoAddExtendedMode"></a><p> +<a name="a58" doxytag="modules.cpp::DoAddExtendedMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -456,23 +418,23 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00188">188</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00285">285</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00209">209</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00146">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00596">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00568">Server::AddExtendedMode()</a>. <p> -<div class="fragment"><pre>00286 { -00287 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a54">ModeDefined</a>(modechar,type)) { -00288 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00289 } -00290 <a class="code" href="modules_8cpp.html#a53">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -00291 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00292 } +<div class="fragment"><pre>00210 { +00211 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) { +00212 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00213 } +00214 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +00215 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00216 } </pre></div> </td> </tr> </table> -<a name="a62" doxytag="modules.cpp::factory"></a><p> +<a name="a61" doxytag="modules.cpp::factory"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -501,7 +463,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddEx </td> </tr> </table> -<a name="a54" doxytag="modules.cpp::ModeDefined"></a><p> +<a name="a53" doxytag="modules.cpp::ModeDefined"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -538,26 +500,26 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00222">222</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>. +Referenced by <a class="el" href="modules_8cpp-source.html#l00209">DoAddExtendedMode()</a>. <p> -<div class="fragment"><pre>00223 { -00224 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00225 { -00226 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00227 { -00228 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00229 } -00230 } -00231 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00232 } +<div class="fragment"><pre>00147 { +00148 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00149 { +00150 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00151 { +00152 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00153 } +00154 } +00155 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00156 } </pre></div> </td> </tr> </table> -<a name="a58" doxytag="modules.cpp::ModeDefinedOff"></a><p> +<a name="a57" doxytag="modules.cpp::ModeDefinedOff"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -594,24 +556,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00272">272</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00273 { -00274 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00275 { -00276 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00277 { -00278 <span class="keywordflow">return</span> i->params_when_off; -00279 } -00280 } -00281 <span class="keywordflow">return</span> 0; -00282 } +<div class="fragment"><pre>00197 { +00198 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00199 { +00200 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00201 { +00202 <span class="keywordflow">return</span> i->params_when_off; +00203 } +00204 } +00205 <span class="keywordflow">return</span> 0; +00206 } </pre></div> </td> </tr> </table> -<a name="a57" doxytag="modules.cpp::ModeDefinedOn"></a><p> +<a name="a56" doxytag="modules.cpp::ModeDefinedOn"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -648,24 +610,24 @@ References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00259">259</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00183">183</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00260 { -00261 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00262 { -00263 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -00264 { -00265 <span class="keywordflow">return</span> i->params_when_on; -00266 } -00267 } -00268 <span class="keywordflow">return</span> 0; -00269 } +<div class="fragment"><pre>00184 { +00185 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00186 { +00187 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +00188 { +00189 <span class="keywordflow">return</span> i->params_when_on; +00190 } +00191 } +00192 <span class="keywordflow">return</span> 0; +00193 } </pre></div> </td> </tr> </table> -<a name="a56" doxytag="modules.cpp::ModeDefinedOper"></a><p> +<a name="a55" doxytag="modules.cpp::ModeDefinedOper"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -702,24 +664,24 @@ References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00170">170</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00247 { -00248 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00249 { -00250 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -00251 { -00252 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00253 } -00254 } -00255 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00256 } +<div class="fragment"><pre>00171 { +00172 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00173 { +00174 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +00175 { +00176 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00177 } +00178 } +00179 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00180 } </pre></div> </td> </tr> </table> -<a name="a55" doxytag="modules.cpp::ModeIsListMode"></a><p> +<a name="a54" doxytag="modules.cpp::ModeIsListMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -756,24 +718,24 @@ References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00234">234</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00158">158</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>. +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>. <p> -<div class="fragment"><pre>00235 { -00236 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00237 { -00238 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -00239 { -00240 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00241 } -00242 } -00243 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00244 } +<div class="fragment"><pre>00159 { +00160 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00161 { +00162 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +00163 { +00164 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00165 } +00166 } +00167 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00168 } </pre></div> </td> </tr> </table> -<a name="a60" doxytag="modules.cpp::ModeMakeList"></a><p> +<a name="a59" doxytag="modules.cpp::ModeMakeList"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -801,27 +763,27 @@ References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, and < <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00295">295</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8cpp-source.html#l00219">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00216">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. -<p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00219">219</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -<div class="fragment"><pre>00296 { -00297 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a52">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a53">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a53">EMode</a>.end(); i++) -00298 { -00299 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) -00300 { -00301 i->list = <span class="keyword">true</span>; -00302 <span class="keywordflow">return</span>; -00303 } -00304 } -00305 <span class="keywordflow">return</span>; -00306 } +References <a class="el" href="modules_8cpp-source.html#l00143">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00140">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00596">Server::AddExtendedListMode()</a>. +<p> +<div class="fragment"><pre>00220 { +00221 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++) +00222 { +00223 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>)) +00224 { +00225 i->list = <span class="keyword">true</span>; +00226 <span class="keywordflow">return</span>; +00227 } +00228 } +00229 <span class="keywordflow">return</span>; +00230 } </pre></div> </td> </tr> </table> -<a name="a61" doxytag="modules.cpp::modules"></a><p> +<a name="a60" doxytag="modules.cpp::modules"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -851,13 +813,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddEx </tr> </table> <hr><h2>Variable Documentation</h2> -<a name="a10" doxytag="modules.cpp::AdminEmail"></a><p> +<a name="a9" doxytag="modules.cpp::AdminEmail"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF] </table> </td> </tr> @@ -872,16 +834,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddEx <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a9" doxytag="modules.cpp::AdminName"></a><p> +<a name="a8" doxytag="modules.cpp::AdminName"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">AdminName</a>[MAXBUF] </table> </td> </tr> @@ -896,16 +858,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00071">71</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a11" doxytag="modules.cpp::AdminNick"></a><p> +<a name="a10" doxytag="modules.cpp::AdminNick"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminNick</a>[MAXBUF] </table> </td> </tr> @@ -920,16 +882,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a34" doxytag="modules.cpp::auth_cookies"></a><p> +<a name="a33" doxytag="modules.cpp::auth_cookies"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a34">auth_cookies</a> + <td class="md" nowrap valign="top"> std::vector<long> <a class="el" href="modules_8cpp.html#a33">auth_cookies</a> </table> </td> </tr> @@ -944,16 +906,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00100">100</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a29" doxytag="modules.cpp::boundPortCount"></a><p> +<a name="a28" doxytag="modules.cpp::boundPortCount"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">boundPortCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">boundPortCount</a> </table> </td> </tr> @@ -968,16 +930,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a45" doxytag="modules.cpp::chanlist"></a><p> +<a name="a44" doxytag="modules.cpp::chanlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">chan_hash</a> <a class="el" href="modules_8cpp.html#a45">chanlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">chan_hash</a> <a class="el" href="modules_8cpp.html#a44">chanlist</a> </table> </td> </tr> @@ -992,16 +954,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a44" doxytag="modules.cpp::clientlist"></a><p> +<a name="a43" doxytag="modules.cpp::clientlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a44">clientlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a38">user_hash</a> <a class="el" href="modules_8cpp.html#a43">clientlist</a> </table> </td> </tr> @@ -1016,16 +978,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00193">193</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a47" doxytag="modules.cpp::cmdlist"></a><p> +<a name="a46" doxytag="modules.cpp::cmdlist"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a43">command_table</a> <a class="el" href="modules_8cpp.html#a47">cmdlist</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a42">command_table</a> <a class="el" href="modules_8cpp.html#a46">cmdlist</a> </table> </td> </tr> @@ -1040,10 +1002,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a35" doxytag="modules.cpp::config_f"></a><p> +<a name="a34" doxytag="modules.cpp::config_f"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1064,16 +1026,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a19" doxytag="modules.cpp::debugging"></a><p> +<a name="a18" doxytag="modules.cpp::debugging"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a18">debugging</a> </table> </td> </tr> @@ -1088,16 +1050,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00113">113</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a33" doxytag="modules.cpp::defaultRoute"></a><p> +<a name="a32" doxytag="modules.cpp::defaultRoute"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a33">defaultRoute</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">defaultRoute</a> </table> </td> </tr> @@ -1112,16 +1074,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a22" doxytag="modules.cpp::DieDelay"></a><p> +<a name="a21" doxytag="modules.cpp::DieDelay"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">DieDelay</a> </table> </td> </tr> @@ -1136,16 +1098,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a12" doxytag="modules.cpp::diepass"></a><p> +<a name="a11" doxytag="modules.cpp::diepass"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">diepass</a>[MAXBUF] </table> </td> </tr> @@ -1160,16 +1122,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00074">74</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a18" doxytag="modules.cpp::DieValue"></a><p> +<a name="a17" doxytag="modules.cpp::DieValue"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">DieValue</a>[MAXBUF] </table> </td> </tr> @@ -1184,16 +1146,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a53" doxytag="modules.cpp::EMode"></a><p> +<a name="a52" doxytag="modules.cpp::EMode"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a51">ExtModeList</a> <a class="el" href="modules_8cpp.html#a53">EMode</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a50">ExtModeList</a> <a class="el" href="modules_8cpp.html#a52">EMode</a> </table> </td> </tr> @@ -1208,12 +1170,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00219">219</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00222">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00272">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00259">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00246">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00234">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00209">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00146">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00196">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00183">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00170">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00158">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00219">ModeMakeList()</a>. </td> </tr> </table> -<a name="a3" doxytag="modules.cpp::factory"></a><p> +<a name="a2" doxytag="modules.cpp::factory"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1234,16 +1196,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00285">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00063">63</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a27" doxytag="modules.cpp::fd_reap"></a><p> +<a name="a26" doxytag="modules.cpp::fd_reap"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a27">fd_reap</a> + <td class="md" nowrap valign="top"> std::vector<int> <a class="el" href="modules_8cpp.html#a26">fd_reap</a> </table> </td> </tr> @@ -1258,16 +1220,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a38" doxytag="modules.cpp::fd_ref_table"></a><p> +<a name="a37" doxytag="modules.cpp::fd_ref_table"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="classuserrec.html">userrec</a>* <a class="el" href="modules_8cpp.html#a38">fd_ref_table</a>[65536] + <td class="md" nowrap valign="top"> <a class="el" href="classuserrec.html">userrec</a>* <a class="el" href="modules_8cpp.html#a37">fd_ref_table</a>[65536] </table> </td> </tr> @@ -1282,18 +1244,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00602">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00526">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>. </td> </tr> </table> -<a name="a50" doxytag="modules.cpp::IP"></a><p> +<a name="a49" doxytag="modules.cpp::IP"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">address_cache</a> <a class="el" href="modules_8cpp.html#a50">IP</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">address_cache</a> <a class="el" href="modules_8cpp.html#a49">IP</a> </table> </td> </tr> @@ -1308,16 +1270,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00602">Server::FindD <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00198">198</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a16" doxytag="modules.cpp::list"></a><p> +<a name="a15" doxytag="modules.cpp::list"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">list</a>[MAXBUF] </table> </td> </tr> @@ -1332,16 +1294,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00198">198</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00078">78</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a37" doxytag="modules.cpp::log_file"></a><p> +<a name="a36" doxytag="modules.cpp::log_file"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a37">log_file</a> + <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a> </table> </td> </tr> @@ -1356,16 +1318,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a5" doxytag="modules.cpp::LogLevel"></a><p> +<a name="a4" doxytag="modules.cpp::LogLevel"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a4">LogLevel</a> </table> </td> </tr> @@ -1380,16 +1342,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00117">117</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00067">67</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a25" doxytag="modules.cpp::MaxWhoResults"></a><p> +<a name="a24" doxytag="modules.cpp::MaxWhoResults"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a> </table> </td> </tr> @@ -1404,16 +1366,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00100">100</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a36" doxytag="modules.cpp::me"></a><p> +<a name="a35" doxytag="modules.cpp::me"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a36">me</a>[32] + <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a35">me</a>[32] </table> </td> </tr> @@ -1428,16 +1390,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00100">100</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a1" doxytag="modules.cpp::MODCOUNT"></a><p> +<a name="a0" doxytag="modules.cpp::MODCOUNT"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a> = -1 + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1 </table> </td> </tr> @@ -1452,16 +1414,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00115">115</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01067">1067</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00996">996</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a28" doxytag="modules.cpp::module_names"></a><p> +<a name="a27" doxytag="modules.cpp::module_names"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a28">module_names</a> + <td class="md" nowrap valign="top"> std::vector<std::string> <a class="el" href="modules_8cpp.html#a27">module_names</a> </table> </td> </tr> @@ -1476,10 +1438,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l01067">1067</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a2" doxytag="modules.cpp::modules"></a><p> +<a name="a1" doxytag="modules.cpp::modules"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1500,16 +1462,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00074">74</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00062">62</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a48" doxytag="modules.cpp::MOTD"></a><p> +<a name="a47" doxytag="modules.cpp::MOTD"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a48">MOTD</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a47">MOTD</a> </table> </td> </tr> @@ -1524,16 +1486,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00074">74</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a14" doxytag="modules.cpp::motd"></a><p> +<a name="a13" doxytag="modules.cpp::motd"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF] </table> </td> </tr> @@ -1548,16 +1510,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00076">76</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a26" doxytag="modules.cpp::nb_start"></a><p> +<a name="a25" doxytag="modules.cpp::nb_start"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a25">nb_start</a> </table> </td> </tr> @@ -1572,16 +1534,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a24" doxytag="modules.cpp::NetBufferSize"></a><p> +<a name="a23" doxytag="modules.cpp::NetBufferSize"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">NetBufferSize</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a23">NetBufferSize</a> </table> </td> </tr> @@ -1596,16 +1558,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a7" doxytag="modules.cpp::Network"></a><p> +<a name="a6" doxytag="modules.cpp::Network"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">Network</a>[MAXBUF] </table> </td> </tr> @@ -1620,16 +1582,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00069">69</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a30" doxytag="modules.cpp::portCount"></a><p> +<a name="a29" doxytag="modules.cpp::portCount"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">portCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">portCount</a> </table> </td> </tr> @@ -1644,16 +1606,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a32" doxytag="modules.cpp::ports"></a><p> +<a name="a31" doxytag="modules.cpp::ports"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">ports</a>[MAXSOCKS] + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">ports</a>[MAXSOCKS] </table> </td> </tr> @@ -1668,16 +1630,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a17" doxytag="modules.cpp::PrefixQuit"></a><p> +<a name="a16" doxytag="modules.cpp::PrefixQuit"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF] </table> </td> </tr> @@ -1692,16 +1654,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a13" doxytag="modules.cpp::restartpass"></a><p> +<a name="a12" doxytag="modules.cpp::restartpass"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF] </table> </td> </tr> @@ -1716,16 +1678,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a49" doxytag="modules.cpp::RULES"></a><p> +<a name="a48" doxytag="modules.cpp::RULES"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a49">RULES</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a48">RULES</a> </table> </td> </tr> @@ -1740,16 +1702,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a15" doxytag="modules.cpp::rules"></a><p> +<a name="a14" doxytag="modules.cpp::rules"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">rules</a>[MAXBUF] </table> </td> </tr> @@ -1764,16 +1726,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a8" doxytag="modules.cpp::ServerDesc"></a><p> +<a name="a7" doxytag="modules.cpp::ServerDesc"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF] </table> </td> </tr> @@ -1788,16 +1750,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00070">70</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a6" doxytag="modules.cpp::ServerName"></a><p> +<a name="a5" doxytag="modules.cpp::ServerName"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">ServerName</a>[MAXBUF] + <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a5">ServerName</a>[MAXBUF] </table> </td> </tr> @@ -1812,16 +1774,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00068">68</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a31" doxytag="modules.cpp::SERVERportCount"></a><p> +<a name="a30" doxytag="modules.cpp::SERVERportCount"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">SERVERportCount</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">SERVERportCount</a> </table> </td> </tr> @@ -1836,16 +1798,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00108">108</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a23" doxytag="modules.cpp::startup_time"></a><p> +<a name="a22" doxytag="modules.cpp::startup_time"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a> + <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a22">startup_time</a> </table> </td> </tr> @@ -1860,10 +1822,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00108">108</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a4" doxytag="modules.cpp::TIME"></a><p> +<a name="a3" doxytag="modules.cpp::TIME"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> @@ -1884,16 +1846,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00065">65</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a46" doxytag="modules.cpp::whowas"></a><p> +<a name="a45" doxytag="modules.cpp::whowas"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a42">whowas_hash</a> <a class="el" href="modules_8cpp.html#a46">whowas</a> + <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">whowas_hash</a> <a class="el" href="modules_8cpp.html#a45">whowas</a> </table> </td> </tr> @@ -1908,16 +1870,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00194">194</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a21" doxytag="modules.cpp::WHOWAS_MAX"></a><p> +<a name="a20" doxytag="modules.cpp::WHOWAS_MAX"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a> </table> </td> </tr> @@ -1932,16 +1894,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00194">194</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<a name="a20" doxytag="modules.cpp::WHOWAS_STALE"></a><p> +<a name="a19" doxytag="modules.cpp::WHOWAS_STALE"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a> + <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a> </table> </td> </tr> @@ -1956,10 +1918,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> o <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:09 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:42 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif Binary files differindex b2ba0c231..b041fb6b8 100644 --- a/docs/module-doc/modules_8cpp__incl.gif +++ b/docs/module-doc/modules_8cpp__incl.gif diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 03cd2a9b7..ec270a4ae 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>modules.h</h1><a href="modules_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -309,147 +309,148 @@ 00803 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan); 00806 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a20">GetServerName</a>(); 00809 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a21">GetNetworkName</a>(); -00815 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">GetAdmin</a>(); -00834 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); -00835 -00857 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar); -00858 -00876 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source); -00877 -00899 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); -00900 -00913 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); -00914 -00920 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); -00921 -00927 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); -00928 -00934 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); -00935 -00946 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); -00947 -00952 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">MatchText</a>(std::string sliteral, std::string spattern); -00953 -00965 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); -00966 -00972 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); -00973 -00979 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); -00980 -00989 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">IsUlined</a>(std::string server); -00990 -00994 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); -00995 -01002 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message); -01003 -01010 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message); -01011 -01019 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); -01020 -01028 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string nickname); -01029 -01037 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string ipaddr); -01038 -01046 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); -01047 -01055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); -01056 -01059 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">DelGLine</a>(std::string hostmask); -01060 -01063 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">DelQLine</a>(std::string nickname); -01064 -01067 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">DelZLine</a>(std::string ipaddr); -01068 -01071 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">DelKLine</a>(std::string hostmask); -01072 -01075 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">DelELine</a>(std::string hostmask); -01076 -01082 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">CalcDuration</a>(std::string <a class="code" href="commands_8h.html#a75">duration</a>); -01083 -01086 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">IsValidMask</a>(std::string mask); -01087 -01092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">MeshSendAll</a>(std::string text); -01093 -01100 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text); -01101 -01104 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">MeshSendAllAlive</a>(std::string text); -01105 -01109 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">MeshSendUnicast</a>(std::string destination, std::string text); -01110 -01115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">MeshSendAllExcept</a>(std::string target, std::string text); -01116 -01120 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername); -01121 -01125 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername); -01126 -01131 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">FindModule</a>(std::string name); -01132 }; -01133 -01134 -<a name="l01135"></a><a class="code" href="modules_8h.html#a27">01135</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span> -<a name="l01136"></a><a class="code" href="modules_8h.html#a28">01136</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span> -<a name="l01137"></a><a class="code" href="modules_8h.html#a29">01137</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span> -<a name="l01138"></a><a class="code" href="modules_8h.html#a30">01138</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span> -01139 <span class="preprocessor"></span> -01140 -<a name="l01147"></a><a class="code" href="classConfigReader.html">01147</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -01148 { -01149 <span class="keyword">protected</span>: -<a name="l01155"></a><a class="code" href="classConfigReader.html#p0">01155</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>; -<a name="l01156"></a><a class="code" href="classConfigReader.html#p1">01156</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>; -<a name="l01159"></a><a class="code" href="classConfigReader.html#p2">01159</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>; -<a name="l01160"></a><a class="code" href="classConfigReader.html#p3">01160</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>; -01161 -01162 <span class="keyword">public</span>: -01167 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> -01171 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> -01175 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); -01180 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -01186 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); -01195 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned); -01200 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>(); -01207 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag); -01212 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>(); -01219 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user); -01220 -01226 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); -01227 }; -01228 -01229 -01230 -<a name="l01236"></a><a class="code" href="classFileReader.html">01236</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -01237 { -<a name="l01238"></a><a class="code" href="classFileReader.html#r0">01238</a> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>; -01239 <span class="keyword">public</span>: -01244 <a class="code" href="classFileReader.html#a0">FileReader</a>(); -01245 -01251 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); -01252 -01256 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); -01257 -01263 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); -01264 -01268 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); -01269 -01274 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); -01275 -01281 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); -01282 }; -01283 -01284 -<a name="l01291"></a><a class="code" href="classModuleFactory.html">01291</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -01292 { -01293 <span class="keyword">public</span>: -<a name="l01294"></a><a class="code" href="classModuleFactory.html#a0">01294</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } -<a name="l01295"></a><a class="code" href="classModuleFactory.html#a1">01295</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } -01300 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; -01301 }; -01302 -01303 -<a name="l01304"></a><a class="code" href="modules_8h.html#a34">01304</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a34">ircd_module</a>; +00812 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a22">GetServerDescription</a>(); +00818 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a23">GetAdmin</a>(); +00837 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off); +00838 +00860 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a25">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar); +00861 +00879 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source); +00880 +00902 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +00903 +00916 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text); +00917 +00923 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key); +00924 +00930 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a30">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason); +00931 +00937 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname); +00938 +00949 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason); +00950 +00955 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a33">MatchText</a>(std::string sliteral, std::string spattern); +00956 +00968 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user); +00969 +00975 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host); +00976 +00982 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a36">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos); +00983 +00992 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">IsUlined</a>(std::string server); +00993 +00997 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a38">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan); +00998 +01005 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message); +01006 +01013 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a40">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message); +01014 +01022 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); +01023 +01031 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string nickname); +01032 +01040 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string ipaddr); +01041 +01049 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); +01050 +01058 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a45">AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask); +01059 +01062 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">DelGLine</a>(std::string hostmask); +01063 +01066 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">DelQLine</a>(std::string nickname); +01067 +01070 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">DelZLine</a>(std::string ipaddr); +01071 +01074 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">DelKLine</a>(std::string hostmask); +01075 +01078 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a50">DelELine</a>(std::string hostmask); +01079 +01085 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a51">CalcDuration</a>(std::string <a class="code" href="commands_8h.html#a75">duration</a>); +01086 +01089 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a52">IsValidMask</a>(std::string mask); +01090 +01095 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">MeshSendAll</a>(std::string text); +01096 +01103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text); +01104 +01107 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">MeshSendAllAlive</a>(std::string text); +01108 +01112 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">MeshSendUnicast</a>(std::string destination, std::string text); +01113 +01118 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a57">MeshSendAllExcept</a>(std::string target, std::string text); +01119 +01123 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername); +01124 +01128 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a59">MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername); +01129 +01134 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a60">FindModule</a>(std::string name); +01135 }; +01136 +01137 +<a name="l01138"></a><a class="code" href="modules_8h.html#a27">01138</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span> +<a name="l01139"></a><a class="code" href="modules_8h.html#a28">01139</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span> +<a name="l01140"></a><a class="code" href="modules_8h.html#a29">01140</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span> +<a name="l01141"></a><a class="code" href="modules_8h.html#a30">01141</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span> +01142 <span class="preprocessor"></span> +01143 +<a name="l01150"></a><a class="code" href="classConfigReader.html">01150</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +01151 { +01152 <span class="keyword">protected</span>: +<a name="l01158"></a><a class="code" href="classConfigReader.html#p0">01158</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>; +<a name="l01159"></a><a class="code" href="classConfigReader.html#p1">01159</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>; +<a name="l01162"></a><a class="code" href="classConfigReader.html#p2">01162</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>; +<a name="l01163"></a><a class="code" href="classConfigReader.html#p3">01163</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>; +01164 +01165 <span class="keyword">public</span>: +01170 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span> +01174 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span> +01178 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>(); +01183 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +01189 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index); +01198 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned); +01203 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>(); +01210 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag); +01215 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>(); +01222 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user); +01223 +01229 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index); +01230 }; +01231 +01232 +01233 +<a name="l01239"></a><a class="code" href="classFileReader.html">01239</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +01240 { +<a name="l01241"></a><a class="code" href="classFileReader.html#r0">01241</a> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>; +01242 <span class="keyword">public</span>: +01247 <a class="code" href="classFileReader.html#a0">FileReader</a>(); +01248 +01254 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename); +01255 +01259 <a class="code" href="classFileReader.html#a2">~FileReader</a>(); +01260 +01266 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename); +01267 +01271 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>(); +01272 +01277 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x); +01278 +01284 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>(); +01285 }; +01286 +01287 +<a name="l01294"></a><a class="code" href="classModuleFactory.html">01294</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +01295 { +01296 <span class="keyword">public</span>: +<a name="l01297"></a><a class="code" href="classModuleFactory.html#a0">01297</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { } +<a name="l01298"></a><a class="code" href="classModuleFactory.html#a1">01298</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { } +01303 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0; +01304 }; 01305 -01306 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +01306 +<a name="l01307"></a><a class="code" href="modules_8h.html#a34">01307</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#a34">ircd_module</a>; +01308 +01309 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index be75f5ea4..33f708825 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>modules.h File Reference</h1><code>#include "dynamic.h"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> @@ -109,7 +109,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a23">VF_COMMON</a> 8</td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a24">FOREACH_MOD</a> for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; _i++) modules[_i]-></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a24">FOREACH_MOD</a> for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; _i++) modules[_i]-></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="modules_8h.html#a25">FOREACH_RESULT</a>(x)</td></tr> @@ -404,7 +404,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00039">39</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00037">37</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00392">Module::OnAccessCheck()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00316">Module::OnAccessCheck()</a>. </td> </tr> </table> <a name="a9" doxytag="modules.h::ACR_DENY"></a><p> @@ -452,9 +452,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01138">1138</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01141">1141</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00799">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a name="a27" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p> @@ -478,9 +478,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00870">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01135">1135</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01138">1138</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00860">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a name="a28" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p> @@ -504,9 +504,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01136">1136</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01139">1139</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00860">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a name="a29" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p> @@ -530,9 +530,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader: <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01137">1137</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +Definition at line <a class="el" href="modules_8h-source.html#l01140">1140</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00914">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00931">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00898">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00843">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00860">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00827">ConfigReader::ReadValue()</a>. </td> </tr> </table> <a name="a0" doxytag="modules.h::DEBUG"></a><p> @@ -558,7 +558,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00914">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l00023">23</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00213">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00181">chanrec::IsCustomModeSet()</a>, <a class="el" href="users_8cpp-source.html#l00095">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00125">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00263">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00568">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00202">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00208">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00123">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00176">chanrec::IsCustomModeSet()</a>, <a class="el" href="users_8cpp-source.html#l00101">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00120">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00145">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00269">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="a2" doxytag="modules.h::DEFAULT"></a><p> @@ -608,7 +608,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00099">99</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00610">Server::UserToPseudo()</a>. </td> </tr> </table> <a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p> @@ -617,7 +617,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::Pseud <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#a1">MODCOUNT</a>; _i++) modules[_i]-> + <td class="md" nowrap valign="top"> #define FOREACH_MOD for (int _i = 0; _i <= <a class="el" href="modules_8cpp.html#a0">MODCOUNT</a>; _i++) modules[_i]-> </table> </td> </tr> @@ -634,7 +634,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::Pseud <p> Definition at line <a class="el" href="modules_8h-source.html#l00079">79</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00357">Event::Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00281">Event::Send()</a>. </td> </tr> </table> <a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p> @@ -698,7 +698,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00087">87</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00031">31</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00295">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00596">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00219">ModeMakeList()</a>. </td> </tr> </table> <a name="a6" doxytag="modules.h::MT_CLIENT"></a><p> @@ -724,7 +724,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00667">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00032">32</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00568">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a7" doxytag="modules.h::MT_SERVER"></a><p> @@ -750,7 +750,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddEx <p> Definition at line <a class="el" href="modules_8h-source.html#l00033">33</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00639">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00568">Server::AddExtendedMode()</a>. </td> </tr> </table> <a name="a4" doxytag="modules.h::NONE"></a><p> @@ -920,7 +920,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00054">54</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00383">Module::GetVersion()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00307">Module::GetVersion()</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -949,7 +949,7 @@ Holds a list of users in a channel. <p> Definition at line <a class="el" href="modules_8h-source.html#l00072">72</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::GetUsers()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00391">Server::GetUsers()</a>. </td> </tr> </table> <a name="a31" doxytag="modules.h::file_cache"></a><p> @@ -977,7 +977,7 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</ <p> Definition at line <a class="el" href="modules_8h-source.html#l00067">67</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l01016">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01027">FileReader::LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00945">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00956">FileReader::LoadFile()</a>. </td> </tr> </table> <a name="a34" doxytag="modules.h::ircd_module"></a><p> @@ -1001,7 +1001,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l01016">FileReader::F <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l01304">1304</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> +Definition at line <a class="el" href="modules_8h-source.html#l01307">1307</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td> </tr> </table> <a name="a32" doxytag="modules.h::string_list"></a><p> @@ -1027,7 +1027,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01304">1304</a> o <p> Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00393">Module::OnUserSync()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00318">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00317">Module::OnUserSync()</a>. </td> </tr> </table> <hr><h2>Function Documentation</h2> @@ -1086,7 +1086,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00394">Module::OnCha <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00504">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00428">Server::AddCommand()</a>. </td> </tr> </table> <a name="a36" doxytag="modules.h::server_mode"></a><p> @@ -1132,10 +1132,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00504">Server::AddCo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00509">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00433">Server::SendMode()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:44 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html new file mode 100644 index 000000000..fe1a06e8c --- /dev/null +++ b/docs/module-doc/namespaceirc.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: irc Namespace Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>irc Namespace Reference</h1>The irc namespace contains a number of helper classes. +<a href="#_details">More...</a> +<p> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Compounds</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> class is used for RFC-style comparison of strings. </em> <a href="structirc_1_1irc__char__traits.html#_details">More...</a><em><br><br></td></tr> +<tr><td colspan=2><br><h2>Typedefs</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef basic_string< char,<br> + <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a>, allocator<<br> + char > > </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceirc.html#a0">string</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This typedef declares <a class="el" href="namespaceirc.html#a0">irc::string</a> based upon <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a>. </em> <a href="#a0"></a><em><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The irc namespace contains a number of helper classes. <hr><h2>Typedef Documentation</h2> +<a name="a0" doxytag="irc::string"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef basic_string<char, <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a>, allocator<char> > <a class="el" href="namespaceirc.html#a0">irc::string</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This typedef declares <a class="el" href="namespaceirc.html#a0">irc::string</a> based upon <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a>. +<p> + +<p> +Definition at line <a class="el" href="hashcomp_8h-source.html#l00111">111</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html new file mode 100644 index 000000000..455fb3f7c --- /dev/null +++ b/docs/module-doc/namespacemembers.html @@ -0,0 +1,19 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Namespace Member Index</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindexHL" href="namespacemembers.html">All</a> | <a class="qindex" href="namespacemembers_type.html">Typedefs</a></div> + +<p> +Here is a list of all namespace members with links to the namespace documentation for each member:<ul> +<li>string +: <a class="el" href="namespaceirc.html#a0">irc</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html new file mode 100644 index 000000000..c7b742c84 --- /dev/null +++ b/docs/module-doc/namespacemembers_type.html @@ -0,0 +1,19 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Namespace Member Index</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindexHL" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="namespacemembers.html">All</a> | <a class="qindexHL" href="namespacemembers_type.html">Typedefs</a></div> + +<p> +<ul> +<li>string +: <a class="el" href="namespaceirc.html#a0">irc</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index 7a733dbb4..3106c8370 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>nspace Namespace Reference</h1> <p> <table border=0 cellpadding=0 cellspacing=0> @@ -15,7 +15,7 @@ <tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace.hash< string ></a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index ad50a7a14..3083039d3 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -4,12 +4,13 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindexHL" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindexHL" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InspIRCd Namespace List</h1>Here is a list of all namespaces with brief descriptions:<table> + <tr><td class="indexkey"><a class="el" href="namespaceirc.html">irc</a></td><td class="indexvalue">The irc namespace contains a number of helper classes </td></tr> <tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 7b2a1dced..877b08682 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -4,13 +4,13 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>std Namespace Reference</h1> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index f77ed551a..d3ece0aa5 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>servers.cpp</h1><a href="servers_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -27,43 +27,44 @@ 00020 <span class="preprocessor">#include <stdio.h></span> 00021 <span class="preprocessor">#include <map></span> 00022 <span class="preprocessor">#include "inspstring.h"</span> -00023 -<a name="l00024"></a><a class="code" href="servers_8cpp.html#a0">00024</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00025 -<a name="l00026"></a><a class="code" href="classserverrec.html#a0">00026</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() -00027 { -00028 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256); -00029 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; -00030 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00031 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; -00032 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00033 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00034 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; -00035 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00036 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00037 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); -00038 } -00039 -00040 -<a name="l00041"></a><a class="code" href="classserverrec.html#a2">00041</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() -00042 { -00043 } -00044 -<a name="l00045"></a><a class="code" href="classserverrec.html#a1">00045</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe) -00046 { -00047 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256); -00048 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00049 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; -00050 <a class="code" href="classserverrec.html#o6">version</a> = ver; -00051 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; -00052 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00053 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; -00054 <a class="code" href="classconnection.html#o0">fd</a> = 0; -00055 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; -00056 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); -00057 } -00058 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +00023 <span class="preprocessor">#include "helperfuncs.h"</span> +00024 +<a name="l00025"></a><a class="code" href="servers_8cpp.html#a0">00025</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00026 +<a name="l00027"></a><a class="code" href="classserverrec.html#a0">00027</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>() +00028 { +00029 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256); +00030 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0; +00031 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00032 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0; +00033 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; +00034 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00035 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>; +00036 <a class="code" href="classconnection.html#o0">fd</a> = 0; +00037 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; +00038 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); +00039 } +00040 +00041 +<a name="l00042"></a><a class="code" href="classserverrec.html#a2">00042</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>() +00043 { +00044 } +00045 +<a name="l00046"></a><a class="code" href="classserverrec.html#a1">00046</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe) +00047 { +00048 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256); +00049 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00050 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0; +00051 <a class="code" href="classserverrec.html#o6">version</a> = ver; +00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1; +00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe; +00055 <a class="code" href="classconnection.html#o0">fd</a> = 0; +00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>; +00057 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX); +00058 } +00059 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 7e3ea1822..5c49966dd 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -4,13 +4,14 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>servers.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="servers_8h-source.html">servers.h</a>"</code><br> <code>#include "inspircd.h"</code><br> <code>#include <stdio.h></code><br> <code>#include <map></code><br> <code>#include "inspstring.h"</code><br> +<code>#include "helperfuncs.h"</code><br> <p> Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl.gif" border="0" usemap="#servers.cpp_map" alt="Include dependency graph"></center> @@ -47,10 +48,10 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl <p> <p> -Definition at line <a class="el" href="servers_8cpp-source.html#l00024">24</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td> +Definition at line <a class="el" href="servers_8cpp-source.html#l00025">25</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:45 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8cpp__incl.gif b/docs/module-doc/servers_8cpp__incl.gif Binary files differindex 035914c55..6158892d6 100644 --- a/docs/module-doc/servers_8cpp__incl.gif +++ b/docs/module-doc/servers_8cpp__incl.gif diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index e27f582cc..d5780b3e0 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>servers.h</h1><a href="servers_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -61,7 +61,7 @@ 00082 00083 <span class="preprocessor">#endif</span> 00084 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index cc8c8ea62..1ad696e14 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>servers.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br> <code>#include <string></code><br> @@ -86,7 +86,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:13 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:47 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html index 3a68f92cc..ccb39f559 100644 --- a/docs/module-doc/structInAddr__HashComp-members.html +++ b/docs/module-doc/structInAddr__HashComp-members.html @@ -4,10 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="structInAddr__HashComp.html#a0">operator()</a>(const in_addr &s1, const in_addr &s2) const</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:40 2005 for InspIRCd by + <tr class="memlist"><td><a class="el" href="structInAddr__HashComp.html#a0">operator()</a>(const in_addr &s1, const in_addr &s2) const</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:29 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index 8e0f35bb7..4aebb1d97 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -4,14 +4,27 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<h1>InAddr_HashComp Struct Reference</h1><a href="structInAddr__HashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>InAddr_HashComp Struct Reference</h1>This class returns true if two in_addr structs match. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>></code> +<p> +<a href="structInAddr__HashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structInAddr__HashComp.html#a0">operator()</a> (const in_addr &s1, const in_addr &s2) const</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">The operator () does the actual comparison in hash_map. </em> <a href="#a0"></a><em><br><br></td></tr> </table> -<hr><h2>Member Function Documentation</h2> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class returns true if two in_addr structs match. +<p> +Checking is done by copying both into a size_t then doing a numeric comparison of the two. +<p> + +<p> +Definition at line <a class="el" href="hashcomp_8h-source.html#l00071">71</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>.<hr><h2>Member Function Documentation</h2> <a name="a0" doxytag="InAddr_HashComp::operator()"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -32,7 +45,7 @@ <tr> <td></td> <td class="md">) </td> - <td class="md" colspan="2"> const<code> [inline]</code></td> + <td class="md" colspan="2"> const</td> </tr> </table> @@ -47,25 +60,14 @@ <td> <p> - -<p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00171">171</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +The operator () does the actual comparison in hash_map. <p> -<div class="fragment"><pre>00172 { -00173 size_t q; -00174 size_t p; -00175 -00176 memcpy(&q,&s1,<span class="keyword">sizeof</span>(size_t)); -00177 memcpy(&p,&s2,<span class="keyword">sizeof</span>(size_t)); -00178 -00179 <span class="keywordflow">return</span> (q == p); -00180 } -</pre></div> </td> + </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> -<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:40 2005 for InspIRCd by +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:29 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html index 7e1c81f5c..98853fc0d 100644 --- a/docs/module-doc/structStrHashComp-members.html +++ b/docs/module-doc/structStrHashComp-members.html @@ -4,10 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structStrHashComp.html">StrHashComp</a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="structStrHashComp.html#a0">operator()</a>(const string &s1, const string &s2) const</td><td><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:57 2005 for InspIRCd by + <tr class="memlist"><td><a class="el" href="structStrHashComp.html#a0">operator()</a>(const string &s1, const string &s2) const</td><td><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:46 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structStrHashComp.html b/docs/module-doc/structStrHashComp.html index 9c06b5618..23f3e82ef 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -4,14 +4,27 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<h1>StrHashComp Struct Reference</h1><a href="structStrHashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>StrHashComp Struct Reference</h1>This class returns true if two strings match. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>></code> +<p> +<a href="structStrHashComp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structStrHashComp.html#a0">operator()</a> (const string &s1, const string &s2) const</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">The operator () does the actual comparison in hash_map. </em> <a href="#a0"></a><em><br><br></td></tr> </table> -<hr><h2>Member Function Documentation</h2> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class returns true if two strings match. +<p> +Case sensitivity is ignored, and the RFC 'character set' is adhered to +<p> + +<p> +Definition at line <a class="el" href="hashcomp_8h-source.html#l00060">60</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>.<hr><h2>Member Function Documentation</h2> <a name="a0" doxytag="StrHashComp::operator()"></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> @@ -32,7 +45,7 @@ <tr> <td></td> <td class="md">) </td> - <td class="md" colspan="2"> const<code> [inline]</code></td> + <td class="md" colspan="2"> const</td> </tr> </table> @@ -47,24 +60,14 @@ <td> <p> - -<p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00156">156</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +The operator () does the actual comparison in hash_map. <p> -<div class="fragment"><pre>00157 { -00158 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF]; -00159 strlcpy(a,s1.c_str(),MAXBUF); -00160 strlcpy(b,s2.c_str(),MAXBUF); -00161 strlower(a); -00162 strlower(b); -00163 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0); -00164 } -</pre></div> </td> + </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> -<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:57 2005 for InspIRCd by +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:46 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index b6bdbb8eb..27dc1e726 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -4,11 +4,11 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o0">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o1">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:31 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:19 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index 17168b2ec..c3001ad65 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>dns_ip4list Struct Reference</h1><code>#include <<a class="el" href="dns_8h-source.html">dns.h</a>></code> <p> Collaboration diagram for dns_ip4list:<p><center><img src="structdns__ip4list__coll__graph.gif" border="0" usemap="#dns__ip4list__coll__map" alt="Collaboration graph"></center> @@ -67,7 +67,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="dns_8h-source.html">dns.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:31 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:19 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html new file mode 100644 index 000000000..6d05351be --- /dev/null +++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html @@ -0,0 +1,19 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Member List</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>irc::irc_char_traits Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a>, including all inherited members.<table> + <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e3">compare</a>(const char *str1, const char *str2, size_t n)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e0">eq</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e4">find</a>(const char *s1, int n, char c)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e2">lt</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> + <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e1">ne</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html new file mode 100644 index 000000000..6953a5bdd --- /dev/null +++ b/docs/module-doc/structirc_1_1irc__char__traits.html @@ -0,0 +1,267 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: irc::irc_char_traits struct Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.3 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>irc::irc_char_traits Struct Reference</h1>The <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> class is used for RFC-style comparison of strings. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>></code> +<p> +Inheritance diagram for irc::irc_char_traits:<p><center><img src="structirc_1_1irc__char__traits__inherit__graph.gif" border="0" usemap="#irc_1_1irc__char__traits__inherit__map" alt="Inheritance graph"></center> +<map name="irc_1_1irc__char__traits__inherit__map"> +<area href="classstd_1_1char__traits.html" shape="rect" coords="8,7,160,34" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for irc::irc_char_traits:<p><center><img src="structirc_1_1irc__char__traits__coll__graph.gif" border="0" usemap="#irc_1_1irc__char__traits__coll__map" alt="Collaboration graph"></center> +<map name="irc_1_1irc__char__traits__coll__map"> +<area href="classstd_1_1char__traits.html" shape="rect" coords="8,7,160,34" alt=""> +</map> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="structirc_1_1irc__char__traits-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html#e0">eq</a> (char c1st, char c2nd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if two chars match. </em> <a href="#e0"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html#e1">ne</a> (char c1st, char c2nd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if two chars do NOT match. </em> <a href="#e1"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html#e2">lt</a> (char c1st, char c2nd)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if one char is less than another. </em> <a href="#e2"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html#e3">compare</a> (const char *str1, const char *str2, size_t n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Compare two strings of size n. </em> <a href="#e3"></a><em><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="structirc_1_1irc__char__traits.html#e4">find</a> (const char *s1, int n, char c)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a char within a string up to position n. </em> <a href="#e4"></a><em><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The <a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> class is used for RFC-style comparison of strings. +<p> +This class is used to implement <a class="el" href="namespaceirc.html#a0">irc::string</a>, a case-insensitive, RFC- comparing string class. +<p> + +<p> +Definition at line <a class="el" href="hashcomp_8h-source.html#l00086">86</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>.<hr><h2>Member Function Documentation</h2> +<a name="e3" doxytag="irc::irc_char_traits::compare"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int irc::irc_char_traits::compare </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>str1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>str2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>size_t </td> + <td class="mdname" nowrap> <em>n</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compare two strings of size n. +<p> + </td> + </tr> +</table> +<a name="e0" doxytag="irc::irc_char_traits::eq"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool irc::irc_char_traits::eq </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c1st</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>c2nd</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check if two chars match. +<p> + </td> + </tr> +</table> +<a name="e4" doxytag="irc::irc_char_traits::find"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* irc::irc_char_traits::find </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>s1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>n</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>c</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Find a char within a string up to position n. +<p> + </td> + </tr> +</table> +<a name="e2" doxytag="irc::irc_char_traits::lt"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool irc::irc_char_traits::lt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c1st</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>c2nd</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check if one char is less than another. +<p> + </td> + </tr> +</table> +<a name="e1" doxytag="irc::irc_char_traits::ne"></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool irc::irc_char_traits::ne </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c1st</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>char </td> + <td class="mdname" nowrap> <em>c2nd</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check if two chars do NOT match. +<p> + </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.3 </small></address> +</body> +</html> diff --git a/docs/module-doc/structirc_1_1irc__char__traits__coll__graph.gif b/docs/module-doc/structirc_1_1irc__char__traits__coll__graph.gif Binary files differnew file mode 100644 index 000000000..514f37993 --- /dev/null +++ b/docs/module-doc/structirc_1_1irc__char__traits__coll__graph.gif diff --git a/docs/module-doc/structirc_1_1irc__char__traits__inherit__graph.gif b/docs/module-doc/structirc_1_1irc__char__traits__inherit__graph.gif Binary files differnew file mode 100644 index 000000000..514f37993 --- /dev/null +++ b/docs/module-doc/structirc_1_1irc__char__traits__inherit__graph.gif 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 03b899b26..ef8948706 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 @@ -4,10 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>nspace::hash< in_addr > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by + <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> 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 8e0f5ea66..6326e91b6 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 @@ -4,8 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<h1>nspace::hash< in_addr > Struct Template Reference</h1><a href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>nspace::hash< in_addr > Struct Template Reference</h1><code>#include <<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>></code> +<p> +<a href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a> (const struct in_addr &a) const</td></tr> @@ -26,7 +28,7 @@ <td class="md" nowrap valign="top">const struct in_addr & </td> <td class="mdname1" valign="top" nowrap> <em>a</em> </td> <td class="md" valign="top"> ) </td> - <td class="md" nowrap> const<code> [inline]</code></td> + <td class="md" nowrap> const</td> </tr> </table> @@ -41,21 +43,12 @@ <td> <p> - -<p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00130 { -00131 size_t q; -00132 memcpy(&q,&a,<span class="keyword">sizeof</span>(size_t)); -00133 <span class="keywordflow">return</span> q; -00134 } -</pre></div> </td> + </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> -<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:56 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> 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 78dc1f303..895c45869 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 @@ -4,10 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>nspace::hash< string > Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a>, including all inherited members.<table> - <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td><code> [inline]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by + <tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> 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 ba45c743c..daa13eb4a 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 @@ -4,8 +4,10 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<h1>nspace::hash< string > Struct Template Reference</h1><a href="structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>nspace::hash< string > Struct Template Reference</h1><code>#include <<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>></code> +<p> +<a href="structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a> (const string &s) const</td></tr> @@ -26,7 +28,7 @@ <td class="md" nowrap valign="top">const string & </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top"> ) </td> - <td class="md" nowrap> const<code> [inline]</code></td> + <td class="md" nowrap> const</td> </tr> </table> @@ -41,23 +43,12 @@ <td> <p> - -<p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -<div class="fragment"><pre>00143 { -00144 <span class="keywordtype">char</span> a[MAXBUF]; -00145 <span class="keyword">static</span> <span class="keyword">struct </span>hash<const char *> strhash; -00146 strlcpy(a,s.c_str(),MAXBUF); -00147 strlower(a); -00148 <span class="keywordflow">return</span> strhash(a); -00149 } -</pre></div> </td> + </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> -<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:50:10 2005 for InspIRCd by +<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:03:57 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index 74bb23f49..000e9bac7 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -120,6 +120,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="connection_8h.html" target="basefrm">connection.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="ctables_8h.html" target="basefrm">ctables.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="dns_8h.html" target="basefrm">dns.h</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="hashcomp_8h.html" target="basefrm">hashcomp.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="message_8h.html" target="basefrm">message.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="mode_8h.html" target="basefrm">mode.h</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="modules_8cpp.html" target="basefrm">modules.cpp</a></p> @@ -135,6 +136,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAdmin.html" target="basefrm">Admin</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBanItem.html" target="basefrm">BanItem</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classchanrec.html" target="basefrm">chanrec</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classstd_1_1char__traits.html" target="basefrm">char_traits</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classcommand__t.html" target="basefrm">command_t</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classConfigReader.html" target="basefrm">ConfigReader</a></p> @@ -153,6 +155,7 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structInAddr__HashComp.html" target="basefrm">InAddr_HashComp</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classInvited.html" target="basefrm">Invited</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classInviteItem.html" target="basefrm">InviteItem</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1irc__char__traits.html" target="basefrm">irc::irc_char_traits</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classircd__connector.html" target="basefrm">ircd_connector</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classKLine.html" target="basefrm">KLine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classModeParameter.html" target="basefrm">ModeParameter</a></p> @@ -175,17 +178,21 @@ </div> <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder3', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p> <div id="folder3"> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="classstd_1_1char__traits.html" target="basefrm">char_traits</a></p> <div id="folder4"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1irc__char__traits.html" target="basefrm">irc::irc_char_traits</a></p> + </div> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder5', this)"/><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p> + <div id="folder5"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAdmin.html" target="basefrm">Admin</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classConfigReader.html" target="basefrm">ConfigReader</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classConnectClass.html" target="basefrm">ConnectClass</a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder5', this)"/><a class="el" href="classExtensible.html" target="basefrm">Extensible</a></p> - <div id="folder5"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder6', this)"/><a class="el" href="classExtensible.html" target="basefrm">Extensible</a></p> + <div id="folder6"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classchanrec.html" target="basefrm">chanrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classcommand__t.html" target="basefrm">command_t</a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder6', this)"/><a class="el" href="classconnection.html" target="basefrm">connection</a></p> - <div id="folder6"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder7', this)"/><a class="el" href="classconnection.html" target="basefrm">connection</a></p> + <div id="folder7"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classserverrec.html" target="basefrm">serverrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classuserrec.html" target="basefrm">userrec</a></p> </div> @@ -193,8 +200,8 @@ </div> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classExtMode.html" target="basefrm">ExtMode</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classFileReader.html" target="basefrm">FileReader</a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder7', this)"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> - <div id="folder7"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder8', this)"/><a class="el" href="classHostItem.html" target="basefrm">HostItem</a></p> + <div id="folder8"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBanItem.html" target="basefrm">BanItem</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classExemptItem.html" target="basefrm">ExemptItem</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classInviteItem.html" target="basefrm">InviteItem</a></p> @@ -203,16 +210,16 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classModeParameter.html" target="basefrm">ModeParameter</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classModule.html" target="basefrm">Module</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classModuleFactory.html" target="basefrm">ModuleFactory</a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder8', this)"/><a class="el" href="classModuleMessage.html" target="basefrm">ModuleMessage</a></p> - <div id="folder8"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder9', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder9', this)"/><a class="el" href="classModuleMessage.html" target="basefrm">ModuleMessage</a></p> + <div id="folder9"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classEvent.html" target="basefrm">Event</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classRequest.html" target="basefrm">Request</a></p> </div> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classServer.html" target="basefrm">Server</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classucrec.html" target="basefrm">ucrec</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classVersion.html" target="basefrm">Version</a></p> - <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder9', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder9', this)"/><a class="el" href="classXLine.html" target="basefrm">XLine</a></p> - <div id="folder9"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder10', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder10', this)"/><a class="el" href="classXLine.html" target="basefrm">XLine</a></p> + <div id="folder10"> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classELine.html" target="basefrm">ELine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classGLine.html" target="basefrm">GLine</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classKLine.html" target="basefrm">KLine</a></p> @@ -229,12 +236,14 @@ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classWhoWasUser.html" target="basefrm">WhoWasUser</a></p> </div> <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="functions.html" target="basefrm">Compound Members</a></p> - <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder10', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder10', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> - <div id="folder10"> + <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder11', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder11', this)"/><a class="el" href="namespaces.html" target="basefrm">Namespace List</a></p> + <div id="folder11"> + <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespaceirc.html" target="basefrm">irc</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacenspace.html" target="basefrm">nspace</a></p> <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacestd.html" target="basefrm">std</a></p> </div> <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="globals.html" target="basefrm">File Members</a></p> + <p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="namespacemembers.html" target="basefrm">Namespace Members</a></p> <p><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="inherits.html" target="basefrm">Graphical Class Hierarchy</a></p> </div> </div> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index b1258eb0a..4e2e35443 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>users.cpp</h1><a href="users_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -27,259 +27,265 @@ 00020 <span class="preprocessor">#include "inspircd.h"</span> 00021 <span class="preprocessor">#include <stdio.h></span> 00022 <span class="preprocessor">#include "inspstring.h"</span> -00023 -<a name="l00024"></a><a class="code" href="users_8cpp.html#a0">00024</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; -00025 -<a name="l00026"></a><a class="code" href="users_8cpp.html#a1">00026</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00027 -<a name="l00028"></a><a class="code" href="classuserrec.html#a0">00028</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>() -00029 { -00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> -00031 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>); -00032 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>); -00033 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; -00034 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>); -00035 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>); -00036 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>); -00037 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>); -00038 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>); -00039 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>); -00040 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>); -00041 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>); -00042 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; -00043 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; -00044 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; -00045 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; -00046 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; -00047 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; -00048 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00049 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; -00050 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); -00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) -00052 { -00053 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; -00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; -00055 } -00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); -00057 } -00058 +00023 <span class="preprocessor">#include "helperfuncs.h"</span> +00024 +<a name="l00025"></a><a class="code" href="users_8cpp.html#a0">00025</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a34">config_f</a>; +00026 +<a name="l00027"></a><a class="code" href="users_8cpp.html#a1">00027</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00028 +<a name="l00029"></a><a class="code" href="classuserrec.html#a0">00029</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>() +00030 { +00031 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> +00032 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>); +00033 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>); +00034 <a class="code" href="classuserrec.html#o10">timeout</a> = 0; +00035 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>); +00036 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>); +00037 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>); +00038 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>); +00039 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>); +00040 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>); +00041 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>); +00042 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>); +00043 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>; +00044 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0; +00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0; +00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0; +00047 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>; +00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>; +00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00050 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>; +00051 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>); +00052 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < MAXCHANS; i++) +00053 { +00054 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL; +00055 this-><a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0; +00056 } +00057 <a class="code" href="classuserrec.html#r0">invites</a>.clear(); +00058 } 00059 -00060 -<a name="l00061"></a><a class="code" href="classuserrec.html#a2">00061</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() -00062 { -00063 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>); -00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00065 } -00066 +00060 +00061 +<a name="l00062"></a><a class="code" href="classuserrec.html#a2">00062</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>() +00063 { +00064 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>); +00065 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00066 } 00067 -<a name="l00068"></a><a class="code" href="classuserrec.html#a3">00068</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() -00069 { -00070 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>); -00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; -00072 } -00073 -<a name="l00074"></a><a class="code" href="classuserrec.html#a4">00074</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) -00075 { -00076 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00077 { -00078 <span class="keywordflow">if</span> (i->channel) { -00079 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00080 { -00081 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00082 } -00083 } -00084 } -00085 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00086 } -00087 -<a name="l00088"></a><a class="code" href="classuserrec.html#a5">00088</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) -00089 { -00090 <a class="code" href="classInvited.html">Invited</a> i; -00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); -00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); -00093 } -00094 -<a name="l00095"></a><a class="code" href="classuserrec.html#a6">00095</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) -00096 { -00097 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); -00098 <span class="keywordflow">if</span> (channel) -00099 { -00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) -00101 { -00102 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) -00103 { -00104 <span class="keywordflow">if</span> (i->channel) -00105 { -00106 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) -00107 { -00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); -00109 <span class="keywordflow">return</span>; -00110 } -00111 } -00112 } -00113 } -00114 } -00115 } -00116 -<a name="l00117"></a><a class="code" href="classuserrec.html#a7">00117</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) -00118 { -00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; -00120 <span class="keywordtype">char</span>* mycmd; -00121 <span class="keywordtype">char</span>* savept; -00122 <span class="keywordtype">char</span>* savept2; -00123 -00124 <span class="comment">// are they even an oper at all?</span> -00125 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) -00126 { -00127 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); -00128 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); j++) -00129 { -00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) -00132 { -00133 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); -00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); -00136 <span class="keywordflow">while</span> (myclass) -00137 { -00138 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); -00139 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); k++) -00140 { -00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) -00143 { -00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); -00145 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); -00146 -00147 -00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); -00149 <span class="keywordflow">while</span> (mycmd) -00150 { -00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) -00152 { -00153 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); -00154 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00155 } -00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); -00157 } -00158 } -00159 } -00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); -00161 } -00162 } -00163 } -00164 } -00165 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00166 } -00167 -00168 -<a name="l00169"></a><a class="code" href="classuserrec.html#a8">00169</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">userrec::AddBuffer</a>(std::string a) -00170 { -00171 std::string b = <span class="stringliteral">""</span>; -00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) -00173 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) -00174 b = b + a[i]; -00175 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>); -00176 stream << b; -00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); -00178 <span class="keywordtype">int</span> i = 0; -00179 <span class="comment">// count the size of the first line in the buffer.</span> -00180 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) -00181 { -00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) -00183 <span class="keywordflow">break</span>; -00184 } -00185 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) -00186 { -00187 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -00188 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); -00189 } -00190 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> -00191 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> -00192 <span class="keywordflow">return</span> (i < 600); -00193 } -00194 -<a name="l00195"></a><a class="code" href="classuserrec.html#a9">00195</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::BufferIsReady</a>() -00196 { -00197 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) -00198 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) -00199 <span class="keywordflow">return</span> <span class="keyword">true</span>; -00200 <span class="keywordflow">return</span> <span class="keyword">false</span>; -00201 } -00202 -<a name="l00203"></a><a class="code" href="classuserrec.html#a10">00203</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">userrec::ClearBuffer</a>() -00204 { -00205 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; -00206 } -00207 -<a name="l00208"></a><a class="code" href="classuserrec.html#a11">00208</a> std::string <a class="code" href="classuserrec.html#a11">userrec::GetBuffer</a>() -00209 { -00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) -00211 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -00212 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); -00213 std::string ret = <span class="stringliteral">""</span>; -00214 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) -00215 { -00216 ret = ret + *line; -00217 line++; -00218 } -00219 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) -00220 line++; -00221 <a class="code" href="classuserrec.html#o15">recvq</a> = line; -00222 <span class="keywordflow">return</span> ret; -00223 } -00224 -<a name="l00225"></a><a class="code" href="classuserrec.html#a14">00225</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a14">userrec::AddWriteBuf</a>(std::string data) -00226 { -00227 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) -00228 <span class="keywordflow">return</span>; -00229 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) -00230 { -00231 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); -00232 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); -00233 <span class="keywordflow">return</span>; -00234 } -00235 std::stringstream stream; -00236 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; -00237 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); -00238 } -00239 -00240 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span> -<a name="l00241"></a><a class="code" href="classuserrec.html#a15">00241</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::FlushWriteBuf</a>() -00242 { -00243 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) -00244 { -00245 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); -00246 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); -00247 <span class="keywordflow">if</span> (n_sent == -1) -00248 { -00249 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); -00250 } -00251 <span class="keywordflow">else</span> -00252 { -00253 <span class="comment">// advance the queue</span> -00254 tb += n_sent; -00255 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; -00256 <span class="comment">// update the user's stats counters</span> -00257 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; -00258 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; -00259 } -00260 } -00261 } -00262 -<a name="l00263"></a><a class="code" href="classuserrec.html#a12">00263</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a12">userrec::SetWriteError</a>(std::string error) -00264 { -00265 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); -00266 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> -00267 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) -00268 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; -00269 } -00270 -<a name="l00271"></a><a class="code" href="classuserrec.html#a13">00271</a> std::string <a class="code" href="classuserrec.html#a13">userrec::GetWriteError</a>() -00272 { -00273 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; -00274 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +00068 +<a name="l00069"></a><a class="code" href="classuserrec.html#a3">00069</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>() +00070 { +00071 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>); +00072 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>; +00073 } +00074 +<a name="l00075"></a><a class="code" href="classuserrec.html#a4">00075</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel) +00076 { +00077 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00078 { +00079 <span class="keywordflow">if</span> (i->channel) { +00080 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00081 { +00082 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00083 } +00084 } +00085 } +00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00087 } +00088 +<a name="l00089"></a><a class="code" href="classuserrec.html#a16">00089</a> <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a16">userrec::GetInviteList</a>() +00090 { +00091 <span class="keywordflow">return</span> &<a class="code" href="classuserrec.html#r0">invites</a>; +00092 } +00093 +<a name="l00094"></a><a class="code" href="classuserrec.html#a5">00094</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel) +00095 { +00096 <a class="code" href="classInvited.html">Invited</a> i; +00097 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX); +00098 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i); +00099 } +00100 +<a name="l00101"></a><a class="code" href="classuserrec.html#a6">00101</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) +00102 { +00103 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); +00104 <span class="keywordflow">if</span> (channel) +00105 { +00106 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size()) +00107 { +00108 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++) +00109 { +00110 <span class="keywordflow">if</span> (i->channel) +00111 { +00112 <span class="keywordflow">if</span> (!strcasecmp(i->channel,channel)) +00113 { +00114 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i); +00115 <span class="keywordflow">return</span>; +00116 } +00117 } +00118 } +00119 } +00120 } +00121 } +00122 +<a name="l00123"></a><a class="code" href="classuserrec.html#a7">00123</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command) +00124 { +00125 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF]; +00126 <span class="keywordtype">char</span>* mycmd; +00127 <span class="keywordtype">char</span>* savept; +00128 <span class="keywordtype">char</span>* savept2; +00129 +00130 <span class="comment">// are they even an oper at all?</span> +00131 <span class="keywordflow">if</span> (strchr(this->modes,<span class="charliteral">'o'</span>)) +00132 { +00133 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this->nick); +00134 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j < ConfValueEnum(<span class="stringliteral">"type"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); j++) +00135 { +00136 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00137 <span class="keywordflow">if</span> (!strcmp(TypeName,this->oper)) +00138 { +00139 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this->nick,this->oper); +00140 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00141 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&savept); +00142 <span class="keywordflow">while</span> (myclass) +00143 { +00144 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass); +00145 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k < ConfValueEnum(<span class="stringliteral">"class"</span>,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); k++) +00146 { +00147 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00148 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass)) +00149 { +00150 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&<a class="code" href="channels_8cpp.html#a34">config_f</a>); +00151 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList); +00152 +00153 +00154 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&savept2); +00155 <span class="keywordflow">while</span> (mycmd) +00156 { +00157 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command)) +00158 { +00159 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command); +00160 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00161 } +00162 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept2); +00163 } +00164 } +00165 } +00166 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&savept); +00167 } +00168 } +00169 } +00170 } +00171 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00172 } +00173 +00174 +<a name="l00175"></a><a class="code" href="classuserrec.html#a8">00175</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">userrec::AddBuffer</a>(std::string a) +00176 { +00177 std::string b = <span class="stringliteral">""</span>; +00178 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < a.length(); i++) +00179 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) +00180 b = b + a[i]; +00181 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>); +00182 stream << b; +00183 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str(); +00184 <span class="keywordtype">int</span> i = 0; +00185 <span class="comment">// count the size of the first line in the buffer.</span> +00186 <span class="keywordflow">while</span> (i < <a class="code" href="classuserrec.html#o15">recvq</a>.length()) +00187 { +00188 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>) +00189 <span class="keywordflow">break</span>; +00190 } +00191 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() > this-><a class="code" href="classuserrec.html#o22">recvqmax</a>) +00192 { +00193 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); +00194 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-><a class="code" href="classuserrec.html#o22">recvqmax</a>); +00195 } +00196 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> +00197 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> +00198 <span class="keywordflow">return</span> (i < 600); +00199 } +00200 +<a name="l00201"></a><a class="code" href="classuserrec.html#a9">00201</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::BufferIsReady</a>() +00202 { +00203 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++) +00204 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>) +00205 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00206 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00207 } +00208 +<a name="l00209"></a><a class="code" href="classuserrec.html#a10">00209</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">userrec::ClearBuffer</a>() +00210 { +00211 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>; +00212 } +00213 +<a name="l00214"></a><a class="code" href="classuserrec.html#a11">00214</a> std::string <a class="code" href="classuserrec.html#a11">userrec::GetBuffer</a>() +00215 { +00216 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>) +00217 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00218 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str(); +00219 std::string ret = <span class="stringliteral">""</span>; +00220 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) && (strlen(line))) +00221 { +00222 ret = ret + *line; +00223 line++; +00224 } +00225 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>)) +00226 line++; +00227 <a class="code" href="classuserrec.html#o15">recvq</a> = line; +00228 <span class="keywordflow">return</span> ret; +00229 } +00230 +<a name="l00231"></a><a class="code" href="classuserrec.html#a14">00231</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a14">userrec::AddWriteBuf</a>(std::string data) +00232 { +00233 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#a13">GetWriteError</a>() != <span class="stringliteral">""</span>) +00234 <span class="keywordflow">return</span>; +00235 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() > this-><a class="code" href="classuserrec.html#o21">sendqmax</a>) +00236 { +00237 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#o21">sendqmax</a>); +00238 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); +00239 <span class="keywordflow">return</span>; +00240 } +00241 std::stringstream stream; +00242 stream << <a class="code" href="classuserrec.html#o16">sendq</a> << data; +00243 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str(); +00244 } +00245 +00246 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span> +<a name="l00247"></a><a class="code" href="classuserrec.html#a15">00247</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::FlushWriteBuf</a>() +00248 { +00249 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length()) +00250 { +00251 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-><a class="code" href="classuserrec.html#o16">sendq</a>.c_str(); +00252 <span class="keywordtype">int</span> n_sent = write(this->fd,tb,this->sendq.length()); +00253 <span class="keywordflow">if</span> (n_sent == -1) +00254 { +00255 this-><a class="code" href="classuserrec.html#a12">SetWriteError</a>(strerror(errno)); +00256 } +00257 <span class="keywordflow">else</span> +00258 { +00259 <span class="comment">// advance the queue</span> +00260 tb += n_sent; +00261 this-><a class="code" href="classuserrec.html#o16">sendq</a> = tb; +00262 <span class="comment">// update the user's stats counters</span> +00263 this-><a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent; +00264 this-><a class="code" href="classconnection.html#o6">cmds_out</a>++; +00265 } +00266 } +00267 } +00268 +<a name="l00269"></a><a class="code" href="classuserrec.html#a12">00269</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a12">userrec::SetWriteError</a>(std::string error) +00270 { +00271 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +00272 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> +00273 <span class="keywordflow">if</span> (this-><a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>) +00274 this-><a class="code" href="classuserrec.html#o20">WriteError</a> = error; +00275 } +00276 +<a name="l00277"></a><a class="code" href="classuserrec.html#a13">00277</a> std::string <a class="code" href="classuserrec.html#a13">userrec::GetWriteError</a>() +00278 { +00279 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#o20">WriteError</a>; +00280 } +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 1fcfca347..8a30d8f8f 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -4,13 +4,14 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>users.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> <code>#include "inspircd.h"</code><br> <code>#include <stdio.h></code><br> <code>#include "inspstring.h"</code><br> +<code>#include "helperfuncs.h"</code><br> <p> Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif" border="0" usemap="#users.cpp_map" alt="Include dependency graph"></center> @@ -50,7 +51,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00024">24</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> +Definition at line <a class="el" href="users_8cpp-source.html#l00025">25</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> </tr> </table> <a name="a1" doxytag="users.cpp::TIME"></a><p> @@ -74,10 +75,10 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00024">24</a> of <p> <p> -Definition at line <a class="el" href="users_8cpp-source.html#l00026">26</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> +Definition at line <a class="el" href="users_8cpp-source.html#l00027">27</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:14 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:49 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8cpp__incl.gif b/docs/module-doc/users_8cpp__incl.gif Binary files differindex 4203b57eb..97c4fd610 100644 --- a/docs/module-doc/users_8cpp__incl.gif +++ b/docs/module-doc/users_8cpp__incl.gif diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index a07350688..b42643395 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>users.h</h1><a href="users_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -165,22 +165,23 @@ 00302 00309 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">FlushWriteBuf</a>(); 00310 -00311 }; -00312 -<a name="l00315"></a><a class="code" href="classWhoWasUser.html">00315</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a> -00316 { -00317 <span class="keyword">public</span>: -<a name="l00318"></a><a class="code" href="classWhoWasUser.html#o0">00318</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o0">nick</a>[NICKMAX]; -<a name="l00319"></a><a class="code" href="classWhoWasUser.html#o1">00319</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o1">ident</a>[16]; -<a name="l00320"></a><a class="code" href="classWhoWasUser.html#o2">00320</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o2">dhost</a>[160]; -<a name="l00321"></a><a class="code" href="classWhoWasUser.html#o3">00321</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o3">host</a>[160]; -<a name="l00322"></a><a class="code" href="classWhoWasUser.html#o4">00322</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o4">fullname</a>[128]; -<a name="l00323"></a><a class="code" href="classWhoWasUser.html#o5">00323</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o5">server</a>[256]; -<a name="l00324"></a><a class="code" href="classWhoWasUser.html#o6">00324</a> time_t <a class="code" href="classWhoWasUser.html#o6">signon</a>; -00325 }; -00326 -00327 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +00313 <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a16">GetInviteList</a>(); +00314 }; +00315 +<a name="l00318"></a><a class="code" href="classWhoWasUser.html">00318</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a> +00319 { +00320 <span class="keyword">public</span>: +<a name="l00321"></a><a class="code" href="classWhoWasUser.html#o0">00321</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o0">nick</a>[NICKMAX]; +<a name="l00322"></a><a class="code" href="classWhoWasUser.html#o1">00322</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o1">ident</a>[16]; +<a name="l00323"></a><a class="code" href="classWhoWasUser.html#o2">00323</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o2">dhost</a>[160]; +<a name="l00324"></a><a class="code" href="classWhoWasUser.html#o3">00324</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o3">host</a>[160]; +<a name="l00325"></a><a class="code" href="classWhoWasUser.html#o4">00325</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o4">fullname</a>[128]; +<a name="l00326"></a><a class="code" href="classWhoWasUser.html#o5">00326</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o5">server</a>[256]; +<a name="l00327"></a><a class="code" href="classWhoWasUser.html#o6">00327</a> time_t <a class="code" href="classWhoWasUser.html#o6">signon</a>; +00328 }; +00329 +00330 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 2770d9134..7dbbb6bb4 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>users.h File Reference</h1><code>#include "inspircd_config.h"</code><br> <code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> <code>#include "<a class="el" href="connection_8h-source.html">connection.h</a>"</code><br> @@ -262,10 +262,12 @@ Holds a complete list of all channels to which a user has been invited and has n <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00094">94</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> +Definition at line <a class="el" href="users_8h-source.html#l00094">94</a> of file <a class="el" href="users_8h-source.html">users.h</a>. +<p> +Referenced by <a class="el" href="users_8cpp-source.html#l00089">userrec::GetInviteList()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:16 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:52 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index d5bcc75f0..66d7e8b30 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>xline.h</h1><a href="xline_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* +------------------------------------+</span> 00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> 00003 <span class="comment"> * +------------------------------------+</span> @@ -123,7 +123,7 @@ 00157 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a28">sync_xlines</a>(<a class="code" href="classserverrec.html">serverrec</a>* serv, <span class="keywordtype">char</span>* tcp_host); 00158 00159 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:48:42 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:06 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index e8ca32b26..82b18ac7a 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -4,7 +4,7 @@ <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>xline.h File Reference</h1><code>#include <typeinfo></code><br> <code>#include <iostream></code><br> <code>#include <string></code><br> @@ -159,7 +159,7 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00679">Server::AddELine()</a>. </td> </tr> </table> <a name="a1" doxytag="xline.h::add_gline"></a><p> @@ -211,7 +211,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::AddEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::AddGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00659">Server::AddGLine()</a>. </td> </tr> </table> <a name="a4" doxytag="xline.h::add_kline"></a><p> @@ -263,7 +263,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::AddGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00745">Server::AddKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00674">Server::AddKLine()</a>. </td> </tr> </table> <a name="a2" doxytag="xline.h::add_qline"></a><p> @@ -315,7 +315,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00745">Server::AddKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::AddQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00664">Server::AddQLine()</a>. </td> </tr> </table> <a name="a3" doxytag="xline.h::add_zline"></a><p> @@ -367,7 +367,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::AddQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::AddZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00669">Server::AddZLine()</a>. </td> </tr> </table> <a name="a17" doxytag="xline.h::apply_lines"></a><p> @@ -426,7 +426,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::AddZL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00775">Server::DelELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00704">Server::DelELine()</a>. </td> </tr> </table> <a name="a6" doxytag="xline.h::del_gline"></a><p> @@ -457,7 +457,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00775">Server::DelEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00755">Server::DelGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00684">Server::DelGLine()</a>. </td> </tr> </table> <a name="a9" doxytag="xline.h::del_kline"></a><p> @@ -488,7 +488,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00755">Server::DelGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00770">Server::DelKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::DelKLine()</a>. </td> </tr> </table> <a name="a7" doxytag="xline.h::del_qline"></a><p> @@ -519,7 +519,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00770">Server::DelKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00760">Server::DelQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00689">Server::DelQLine()</a>. </td> </tr> </table> <a name="a8" doxytag="xline.h::del_zline"></a><p> @@ -550,7 +550,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00760">Server::DelQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00765">Server::DelZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00694">Server::DelZLine()</a>. </td> </tr> </table> <a name="a16" doxytag="xline.h::expire_lines"></a><p> @@ -1109,7 +1109,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00765">Server::DelZL </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Fri May 13 15:49:17 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Sun May 15 17:02:54 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> |