diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 19:17:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 19:17:41 +0000 |
commit | a96514c284514116300794696f062c7fa6b1f79f (patch) | |
tree | b7b26583dcf354313f74613e604bd9c5dbb52acb | |
parent | c4a345fe9903643a716ebf4c1df35fe28036bf4d (diff) |
Added new docs for class InspIRCd and globals.h etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2451 e03df62e-2008-0410-955e-edbf42e46eb7
387 files changed, 10810 insertions, 4170 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3 index 31a231609..b2148e15a 100644 --- a/docs/man/man3/Admin.3 +++ b/docs/man/man3/Admin.3 @@ -43,10 +43,10 @@ Definition at line 125 of file modules.h. .PP .SS "Admin::Admin (\fBstd::string\fP name, \fBstd::string\fP email, \fBstd::string\fP nick)" .PP -Definition at line 171 of file modules.cpp. +Definition at line 163 of file modules.cpp. .PP .nf -171 : Name(name), Email(email), Nick(nick) { }; +163 : Name(name), Email(email), Nick(nick) { }; .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3 index ae351b6a6..3b5a630f2 100644 --- a/docs/man/man3/BanItem.3 +++ b/docs/man/man3/BanItem.3 @@ -16,7 +16,7 @@ Inherits \fBHostItem\fP. .PP A subclass of \fBHostItem\fP designed to hold channel bans (+b). .PP -Definition at line 52 of file channels.h. +Definition at line 54 of file channels.h. .SH "Author" .PP diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3 index f0236bfe9..4812464bd 100644 --- a/docs/man/man3/ConfigReader.3 +++ b/docs/man/man3/ConfigReader.3 @@ -93,19 +93,19 @@ Default constructor. .PP This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure. .PP -Definition at line 739 of file modules.cpp. +Definition at line 731 of file modules.cpp. .PP References cache, ServerConfig::ClearStack(), CONF_FILE_NOT_FOUND, error, errorlog, ServerConfig::LoadConf(), and readerror. .PP .nf -740 { -741 Config->ClearStack(); -742 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -743 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -744 this->readerror = Config->LoadConf(CONFIG_FILE,this->cache,this->errorlog); -745 if (!this->readerror) -746 this->error = CONF_FILE_NOT_FOUND; -747 } +732 { +733 Config->ClearStack(); +734 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +735 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +736 this->readerror = Config->LoadConf(CONFIG_FILE,this->cache,this->errorlog); +737 if (!this->readerror) +738 this->error = CONF_FILE_NOT_FOUND; +739 } .fi .PP .SS "ConfigReader::ConfigReader (\fBstd::string\fP filename)" @@ -114,19 +114,19 @@ Overloaded constructor. .PP This constructor initialises the ConfigReader class to read a user-specified config file .PP -Definition at line 759 of file modules.cpp. +Definition at line 751 of file modules.cpp. .PP References cache, ServerConfig::ClearStack(), CONF_FILE_NOT_FOUND, error, errorlog, ServerConfig::LoadConf(), and readerror. .PP .nf -760 { -761 Config->ClearStack(); -762 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -763 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); -764 this->readerror = Config->LoadConf(filename.c_str(),this->cache,this->errorlog); -765 if (!this->readerror) -766 this->error = CONF_FILE_NOT_FOUND; -767 }; +752 { +753 Config->ClearStack(); +754 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +755 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out); +756 this->readerror = Config->LoadConf(filename.c_str(),this->cache,this->errorlog); +757 if (!this->readerror) +758 this->error = CONF_FILE_NOT_FOUND; +759 }; .fi .PP .SS "ConfigReader::~ConfigReader ()" @@ -135,17 +135,17 @@ Default destructor. .PP This method destroys the ConfigReader class. .PP -Definition at line 750 of file modules.cpp. +Definition at line 742 of file modules.cpp. .PP References cache, and errorlog. .PP .nf -751 { -752 if (this->cache) -753 delete this->cache; -754 if (this->errorlog) -755 delete this->errorlog; -756 } +743 { +744 if (this->cache) +745 delete this->cache; +746 if (this->errorlog) +747 delete this->errorlog; +748 } .fi .PP .SH "Member Function Documentation" @@ -156,41 +156,41 @@ Dumps the list of errors in a config file to an output location. .PP 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. .PP -Definition at line 838 of file modules.cpp. +Definition at line 830 of file modules.cpp. .PP -References errorlog, connection::fd, and userrec::nick. +References errorlog, connection::fd, userrec::nick, WriteOpers(), and WriteServ(). .PP .nf -839 { -840 if (bail) -841 { -842 printf('There were errors in your configuration:\n%s',errorlog->str().c_str()); -843 exit(0); -844 } -845 else -846 { -847 char dataline[1024]; -848 if (user) -849 { -850 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick); -851 while (!errorlog->eof()) -852 { -853 errorlog->getline(dataline,1024); -854 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline); -855 } -856 } -857 else -858 { -859 WriteOpers('There were errors in the configuration file:',user->nick); -860 while (!errorlog->eof()) -861 { -862 errorlog->getline(dataline,1024); -863 WriteOpers(dataline); -864 } -865 } -866 return; -867 } -868 } +831 { +832 if (bail) +833 { +834 printf('There were errors in your configuration:\n%s',errorlog->str().c_str()); +835 exit(0); +836 } +837 else +838 { +839 char dataline[1024]; +840 if (user) +841 { +842 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick); +843 while (!errorlog->eof()) +844 { +845 errorlog->getline(dataline,1024); +846 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline); +847 } +848 } +849 else +850 { +851 WriteOpers('There were errors in the configuration file:',user->nick); +852 while (!errorlog->eof()) +853 { +854 errorlog->getline(dataline,1024); +855 WriteOpers(dataline); +856 } +857 } +858 return; +859 } +860 } .fi .PP .SS "int ConfigReader::Enumerate (\fBstd::string\fP tag)" @@ -199,14 +199,14 @@ Counts the number of times a given tag appears in the config file. .PP 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. .PP -Definition at line 871 of file modules.cpp. +Definition at line 863 of file modules.cpp. .PP References cache, and ServerConfig::EnumConf(). .PP .nf -872 { -873 return Config->EnumConf(cache,tag.c_str()); -874 } +864 { +865 return Config->EnumConf(cache,tag.c_str()); +866 } .fi .PP .SS "int ConfigReader::EnumerateValues (\fBstd::string\fP tag, int index)" @@ -215,14 +215,14 @@ Returns the number of items within a tag. .PP 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. .PP -Definition at line 876 of file modules.cpp. +Definition at line 868 of file modules.cpp. .PP References cache, and ServerConfig::EnumValues(). .PP .nf -877 { -878 return Config->EnumValues(cache, tag.c_str(), index); -879 } +869 { +870 return Config->EnumValues(cache, tag.c_str(), index); +871 } .fi .PP .SS "long ConfigReader::GetError ()" @@ -231,16 +231,16 @@ Returns the last error to occur. .PP 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. .PP -Definition at line 831 of file modules.cpp. +Definition at line 823 of file modules.cpp. .PP References error. .PP .nf -832 { -833 long olderr = this->error; -834 this->error = 0; -835 return olderr; -836 } +824 { +825 long olderr = this->error; +826 this->error = 0; +827 return olderr; +828 } .fi .PP .SS "bool ConfigReader::ReadFlag (\fBstd::string\fP tag, \fBstd::string\fP name, int index)" @@ -249,26 +249,26 @@ Retrieves a boolean value from the config file. .PP 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. .PP -Definition at line 785 of file modules.cpp. +Definition at line 777 of file modules.cpp. .PP References cache, CONF_VALUE_NOT_FOUND, error, and ServerConfig::ReadConf(). .PP .nf -786 { -787 char val[MAXBUF]; -788 char t[MAXBUF]; -789 char n[MAXBUF]; -790 strlcpy(t,tag.c_str(),MAXBUF); -791 strlcpy(n,name.c_str(),MAXBUF); -792 int res = Config->ReadConf(cache,t,n,index,val); -793 if (!res) -794 { -795 this->error = CONF_VALUE_NOT_FOUND; -796 return false; -797 } -798 std::string s = val; -799 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1')); -800 } +778 { +779 char val[MAXBUF]; +780 char t[MAXBUF]; +781 char n[MAXBUF]; +782 strlcpy(t,tag.c_str(),MAXBUF); +783 strlcpy(n,name.c_str(),MAXBUF); +784 int res = Config->ReadConf(cache,t,n,index,val); +785 if (!res) +786 { +787 this->error = CONF_VALUE_NOT_FOUND; +788 return false; +789 } +790 std::string s = val; +791 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1')); +792 } .fi .PP .SS "long ConfigReader::ReadInteger (\fBstd::string\fP tag, \fBstd::string\fP name, int index, bool needs_unsigned)" @@ -277,38 +277,38 @@ Retrieves an integer value from the config file. .PP 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_UNSIGNED .PP -Definition at line 802 of file modules.cpp. +Definition at line 794 of file modules.cpp. .PP References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, error, and ServerConfig::ReadConf(). .PP .nf -803 { -804 char val[MAXBUF]; -805 char t[MAXBUF]; -806 char n[MAXBUF]; -807 strlcpy(t,tag.c_str(),MAXBUF); -808 strlcpy(n,name.c_str(),MAXBUF); -809 int res = Config->ReadConf(cache,t,n,index,val); -810 if (!res) -811 { -812 this->error = CONF_VALUE_NOT_FOUND; -813 return 0; +795 { +796 char val[MAXBUF]; +797 char t[MAXBUF]; +798 char n[MAXBUF]; +799 strlcpy(t,tag.c_str(),MAXBUF); +800 strlcpy(n,name.c_str(),MAXBUF); +801 int res = Config->ReadConf(cache,t,n,index,val); +802 if (!res) +803 { +804 this->error = CONF_VALUE_NOT_FOUND; +805 return 0; +806 } +807 for (unsigned int i = 0; i < strlen(val); i++) +808 { +809 if (!isdigit(val[i])) +810 { +811 this->error = CONF_NOT_A_NUMBER; +812 return 0; +813 } 814 } -815 for (unsigned int i = 0; i < strlen(val); i++) +815 if ((needs_unsigned) && (atoi(val)<0)) 816 { -817 if (!isdigit(val[i])) -818 { -819 this->error = CONF_NOT_A_NUMBER; -820 return 0; -821 } -822 } -823 if ((needs_unsigned) && (atoi(val)<0)) -824 { -825 this->error = CONF_NOT_UNSIGNED; -826 return 0; -827 } -828 return atoi(val); -829 } +817 this->error = CONF_NOT_UNSIGNED; +818 return 0; +819 } +820 return atoi(val); +821 } .fi .PP .SS "\fBstd::string\fP ConfigReader::ReadValue (\fBstd::string\fP tag, \fBstd::string\fP name, int index)" @@ -317,25 +317,25 @@ Retrieves a value from the config file. .PP 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. .PP -Definition at line 769 of file modules.cpp. +Definition at line 761 of file modules.cpp. .PP References cache, CONF_VALUE_NOT_FOUND, error, and ServerConfig::ReadConf(). .PP .nf -770 { -771 char val[MAXBUF]; -772 char t[MAXBUF]; -773 char n[MAXBUF]; -774 strlcpy(t,tag.c_str(),MAXBUF); -775 strlcpy(n,name.c_str(),MAXBUF); -776 int res = Config->ReadConf(cache,t,n,index,val); -777 if (!res) -778 { -779 this->error = CONF_VALUE_NOT_FOUND; -780 return ''; -781 } -782 return val; -783 } +762 { +763 char val[MAXBUF]; +764 char t[MAXBUF]; +765 char n[MAXBUF]; +766 strlcpy(t,tag.c_str(),MAXBUF); +767 strlcpy(n,name.c_str(),MAXBUF); +768 int res = Config->ReadConf(cache,t,n,index,val); +769 if (!res) +770 { +771 this->error = CONF_VALUE_NOT_FOUND; +772 return ''; +773 } +774 return val; +775 } .fi .PP .SS "bool ConfigReader::Verify ()" @@ -344,14 +344,14 @@ Returns true if a config file is valid. .PP This method is partially implemented and will only return false if the config file does not exist or could not be opened. .PP -Definition at line 881 of file modules.cpp. +Definition at line 873 of file modules.cpp. .PP References readerror. .PP .nf -882 { -883 return this->readerror; -884 } +874 { +875 return this->readerror; +876 } .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3 index d47289f04..36017ae32 100644 --- a/docs/man/man3/Event.3 +++ b/docs/man/man3/Event.3 @@ -65,10 +65,10 @@ Definition at line 197 of file modules.h. .PP Create a new Event. .PP -Definition at line 202 of file modules.cpp. +Definition at line 194 of file modules.cpp. .PP .nf -202 : data(anydata), source(src), id(eventid) { }; +194 : data(anydata), source(src), id(eventid) { }; .fi .PP .SH "Member Function Documentation" @@ -77,14 +77,14 @@ Definition at line 202 of file modules.cpp. .PP Get the Event data. .PP -Definition at line 204 of file modules.cpp. +Definition at line 196 of file modules.cpp. .PP References data. .PP .nf -205 { -206 return this->data; -207 } +197 { +198 return this->data; +199 } .fi .PP .SS "\fBstd::string\fP Event::GetEventID ()" @@ -93,28 +93,28 @@ Get the event ID. .PP Use this to determine the event type for safe casting of the data .PP -Definition at line 220 of file modules.cpp. +Definition at line 212 of file modules.cpp. .PP References id. .PP .nf -221 { -222 return this->id; -223 } +213 { +214 return this->id; +215 } .fi .PP .SS "\fBModule\fP * Event::GetSource ()" .PP Get the event Source. .PP -Definition at line 209 of file modules.cpp. +Definition at line 201 of file modules.cpp. .PP References source. .PP .nf -210 { -211 return this->source; -212 } +202 { +203 return this->source; +204 } .fi .PP .SS "char * Event::Send ()\fC [virtual]\fP" @@ -125,15 +125,15 @@ The return result of an \fBEvent::Send()\fP will always be NULL as no replies ar .PP Implements \fBModuleMessage\fP. .PP -Definition at line 214 of file modules.cpp. +Definition at line 206 of file modules.cpp. .PP References FOREACH_MOD. .PP .nf -215 { -216 FOREACH_MOD OnEvent(this); -217 return NULL; -218 } +207 { +208 FOREACH_MOD OnEvent(this); +209 return NULL; +210 } .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3 index 2420d3566..6ff6339ed 100644 --- a/docs/man/man3/ExemptItem.3 +++ b/docs/man/man3/ExemptItem.3 @@ -16,7 +16,7 @@ Inherits \fBHostItem\fP. .PP A subclass of \fBHostItem\fP designed to hold channel exempts (+e). .PP -Definition at line 60 of file channels.h. +Definition at line 62 of file channels.h. .SH "Author" .PP diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3 index f9688416d..ee136db97 100644 --- a/docs/man/man3/FileReader.3 +++ b/docs/man/man3/FileReader.3 @@ -66,11 +66,11 @@ Default constructor. .PP This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. .PP -Definition at line 894 of file modules.cpp. +Definition at line 886 of file modules.cpp. .PP .nf -895 { -896 } +887 { +888 } .fi .PP .SS "FileReader::FileReader (\fBstd::string\fP filename)" @@ -79,16 +79,16 @@ Secondary constructor. .PP 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. .PP -Definition at line 887 of file modules.cpp. +Definition at line 879 of file modules.cpp. .PP -References fc. +References fc, and readfile(). .PP .nf -888 { -889 file_cache c; -890 readfile(c,filename.c_str()); -891 this->fc = c; -892 } +880 { +881 file_cache c; +882 readfile(c,filename.c_str()); +883 this->fc = c; +884 } .fi .PP .SS "FileReader::~FileReader ()" @@ -97,11 +97,11 @@ Default destructor. .PP This deletes the memory allocated to the file. .PP -Definition at line 906 of file modules.cpp. +Definition at line 898 of file modules.cpp. .PP .nf -907 { -908 } +899 { +900 } .fi .PP .SH "Member Function Documentation" @@ -110,21 +110,21 @@ Definition at line 906 of file modules.cpp. .PP Returns true if the file exists This function will return false if the file could not be opened. .PP -Definition at line 910 of file modules.cpp. +Definition at line 902 of file modules.cpp. .PP References fc. .PP .nf -911 { -912 if (fc.size() == 0) -913 { -914 return(false); -915 } -916 else -917 { -918 return(true); -919 } -920 } +903 { +904 if (fc.size() == 0) +905 { +906 return(false); +907 } +908 else +909 { +910 return(true); +911 } +912 } .fi .PP .SS "int FileReader::FileSize ()" @@ -133,14 +133,14 @@ Returns the size of the file in lines. .PP 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. .PP -Definition at line 929 of file modules.cpp. +Definition at line 921 of file modules.cpp. .PP References fc. .PP .nf -930 { -931 return fc.size(); -932 } +922 { +923 return fc.size(); +924 } .fi .PP .SS "\fBstd::string\fP FileReader::GetLine (int x)" @@ -149,16 +149,16 @@ Retrieve one line from the file. .PP 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. .PP -Definition at line 922 of file modules.cpp. +Definition at line 914 of file modules.cpp. .PP References fc. .PP .nf -923 { -924 if ((x<0) || ((unsigned)x>fc.size())) -925 return ''; -926 return fc[x]; -927 } +915 { +916 if ((x<0) || ((unsigned)x>fc.size())) +917 return ''; +918 return fc[x]; +919 } .fi .PP .SS "void FileReader::LoadFile (\fBstd::string\fP filename)" @@ -167,16 +167,16 @@ Used to load a file. .PP 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. .PP -Definition at line 898 of file modules.cpp. +Definition at line 890 of file modules.cpp. .PP -References fc. +References fc, and readfile(). .PP .nf -899 { -900 file_cache c; -901 readfile(c,filename.c_str()); -902 this->fc = c; -903 } +891 { +892 file_cache c; +893 readfile(c,filename.c_str()); +894 this->fc = c; +895 } .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3 index 0862d378e..2cd48e892 100644 --- a/docs/man/man3/HostItem.3 +++ b/docs/man/man3/HostItem.3 @@ -43,36 +43,36 @@ Holds an entry for a ban list, exemption list, or invite list. This class contains a single element in a channel list, such as a banlist. .PP -Definition at line 36 of file channels.h. +Definition at line 38 of file channels.h. .SH "Constructor & Destructor Documentation" .PP .SS "HostItem::HostItem ()\fC [inline]\fP" .PP -Definition at line 43 of file channels.h. +Definition at line 45 of file channels.h. .PP .nf -43 { /* stub */ } +45 { /* stub */ } .fi .PP .SS "virtual HostItem::~HostItem ()\fC [inline, virtual]\fP" .PP -Definition at line 44 of file channels.h. +Definition at line 46 of file channels.h. .PP .nf -44 { /* stub */ } +46 { /* stub */ } .fi .PP .SH "Member Data Documentation" .PP .SS "char \fBHostItem::data\fP[MAXBUF]" .PP -Definition at line 41 of file channels.h. +Definition at line 43 of file channels.h. .SS "char \fBHostItem::set_by\fP[NICKMAX]" .PP -Definition at line 40 of file channels.h. +Definition at line 42 of file channels.h. .SS "time_t \fBHostItem::set_time\fP" .PP -Definition at line 39 of file channels.h. +Definition at line 41 of file channels.h. .SH "Author" .PP diff --git a/docs/man/man3/InspIRCd.3 b/docs/man/man3/InspIRCd.3 new file mode 100644 index 000000000..5e2a718f7 --- /dev/null +++ b/docs/man/man3/InspIRCd.3 @@ -0,0 +1,71 @@ +.TH "InspIRCd" 3 "14 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +InspIRCd \- +.SH SYNOPSIS +.br +.PP +\fC#include <inspircd.h>\fP +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "bool \fBLoadModule\fP (const char *filename)" +.br +.ti -1c +.RI "bool \fBUnloadModule\fP (const char *filename)" +.br +.ti -1c +.RI "\fBInspIRCd\fP (int argc, char **argv)" +.br +.ti -1c +.RI "int \fBRun\fP ()" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "time_t \fBstartup_time\fP" +.br +.in -1c +.SS "Private Member Functions" + +.in +1c +.ti -1c +.RI "void \fBerase_factory\fP (int j)" +.br +.ti -1c +.RI "void \fBerase_module\fP (int j)" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 95 of file inspircd.h. +.SH "Constructor & Destructor Documentation" +.PP +.SS "InspIRCd::InspIRCd (int argc, char ** argv)" +.PP +.SH "Member Function Documentation" +.PP +.SS "void InspIRCd::erase_factory (int j)\fC [private]\fP" +.PP +.SS "void InspIRCd::erase_module (int j)\fC [private]\fP" +.PP +.SS "bool InspIRCd::LoadModule (const char * filename)" +.PP +.SS "int InspIRCd::Run ()" +.PP +.SS "bool InspIRCd::UnloadModule (const char * filename)" +.PP +.SH "Member Data Documentation" +.PP +.SS "time_t \fBInspIRCd::startup_time\fP" +.PP +Definition at line 103 of file inspircd.h. + +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/InspSocket.3 b/docs/man/man3/InspSocket.3 index fc39dc8e6..06bd1e1cf 100644 --- a/docs/man/man3/InspSocket.3 +++ b/docs/man/man3/InspSocket.3 @@ -212,7 +212,7 @@ This constructor is used to create a new socket, either listening for connection .PP Definition at line 62 of file socket.cpp. .PP -References SocketEngine::AddFd(), addr, addy, BindSocket(), Close(), DEBUG, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, IP, OnError(), OpenTCPSocket(), state, timeout, timeout_end, and X_ESTAB_MODULE. +References SocketEngine::AddFd(), addr, addy, BindSocket(), Close(), DEBUG, ERROR, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, IP, log(), OnError(), OpenTCPSocket(), state, timeout, timeout_end, and X_ESTAB_MODULE. .PP .nf 63 { @@ -540,7 +540,7 @@ Reads all pending bytes from the socket into a char* array which can be up to 16 .PP Definition at line 158 of file socket.cpp. .PP -References DEBUG, and ibuf. +References DEBUG, ibuf, and log(). .PP .nf 159 { @@ -566,7 +566,7 @@ The core uses this to change socket states, and you should not call it directly. .PP Definition at line 248 of file socket.cpp. .PP -References DEBUG, and state. +References DEBUG, log(), and state. .PP Referenced by Poll(). .PP diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3 index 618052d99..03eeb6189 100644 --- a/docs/man/man3/InviteItem.3 +++ b/docs/man/man3/InviteItem.3 @@ -16,7 +16,7 @@ Inherits \fBHostItem\fP. .PP A subclass of \fBHostItem\fP designed to hold channel invites (+I). .PP -Definition at line 68 of file channels.h. +Definition at line 70 of file channels.h. .SH "Author" .PP diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3 index 75add436a..c1af78bc6 100644 --- a/docs/man/man3/ModeParameter.3 +++ b/docs/man/man3/ModeParameter.3 @@ -31,22 +31,22 @@ Holds a custom parameter to a module-defined channel mode e.g. for +L this would hold the channel name. .PP -Definition at line 77 of file channels.h. +Definition at line 79 of file channels.h. .SH "Member Data Documentation" .PP .SS "char \fBModeParameter::channel\fP[CHANMAX]" .PP -Definition at line 82 of file channels.h. +Definition at line 84 of file channels.h. .PP Referenced by chanrec::SetCustomModeParam(). .SS "char \fBModeParameter::mode\fP" .PP -Definition at line 80 of file channels.h. +Definition at line 82 of file channels.h. .PP Referenced by chanrec::SetCustomModeParam(). .SS "char \fBModeParameter::parameter\fP[MAXBUF]" .PP -Definition at line 81 of file channels.h. +Definition at line 83 of file channels.h. .PP Referenced by chanrec::SetCustomModeParam(). diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3 index 5dea65737..111e53012 100644 --- a/docs/man/man3/Module.3 +++ b/docs/man/man3/Module.3 @@ -2,7 +2,7 @@ .ad l .nh .SH NAME -Module \- Base class for all InspIRCd modules This class is the base class for InspIRCd modules. +Module \- Base class for all \fBInspIRCd\fP modules This class is the base class for \fBInspIRCd\fP modules. .PP .SH SYNOPSIS @@ -336,7 +336,7 @@ Inherits \fBclassbase\fP. .in -1c .SH "Detailed Description" .PP -Base class for all InspIRCd modules This class is the base class for InspIRCd modules. +Base class for all \fBInspIRCd\fP modules This class is the base class for \fBInspIRCd\fP modules. All modules must inherit from this class, its methods will be called when irc server events occur. class inherited from module must be instantiated by the \fBModuleFactory\fP class (see relevent section) for the plugin to be initialised. .PP @@ -354,20 +354,20 @@ Default constructor Creates a module class. .PP .PP -Definition at line 228 of file modules.cpp. +Definition at line 220 of file modules.cpp. .PP .nf -228 { } +220 { } .fi .PP .SS "Module::~Module ()\fC [virtual]\fP" .PP Default destructor destroys a module class. .PP -Definition at line 229 of file modules.cpp. +Definition at line 221 of file modules.cpp. .PP .nf -229 { } +221 { } .fi .PP .SH "Member Function Documentation" @@ -378,12 +378,12 @@ Returns the version number of a Module. .PP The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fP .PP -Definition at line 240 of file modules.cpp. +Definition at line 232 of file modules.cpp. .PP References VF_VENDOR. .PP .nf -240 { return Version(1,0,0,0,VF_VENDOR); } +232 { return Version(1,0,0,0,VF_VENDOR); } .fi .PP .SS "void Module::On005Numeric (\fBstd::string\fP & output)\fC [virtual]\fP" @@ -399,10 +399,10 @@ The module should modify the 005 numeric if needed to indicate its features. .PP .PP -Definition at line 250 of file modules.cpp. +Definition at line 242 of file modules.cpp. .PP .nf -250 { }; +242 { }; .fi .PP .SS "int Module::OnAccessCheck (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel, int access_type)\fC [virtual]\fP" @@ -446,12 +446,12 @@ This function is called before many functions which check a users status on a ch .PP .PP -Definition at line 249 of file modules.cpp. +Definition at line 241 of file modules.cpp. .PP References ACR_DEFAULT. .PP .nf -249 { return ACR_DEFAULT; }; +241 { return ACR_DEFAULT; }; .fi .PP .SS "int Module::OnAddBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, \fBstd::string\fP banmask)\fC [virtual]\fP" @@ -476,10 +476,10 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being .PP .PP -Definition at line 275 of file modules.cpp. +Definition at line 267 of file modules.cpp. .PP .nf -275 { return 0; }; +267 { return 0; }; .fi .PP .SS "void Module::OnAddELine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -501,10 +501,10 @@ This method is triggered after the line is added. .PP .PP -Definition at line 301 of file modules.cpp. +Definition at line 293 of file modules.cpp. .PP .nf -301 { }; +293 { }; .fi .PP .SS "void Module::OnAddGLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -526,10 +526,10 @@ This method is triggered after the line is added. .PP .PP -Definition at line 297 of file modules.cpp. +Definition at line 289 of file modules.cpp. .PP .nf -297 { }; +289 { }; .fi .PP .SS "void Module::OnAddKLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -551,10 +551,10 @@ This method is triggered after the line is added. .PP .PP -Definition at line 299 of file modules.cpp. +Definition at line 291 of file modules.cpp. .PP .nf -299 { }; +291 { }; .fi .PP .SS "void Module::OnAddQLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP nickmask)\fC [virtual]\fP" @@ -576,10 +576,10 @@ This method is triggered after the line is added. .PP .PP -Definition at line 300 of file modules.cpp. +Definition at line 292 of file modules.cpp. .PP .nf -300 { }; +292 { }; .fi .PP .SS "void Module::OnAddZLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP ipmask)\fC [virtual]\fP" @@ -601,10 +601,10 @@ This method is triggered after the line is added. .PP .PP -Definition at line 298 of file modules.cpp. +Definition at line 290 of file modules.cpp. .PP .nf -298 { }; +290 { }; .fi .PP .SS "void Module::OnBackgroundTimer (time_t curtime)\fC [virtual]\fP" @@ -620,10 +620,10 @@ This timer can be used to control timed features. Its period is not accurate eno .PP .PP -Definition at line 254 of file modules.cpp. +Definition at line 246 of file modules.cpp. .PP .nf -254 { }; +246 { }; .fi .PP .SS "void Module::OnChangeHost (\fBuserrec\fP * user, \fBstd::string\fP newhost)\fC [virtual]\fP" @@ -641,10 +641,10 @@ This event triggers after the host has been set. .PP .PP -Definition at line 295 of file modules.cpp. +Definition at line 287 of file modules.cpp. .PP .nf -295 { }; +287 { }; .fi .PP .SS "int Module::OnChangeLocalUserGECOS (\fBuserrec\fP * user, \fBstd::string\fP newhost)\fC [virtual]\fP" @@ -667,10 +667,10 @@ return 1 to deny the name change, or 0 to allow it. .PP .PP -Definition at line 268 of file modules.cpp. +Definition at line 260 of file modules.cpp. .PP .nf -268 { return 0; }; +260 { return 0; }; .fi .PP .SS "int Module::OnChangeLocalUserHost (\fBuserrec\fP * user, \fBstd::string\fP newhost)\fC [virtual]\fP" @@ -693,10 +693,10 @@ Return 1 to deny the host change, or 0 to allow it. .PP .PP -Definition at line 267 of file modules.cpp. +Definition at line 259 of file modules.cpp. .PP .nf -267 { return 0; }; +259 { return 0; }; .fi .PP .SS "void Module::OnChangeName (\fBuserrec\fP * user, \fBstd::string\fP gecos)\fC [virtual]\fP" @@ -714,10 +714,10 @@ This event triggers after the name has been set. .PP .PP -Definition at line 296 of file modules.cpp. +Definition at line 288 of file modules.cpp. .PP .nf -296 { }; +288 { }; .fi .PP .SS "int Module::OnCheckBan (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" @@ -740,10 +740,10 @@ This method will always be called for each join, wether or not the user actually .PP .PP -Definition at line 265 of file modules.cpp. +Definition at line 257 of file modules.cpp. .PP .nf -265 { return 0; }; +257 { return 0; }; .fi .PP .SS "int Module::OnCheckInvite (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" @@ -766,10 +766,10 @@ This method will always be called for each join, wether or not the channel is ac .PP .PP -Definition at line 262 of file modules.cpp. +Definition at line 254 of file modules.cpp. .PP .nf -262 { return 0; }; +254 { return 0; }; .fi .PP .SS "int Module::OnCheckKey (\fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP keygiven)\fC [virtual]\fP" @@ -792,10 +792,10 @@ This method will always be called for each join, wether or not the channel is ac .PP .PP -Definition at line 263 of file modules.cpp. +Definition at line 255 of file modules.cpp. .PP .nf -263 { return 0; }; +255 { return 0; }; .fi .PP .SS "int Module::OnCheckLimit (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP" @@ -818,10 +818,10 @@ This method will always be called for each join, wether or not the channel is ac .PP .PP -Definition at line 264 of file modules.cpp. +Definition at line 256 of file modules.cpp. .PP .nf -264 { return 0; }; +256 { return 0; }; .fi .PP .SS "bool Module::OnCheckReady (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -842,10 +842,10 @@ true to indicate readiness, false if otherwise .PP .PP -Definition at line 257 of file modules.cpp. +Definition at line 249 of file modules.cpp. .PP .nf -257 { return true; }; +249 { return true; }; .fi .PP .SS "void Module::OnCleanup (int target_type, void * item)\fC [virtual]\fP" @@ -863,10 +863,10 @@ This method is called once for every user and channel on the network, so that wh .PP .PP -Definition at line 307 of file modules.cpp. +Definition at line 299 of file modules.cpp. .PP .nf -307 { }; +299 { }; .fi .PP .SS "void Module::OnDecodeMetaData (int target_type, void * target, \fBstd::string\fP extname, \fBstd::string\fP extdata)\fC [virtual]\fP" @@ -888,10 +888,10 @@ Please see src/modules/m_swhois.cpp for a working example of how to use this met .PP .PP -Definition at line 292 of file modules.cpp. +Definition at line 284 of file modules.cpp. .PP .nf -292 { }; +284 { }; .fi .PP .SS "int Module::OnDelBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, \fBstd::string\fP banmask)\fC [virtual]\fP" @@ -916,10 +916,10 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being .PP .PP -Definition at line 276 of file modules.cpp. +Definition at line 268 of file modules.cpp. .PP .nf -276 { return 0; }; +268 { return 0; }; .fi .PP .SS "void Module::OnDelELine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -937,10 +937,10 @@ This method is triggered after the line is deleted. .PP .PP -Definition at line 306 of file modules.cpp. +Definition at line 298 of file modules.cpp. .PP .nf -306 { }; +298 { }; .fi .PP .SS "void Module::OnDelGLine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -958,10 +958,10 @@ This method is triggered after the line is deleted. .PP .PP -Definition at line 302 of file modules.cpp. +Definition at line 294 of file modules.cpp. .PP .nf -302 { }; +294 { }; .fi .PP .SS "void Module::OnDelKLine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -979,10 +979,10 @@ This method is triggered after the line is deleted. .PP .PP -Definition at line 304 of file modules.cpp. +Definition at line 296 of file modules.cpp. .PP .nf -304 { }; +296 { }; .fi .PP .SS "void Module::OnDelQLine (\fBuserrec\fP * source, \fBstd::string\fP nickmask)\fC [virtual]\fP" @@ -1000,10 +1000,10 @@ This method is triggered after the line is deleted. .PP .PP -Definition at line 305 of file modules.cpp. +Definition at line 297 of file modules.cpp. .PP .nf -305 { }; +297 { }; .fi .PP .SS "void Module::OnDelZLine (\fBuserrec\fP * source, \fBstd::string\fP ipmask)\fC [virtual]\fP" @@ -1021,10 +1021,10 @@ This method is triggered after the line is deleted. .PP .PP -Definition at line 303 of file modules.cpp. +Definition at line 295 of file modules.cpp. .PP .nf -303 { }; +295 { }; .fi .PP .SS "void Module::OnEvent (\fBEvent\fP * event)\fC [virtual]\fP" @@ -1040,10 +1040,10 @@ Please see the documentation of \fBEvent::Send()\fP for further information. The .PP .PP -Definition at line 270 of file modules.cpp. +Definition at line 262 of file modules.cpp. .PP .nf -270 { return; }; +262 { return; }; .fi .PP .SS "int Module::OnExtendedMode (\fBuserrec\fP * user, void * target, char modechar, int type, bool mode_on, \fBstring_list\fP & params)\fC [virtual]\fP" @@ -1069,10 +1069,10 @@ The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the .PP .PP -Definition at line 238 of file modules.cpp. +Definition at line 230 of file modules.cpp. .PP .nf -238 { return false; } +230 { return false; } .fi .PP .SS "void Module::OnGetServerDescription (\fBstd::string\fP servername, \fBstd::string\fP & description)\fC [virtual]\fP" @@ -1090,10 +1090,10 @@ You may change or define the description given in \fBstd::string\fP &description .PP .PP -Definition at line 286 of file modules.cpp. +Definition at line 278 of file modules.cpp. .PP .nf -286 { }; +278 { }; .fi .PP .SS "void Module::OnGlobalConnect (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -1109,10 +1109,10 @@ This event is informational only. You should not change any user information in .PP .PP -Definition at line 274 of file modules.cpp. +Definition at line 266 of file modules.cpp. .PP .nf -274 { }; +266 { }; .fi .PP .SS "void Module::OnGlobalOper (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -1128,10 +1128,10 @@ You cannot override this and prevent it from happening as it is already happened .PP .PP -Definition at line 273 of file modules.cpp. +Definition at line 265 of file modules.cpp. .PP .nf -273 { }; +265 { }; .fi .PP .SS "void Module::OnInfo (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -1149,10 +1149,10 @@ The userrec will contain the information of the user who typed the command. Modu .PP .PP -Definition at line 242 of file modules.cpp. +Definition at line 234 of file modules.cpp. .PP .nf -242 { }; +234 { }; .fi .PP .SS "int Module::OnKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -1177,10 +1177,10 @@ If a client is killed by a server, e.g. a nickname collision or protocol error, .PP .PP -Definition at line 251 of file modules.cpp. +Definition at line 243 of file modules.cpp. .PP .nf -251 { return 0; }; +243 { return 0; }; .fi .PP .SS "void Module::OnLoadModule (\fBModule\fP * mod, \fBstd::string\fP name)\fC [virtual]\fP" @@ -1198,10 +1198,10 @@ mod will contain a pointer to the module, and string will contain its name, for .PP .PP -Definition at line 252 of file modules.cpp. +Definition at line 244 of file modules.cpp. .PP .nf -252 { }; +244 { }; .fi .PP .SS "int Module::OnLocalTopicChange (\fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP topic)\fC [virtual]\fP" @@ -1223,10 +1223,10 @@ Return 1 to deny the topic change, or 0 to allow it. .PP .PP -Definition at line 269 of file modules.cpp. +Definition at line 261 of file modules.cpp. .PP .nf -269 { return 0; }; +261 { return 0; }; .fi .PP .SS "void Module::OnMode (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1248,10 +1248,10 @@ The text variable contains the remainder of the mode string after the target, e. .PP .PP -Definition at line 239 of file modules.cpp. +Definition at line 231 of file modules.cpp. .PP .nf -239 { }; +231 { }; .fi .PP .SS "void Module::OnOper (\fBuserrec\fP * user, \fBstd::string\fP opertype)\fC [virtual]\fP" @@ -1269,10 +1269,10 @@ The userrec will contain the oper mode 'o' as this function is called after any .PP .PP -Definition at line 241 of file modules.cpp. +Definition at line 233 of file modules.cpp. .PP .nf -241 { }; +233 { }; .fi .PP .SS "int Module::OnOperCompare (\fBstd::string\fP password, \fBstd::string\fP input)\fC [virtual]\fP" @@ -1295,10 +1295,10 @@ The password field (from the config file) is in 'password' and is to be compared .PP .PP -Definition at line 272 of file modules.cpp. +Definition at line 264 of file modules.cpp. .PP .nf -272 { return 0; }; +264 { return 0; }; .fi .PP .SS "void Module::OnPostLocalTopicChange (\fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP topic)\fC [virtual]\fP" @@ -1318,10 +1318,10 @@ To block topic changes you must use OnLocalTopicChange instead. .PP .PP -Definition at line 285 of file modules.cpp. +Definition at line 277 of file modules.cpp. .PP .nf -285 { }; +277 { }; .fi .PP .SS "int Module::OnPreCommand (\fBstd::string\fP command, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" @@ -1348,10 +1348,10 @@ This event occurs for all registered commands, wether they are registered in the .PP .PP -Definition at line 256 of file modules.cpp. +Definition at line 248 of file modules.cpp. .PP .nf -256 { return 0; }; +248 { return 0; }; .fi .PP .SS "int Module::OnRawMode (\fBuserrec\fP * user, \fBchanrec\fP * chan, char mode, \fBstd::string\fP param, bool adding, int pcnt)\fC [virtual]\fP" @@ -1382,10 +1382,10 @@ Return 1 from this function to block the mode character from being processed ent .PP .PP -Definition at line 261 of file modules.cpp. +Definition at line 253 of file modules.cpp. .PP .nf -261 { return 0; }; +253 { return 0; }; .fi .PP .SS "void Module::OnRawSocketAccept (int fd, \fBstd::string\fP ip, int localport)\fC [virtual]\fP" @@ -1405,10 +1405,10 @@ This is intended for raw socket processing (e.g. modules which wrap the tcp conn .PP .PP -Definition at line 277 of file modules.cpp. +Definition at line 269 of file modules.cpp. .PP .nf -277 { }; +269 { }; .fi .PP .SS "void Module::OnRawSocketClose (int fd)\fC [virtual]\fP" @@ -1424,10 +1424,10 @@ When this event is called, shutdown() has not yet been called on the socket. .PP .PP -Definition at line 279 of file modules.cpp. +Definition at line 271 of file modules.cpp. .PP .nf -279 { }; +271 { }; .fi .PP .SS "int Module::OnRawSocketRead (int fd, char * buffer, unsigned int count, int & readresult)\fC [virtual]\fP" @@ -1454,10 +1454,10 @@ nonzero if the event was handled, in which case readresult must be valid on exit .PP .PP -Definition at line 280 of file modules.cpp. +Definition at line 272 of file modules.cpp. .PP .nf -280 { return 0; }; +272 { return 0; }; .fi .PP .SS "int Module::OnRawSocketWrite (int fd, char * buffer, int count)\fC [virtual]\fP" @@ -1482,10 +1482,10 @@ Number of characters actually written or 0 if you didn't handle the operation .PP .PP -Definition at line 278 of file modules.cpp. +Definition at line 270 of file modules.cpp. .PP .nf -278 { return 0; }; +270 { return 0; }; .fi .PP .SS "void Module::OnRehash (\fBstd::string\fP parameter)\fC [virtual]\fP" @@ -1501,10 +1501,10 @@ This method is called prior to a /REHASH or when a SIGHUP is received from the o .PP .PP -Definition at line 235 of file modules.cpp. +Definition at line 227 of file modules.cpp. .PP .nf -235 { } +227 { } .fi .PP .SS "void Module::OnRemoteKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -1522,10 +1522,10 @@ Called when an oper wants to disconnect a remote user via KILL. .PP .PP -Definition at line 283 of file modules.cpp. +Definition at line 275 of file modules.cpp. .PP .nf -283 { }; +275 { }; .fi .PP .SS "char * Module::OnRequest (\fBRequest\fP * request)\fC [virtual]\fP" @@ -1541,12 +1541,12 @@ Please see the documentation of \fBRequest::Send()\fP for further information. T .PP .PP -Definition at line 271 of file modules.cpp. +Definition at line 263 of file modules.cpp. .PP Referenced by Request::Send(). .PP .nf -271 { return NULL; }; +263 { return NULL; }; .fi .PP .SS "void Module::OnSendList (\fBuserrec\fP * user, \fBchanrec\fP * channel, char mode)\fC [virtual]\fP" @@ -1566,10 +1566,10 @@ For example, when a /MODE channel +b (without any other parameters) is called, i .PP .PP -Definition at line 255 of file modules.cpp. +Definition at line 247 of file modules.cpp. .PP .nf -255 { }; +247 { }; .fi .PP .SS "void Module::OnServerRaw (\fBstd::string\fP & raw, bool inbound, \fBuserrec\fP * user)\fC [virtual]\fP" @@ -1589,10 +1589,10 @@ This method is the lowest level of handler available to a module. It will be cal .PP .PP -Definition at line 236 of file modules.cpp. +Definition at line 228 of file modules.cpp. .PP .nf -236 { } +228 { } .fi .PP .SS "void Module::OnStats (char symbol)\fC [virtual]\fP" @@ -1606,10 +1606,10 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu .PP .PP -Definition at line 266 of file modules.cpp. +Definition at line 258 of file modules.cpp. .PP .nf -266 { }; +258 { }; .fi .PP .SS "void Module::OnSyncChannel (\fBchanrec\fP * chan, \fBModule\fP * proto, void * opaque)\fC [virtual]\fP" @@ -1631,18 +1631,18 @@ For a good example of how to use this function, please see src/modules/m_chanpro .PP .PP -Definition at line 288 of file modules.cpp. +Definition at line 280 of file modules.cpp. .PP .nf -288 { }; +280 { }; .fi .PP .SS "void Module::OnSyncChannelMetaData (\fBchanrec\fP * chan, \fBModule\fP * proto, void * opaque, \fBstd::string\fP extname)\fC [virtual]\fP" .PP -Definition at line 290 of file modules.cpp. +Definition at line 282 of file modules.cpp. .PP .nf -290 { }; +282 { }; .fi .PP .SS "void Module::OnSyncUser (\fBuserrec\fP * user, \fBModule\fP * proto, void * opaque)\fC [virtual]\fP" @@ -1662,18 +1662,18 @@ When this function is called, it will be called from the module which implements .PP .PP -Definition at line 287 of file modules.cpp. +Definition at line 279 of file modules.cpp. .PP .nf -287 { }; +279 { }; .fi .PP .SS "void Module::OnSyncUserMetaData (\fBuserrec\fP * user, \fBModule\fP * proto, void * opaque, \fBstd::string\fP extname)\fC [virtual]\fP" .PP -Definition at line 291 of file modules.cpp. +Definition at line 283 of file modules.cpp. .PP .nf -291 { }; +283 { }; .fi .PP .SS "void Module::OnUnloadModule (\fBModule\fP * mod, \fBstd::string\fP name)\fC [virtual]\fP" @@ -1691,10 +1691,10 @@ mod will contain a pointer to the module, and string will contain its name, for .PP .PP -Definition at line 253 of file modules.cpp. +Definition at line 245 of file modules.cpp. .PP .nf -253 { }; +245 { }; .fi .PP .SS "void Module::OnUserConnect (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -1710,10 +1710,10 @@ The details of the connecting user are available to you in the parameter userrec .PP .PP -Definition at line 230 of file modules.cpp. +Definition at line 222 of file modules.cpp. .PP .nf -230 { } +222 { } .fi .PP .SS "void Module::OnUserDisconnect (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -1729,10 +1729,10 @@ The details of the exiting user are available to you in the parameter userrec *u .PP .PP -Definition at line 232 of file modules.cpp. +Definition at line 224 of file modules.cpp. .PP .nf -232 { } +224 { } .fi .PP .SS "void Module::OnUserInvite (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel)\fC [virtual]\fP" @@ -1752,10 +1752,10 @@ You cannot prevent the invite from occuring using this function, to do that, use .PP .PP -Definition at line 284 of file modules.cpp. +Definition at line 276 of file modules.cpp. .PP .nf -284 { }; +276 { }; .fi .PP .SS "void Module::OnUserJoin (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP" @@ -1773,10 +1773,10 @@ The details of the joining user are available to you in the parameter userrec *u .PP .PP -Definition at line 233 of file modules.cpp. +Definition at line 225 of file modules.cpp. .PP .nf -233 { } +225 { } .fi .PP .SS "void Module::OnUserKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -1798,10 +1798,10 @@ If this method is called, the kick is already underway and cannot be prevented, .PP .PP -Definition at line 260 of file modules.cpp. +Definition at line 252 of file modules.cpp. .PP .nf -260 { }; +252 { }; .fi .PP .SS "void Module::OnUserMessage (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1823,10 +1823,10 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* .PP .PP -Definition at line 281 of file modules.cpp. +Definition at line 273 of file modules.cpp. .PP .nf -281 { }; +273 { }; .fi .PP .SS "void Module::OnUserNotice (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1848,10 +1848,10 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* .PP .PP -Definition at line 282 of file modules.cpp. +Definition at line 274 of file modules.cpp. .PP .nf -282 { }; +274 { }; .fi .PP .SS "void Module::OnUserPart (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP" @@ -1869,10 +1869,10 @@ The details of the leaving user are available to you in the parameter userrec *u .PP .PP -Definition at line 234 of file modules.cpp. +Definition at line 226 of file modules.cpp. .PP .nf -234 { } +226 { } .fi .PP .SS "void Module::OnUserPostNick (\fBuserrec\fP * user, \fBstd::string\fP oldnick)\fC [virtual]\fP" @@ -1890,10 +1890,10 @@ This can be used to track users after nickchanges have been applied. Please note .PP .PP -Definition at line 248 of file modules.cpp. +Definition at line 240 of file modules.cpp. .PP .nf -248 { }; +240 { }; .fi .PP .SS "int Module::OnUserPreInvite (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel)\fC [virtual]\fP" @@ -1918,10 +1918,10 @@ Returning 1 from this function stops the process immediately, causing no output .PP .PP -Definition at line 244 of file modules.cpp. +Definition at line 236 of file modules.cpp. .PP .nf -244 { return 0; }; +236 { return 0; }; .fi .PP .SS "int Module::OnUserPreJoin (\fBuserrec\fP * user, \fBchanrec\fP * chan, const char * cname)\fC [virtual]\fP" @@ -1948,10 +1948,10 @@ If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be .PP .PP -Definition at line 237 of file modules.cpp. +Definition at line 229 of file modules.cpp. .PP .nf -237 { return 0; } +229 { return 0; } .fi .PP .SS "int Module::OnUserPreKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -1978,10 +1978,10 @@ Returning a value of 1 from this function stops the process immediately, causing .PP .PP -Definition at line 259 of file modules.cpp. +Definition at line 251 of file modules.cpp. .PP .nf -259 { return 0; }; +251 { return 0; }; .fi .PP .SS "int Module::OnUserPreMessage (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP & text)\fC [virtual]\fP" @@ -2008,10 +2008,10 @@ Returning any nonzero value from this function stops the process immediately, ca .PP .PP -Definition at line 245 of file modules.cpp. +Definition at line 237 of file modules.cpp. .PP .nf -245 { return 0; }; +237 { return 0; }; .fi .PP .SS "int Module::OnUserPreNick (\fBuserrec\fP * user, \fBstd::string\fP newnick)\fC [virtual]\fP" @@ -2034,10 +2034,10 @@ This can be used to implement Q-lines etc. Please note that although you can see .PP .PP -Definition at line 247 of file modules.cpp. +Definition at line 239 of file modules.cpp. .PP .nf -247 { return 0; }; +239 { return 0; }; .fi .PP .SS "int Module::OnUserPreNotice (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP & text)\fC [virtual]\fP" @@ -2064,10 +2064,10 @@ Returning any nonzero value from this function stops the process immediately, ca .PP .PP -Definition at line 246 of file modules.cpp. +Definition at line 238 of file modules.cpp. .PP .nf -246 { return 0; }; +238 { return 0; }; .fi .PP .SS "void Module::OnUserQuit (\fBuserrec\fP * user, \fBstd::string\fP message)\fC [virtual]\fP" @@ -2085,10 +2085,10 @@ The details of the exiting user are available to you in the parameter userrec *u .PP .PP -Definition at line 231 of file modules.cpp. +Definition at line 223 of file modules.cpp. .PP .nf -231 { } +223 { } .fi .PP .SS "void Module::OnUserRegister (\fBuserrec\fP * user)\fC [virtual]\fP" @@ -2104,10 +2104,10 @@ before the user is sent the MOTD etc). Modules can use this method if they are p .PP .PP -Definition at line 258 of file modules.cpp. +Definition at line 250 of file modules.cpp. .PP .nf -258 { }; +250 { }; .fi .PP .SS "void Module::OnWallops (\fBuserrec\fP * user, \fBstd::string\fP text)\fC [virtual]\fP" @@ -2123,10 +2123,10 @@ Called after every WALLOPS command. .PP .PP -Definition at line 294 of file modules.cpp. +Definition at line 286 of file modules.cpp. .PP .nf -294 { }; +286 { }; .fi .PP .SS "void Module::OnWhois (\fBuserrec\fP * source, \fBuserrec\fP * dest)\fC [virtual]\fP" @@ -2144,10 +2144,10 @@ The source parameter contains the details of the user who issued the WHOIS comma .PP .PP -Definition at line 243 of file modules.cpp. +Definition at line 235 of file modules.cpp. .PP .nf -243 { }; +235 { }; .fi .PP .SS "void Module::ProtoSendMetaData (void * opaque, int target_type, void * target, \fBstd::string\fP extname, \fBstd::string\fP extdata)\fC [virtual]\fP" @@ -2173,10 +2173,10 @@ More documentation to follow soon. Please see src/modules/m_swhois.cpp for examp .PP .PP -Definition at line 293 of file modules.cpp. +Definition at line 285 of file modules.cpp. .PP .nf -293 { }; +285 { }; .fi .PP .SS "void Module::ProtoSendMode (void * opaque, int target_type, void * target, \fBstd::string\fP modeline)\fC [virtual]\fP" @@ -2200,10 +2200,10 @@ More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for .PP .PP -Definition at line 289 of file modules.cpp. +Definition at line 281 of file modules.cpp. .PP .nf -289 { }; +281 { }; .fi .PP diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3 index ecaf1ef9a..e9353856c 100644 --- a/docs/man/man3/Request.3 +++ b/docs/man/man3/Request.3 @@ -65,10 +65,10 @@ Definition at line 157 of file modules.h. .PP Create a new Request. .PP -Definition at line 173 of file modules.cpp. +Definition at line 165 of file modules.cpp. .PP .nf -173 : data(anydata), source(src), dest(dst) { }; +165 : data(anydata), source(src), dest(dst) { }; .fi .PP .SH "Member Function Documentation" @@ -77,42 +77,42 @@ Definition at line 173 of file modules.cpp. .PP Fetch the Request data. .PP -Definition at line 175 of file modules.cpp. +Definition at line 167 of file modules.cpp. .PP References data. .PP .nf -176 { -177 return this->data; -178 } +168 { +169 return this->data; +170 } .fi .PP .SS "\fBModule\fP * Request::GetDest ()" .PP Fetch the request destination (should be 'this' in the receiving module). .PP -Definition at line 185 of file modules.cpp. +Definition at line 177 of file modules.cpp. .PP References dest. .PP .nf -186 { -187 return this->dest; -188 } +178 { +179 return this->dest; +180 } .fi .PP .SS "\fBModule\fP * Request::GetSource ()" .PP Fetch the request source. .PP -Definition at line 180 of file modules.cpp. +Definition at line 172 of file modules.cpp. .PP References source. .PP .nf -181 { -182 return this->source; -183 } +173 { +174 return this->source; +175 } .fi .PP .SS "char * Request::Send ()\fC [virtual]\fP" @@ -123,21 +123,21 @@ Upon returning the result will be arbitary data returned by the module you sent .PP Implements \fBModuleMessage\fP. .PP -Definition at line 190 of file modules.cpp. +Definition at line 182 of file modules.cpp. .PP References dest, and Module::OnRequest(). .PP .nf -191 { -192 if (this->dest) -193 { -194 return dest->OnRequest(this); -195 } -196 else -197 { -198 return NULL; -199 } -200 } +183 { +184 if (this->dest) +185 { +186 return dest->OnRequest(this); +187 } +188 else +189 { +190 return NULL; +191 } +192 } .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3 index 0584cb751..415ab762b 100644 --- a/docs/man/man3/Server.3 +++ b/docs/man/man3/Server.3 @@ -124,7 +124,7 @@ Inherits \fBclassbase\fP. .br .RI "\fIAdds an extended mode letter which is parsed by a module and handled in a list fashion. \fP" .ti -1c -.RI "virtual void \fBAddCommand\fP (char *cmd, handlerfunc f, char flags, int minparams, char *source)" +.RI "virtual void \fBAddCommand\fP (char *cmd, \fBhandlerfunc\fP f, char flags, int minparams, char *source)" .br .RI "\fIAdds a command to the command table. \fP" .ti -1c @@ -265,11 +265,11 @@ Default constructor. .PP Creates a Server object. .PP -Definition at line 313 of file modules.cpp. +Definition at line 305 of file modules.cpp. .PP .nf -314 { -315 } +306 { +307 } .fi .PP .SS "Server::~Server ()\fC [virtual]\fP" @@ -278,16 +278,16 @@ Default destructor. .PP Destroys a Server object. .PP -Definition at line 317 of file modules.cpp. +Definition at line 309 of file modules.cpp. .PP .nf -318 { -319 } +310 { +311 } .fi .PP .SH "Member Function Documentation" .PP -.SS "void Server::AddCommand (char * cmd, handlerfunc f, char flags, int minparams, char * source)\fC [virtual]\fP" +.SS "void Server::AddCommand (char * cmd, \fBhandlerfunc\fP f, char flags, int minparams, char * source)\fC [virtual]\fP" .PP Adds a command to the command table. .PP @@ -297,14 +297,14 @@ typedef void (handlerfunc) (char**, int, userrec*); ... void \fBhandle_kill(char .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. .PP -Definition at line 419 of file modules.cpp. +Definition at line 411 of file modules.cpp. .PP References createcommand(). .PP .nf -420 { -421 createcommand(cmd,f,flags,minparams,source); -422 } +412 { +413 createcommand(cmd,f,flags,minparams,source); +414 } .fi .PP .SS "void Server::AddELine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -313,14 +313,14 @@ Adds a E-line The E-line is enforced as soon as it is added. .PP 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. .PP -Definition at line 663 of file modules.cpp. +Definition at line 655 of file modules.cpp. .PP References add_eline(). .PP .nf -664 { -665 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -666 } +656 { +657 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +658 } .fi .PP .SS "bool Server::AddExtendedListMode (char modechar)\fC [virtual]\fP" @@ -337,19 +337,19 @@ This call is used to implement modes like +q and +a. The characteristics of thes .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. +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 \fBServer::Find\fP 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. .PP -Definition at line 587 of file modules.cpp. +Definition at line 579 of file modules.cpp. .PP References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL. .PP .nf -588 { -589 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); -590 if (res) -591 ModeMakeList(modechar); -592 return res; -593 } +580 { +581 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1); +582 if (res) +583 ModeMakeList(modechar); +584 return res; +585 } .fi .PP .SS "bool Server::AddExtendedMode (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)\fC [virtual]\fP" @@ -358,37 +358,37 @@ Adds an extended mode letter which is parsed by a module. .PP 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. .PP -Definition at line 559 of file modules.cpp. +Definition at line 551 of file modules.cpp. .PP -References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER. +References DEBUG, DoAddExtendedMode(), log(), MT_CLIENT, and MT_SERVER. .PP .nf -560 { -561 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z'))) -562 { -563 if (type == MT_SERVER) -564 { -565 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion'); -566 return false; -567 } -568 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) -569 { -570 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported'); -571 return false; -572 } -573 if ((params_when_on>1) || (params_when_off>1)) -574 { -575 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported'); -576 return false; -577 } -578 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); -579 } -580 else -581 { -582 log(DEBUG,'*** API ERROR *** Muppet modechar detected.'); -583 } -584 return false; -585 } +552 { +553 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z'))) +554 { +555 if (type == MT_SERVER) +556 { +557 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion'); +558 return false; +559 } +560 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +561 { +562 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported'); +563 return false; +564 } +565 if ((params_when_on>1) || (params_when_off>1)) +566 { +567 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported'); +568 return false; +569 } +570 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +571 } +572 else +573 { +574 log(DEBUG,'*** API ERROR *** Muppet modechar detected.'); +575 } +576 return false; +577 } .fi .PP .SS "void Server::AddGLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -397,14 +397,14 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf .PP 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. .PP -Definition at line 643 of file modules.cpp. +Definition at line 635 of file modules.cpp. .PP References add_gline(). .PP .nf -644 { -645 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -646 } +636 { +637 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +638 } .fi .PP .SS "void Server::AddKLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP" @@ -413,14 +413,14 @@ Adds a K-line The K-line is enforced as soon as it is added. .PP 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. .PP -Definition at line 658 of file modules.cpp. +Definition at line 650 of file modules.cpp. .PP References add_kline(). .PP .nf -659 { -660 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -661 } +651 { +652 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +653 } .fi .PP .SS "void Server::AddQLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP nickname)\fC [virtual]\fP" @@ -429,28 +429,28 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf .PP 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. .PP -Definition at line 648 of file modules.cpp. +Definition at line 640 of file modules.cpp. .PP References add_qline(). .PP .nf -649 { -650 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); -651 } +641 { +642 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); +643 } .fi .PP .SS "void Server::AddSocket (\fBInspSocket\fP * sock)\fC [virtual]\fP" .PP Adds a class derived from \fBInspSocket\fP to the server's socket engine. .PP -Definition at line 321 of file modules.cpp. +Definition at line 313 of file modules.cpp. .PP References module_sockets. .PP .nf -322 { -323 module_sockets.push_back(sock); -324 } +314 { +315 module_sockets.push_back(sock); +316 } .fi .PP .SS "void Server::AddZLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP ipaddr)\fC [virtual]\fP" @@ -459,14 +459,14 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf .PP 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. .PP -Definition at line 653 of file modules.cpp. +Definition at line 645 of file modules.cpp. .PP References add_zline(). .PP .nf -654 { -655 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -656 } +646 { +647 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +648 } .fi .PP .SS "long Server::CalcDuration (\fBstd::string\fP duration)\fC [virtual]\fP" @@ -475,14 +475,14 @@ Calculates a duration This method will take a string containing a formatted dura .PP '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. .PP -Definition at line 693 of file modules.cpp. +Definition at line 685 of file modules.cpp. .PP References duration(). .PP .nf -694 { -695 return duration(delta.c_str()); -696 } +686 { +687 return duration(delta.c_str()); +688 } .fi .PP .SS "void Server::CallCommandHandler (\fBstd::string\fP commandname, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" @@ -493,12 +493,14 @@ You can use this function to trigger other commands in the ircd, such as PRIVMSG .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. .PP -Definition at line 404 of file modules.cpp. +Definition at line 396 of file modules.cpp. +.PP +References call_handler(). .PP .nf -405 { -406 call_handler(commandname.c_str(),parameters,pcnt,user); -407 } +397 { +398 call_handler(commandname.c_str(),parameters,pcnt,user); +399 } .fi .PP .SS "void Server::ChangeGECOS (\fBuserrec\fP * user, \fBstd::string\fP gecos)\fC [virtual]\fP" @@ -507,14 +509,14 @@ Change GECOS (fullname) of a user. .PP 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. .PP -Definition at line 502 of file modules.cpp. +Definition at line 494 of file modules.cpp. .PP References ChangeName(). .PP .nf -503 { -504 ChangeName(user,gecos.c_str()); -505 } +495 { +496 ChangeName(user,gecos.c_str()); +497 } .fi .PP .SS "void Server::ChangeHost (\fBuserrec\fP * user, \fBstd::string\fP host)\fC [virtual]\fP" @@ -523,14 +525,14 @@ Change displayed hostname of a user. .PP 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. .PP -Definition at line 497 of file modules.cpp. +Definition at line 489 of file modules.cpp. .PP References ChangeDisplayedHost(). .PP .nf -498 { -499 ChangeDisplayedHost(user,host.c_str()); -500 } +490 { +491 ChangeDisplayedHost(user,host.c_str()); +492 } .fi .PP .SS "void Server::ChangeUserNick (\fBuserrec\fP * user, \fBstd::string\fP nickname)\fC [virtual]\fP" @@ -539,12 +541,14 @@ Forces a user nickchange. .PP 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. .PP -Definition at line 389 of file modules.cpp. +Definition at line 381 of file modules.cpp. +.PP +References force_nickchange(). .PP .nf -390 { -391 force_nickchange(user,nickname.c_str()); -392 } +382 { +383 force_nickchange(user,nickname.c_str()); +384 } .fi .PP .SS "\fBstd::string\fP Server::ChanMode (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP" @@ -553,14 +557,14 @@ Attempts to look up a user's privilages on a channel. .PP This function will return a string containing either @, %, +, or an empty string, representing the user's privilages upon the channel you specify. .PP -Definition at line 527 of file modules.cpp. +Definition at line 519 of file modules.cpp. .PP References cmode(). .PP .nf -528 { -529 return cmode(User,Chan); -530 } +520 { +521 return cmode(User,Chan); +522 } .fi .PP .SS "bool Server::CommonChannels (\fBuserrec\fP * u1, \fBuserrec\fP * u2)\fC [virtual]\fP" @@ -569,14 +573,14 @@ Returns true if two users share a common channel. .PP This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method. .PP -Definition at line 475 of file modules.cpp. +Definition at line 467 of file modules.cpp. .PP References common_channels(). .PP .nf -476 { -477 return (common_channels(u1,u2) != 0); -478 } +468 { +469 return (common_channels(u1,u2) != 0); +470 } .fi .PP .SS "int Server::CountUsers (\fBchanrec\fP * c)\fC [virtual]\fP" @@ -585,103 +589,103 @@ Returns a count of the number of users on a channel. .PP This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel. .PP -Definition at line 595 of file modules.cpp. +Definition at line 587 of file modules.cpp. .PP .nf -596 { -597 return usercount(c); -598 } +588 { +589 return usercount(c); +590 } .fi .PP .SS "bool Server::DelELine (\fBstd::string\fP hostmask)\fC [virtual]\fP" .PP Deletes a local E-Line. .PP -Definition at line 688 of file modules.cpp. +Definition at line 680 of file modules.cpp. .PP References del_eline(). .PP .nf -689 { -690 return del_eline(hostmask.c_str()); -691 } +681 { +682 return del_eline(hostmask.c_str()); +683 } .fi .PP .SS "bool Server::DelGLine (\fBstd::string\fP hostmask)\fC [virtual]\fP" .PP Deletes a G-Line from all servers on the mesh. .PP -Definition at line 668 of file modules.cpp. +Definition at line 660 of file modules.cpp. .PP References del_gline(). .PP .nf -669 { -670 return del_gline(hostmask.c_str()); -671 } +661 { +662 return del_gline(hostmask.c_str()); +663 } .fi .PP .SS "bool Server::DelKLine (\fBstd::string\fP hostmask)\fC [virtual]\fP" .PP Deletes a local K-Line. .PP -Definition at line 683 of file modules.cpp. +Definition at line 675 of file modules.cpp. .PP References del_kline(). .PP .nf -684 { -685 return del_kline(hostmask.c_str()); -686 } +676 { +677 return del_kline(hostmask.c_str()); +678 } .fi .PP .SS "bool Server::DelQLine (\fBstd::string\fP nickname)\fC [virtual]\fP" .PP Deletes a Q-Line from all servers on the mesh. .PP -Definition at line 673 of file modules.cpp. +Definition at line 665 of file modules.cpp. .PP References del_qline(). .PP .nf -674 { -675 return del_qline(nickname.c_str()); -676 } +666 { +667 return del_qline(nickname.c_str()); +668 } .fi .PP .SS "void Server::DelSocket (\fBInspSocket\fP * sock)\fC [virtual]\fP" .PP Deletes a class derived from \fBInspSocket\fP from the server's socket engine. .PP -Definition at line 337 of file modules.cpp. +Definition at line 329 of file modules.cpp. .PP References module_sockets. .PP .nf -338 { -339 for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) -340 { -341 if (*a == sock) -342 { -343 module_sockets.erase(a); -344 return; -345 } -346 } -347 } +330 { +331 for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) +332 { +333 if (*a == sock) +334 { +335 module_sockets.erase(a); +336 return; +337 } +338 } +339 } .fi .PP .SS "bool Server::DelZLine (\fBstd::string\fP ipaddr)\fC [virtual]\fP" .PP Deletes a Z-Line from all servers on the mesh. .PP -Definition at line 678 of file modules.cpp. +Definition at line 670 of file modules.cpp. .PP References del_zline(). .PP .nf -679 { -680 return del_zline(ipaddr.c_str()); -681 } +671 { +672 return del_zline(ipaddr.c_str()); +673 } .fi .PP .SS "\fBchanrec\fP * Server::FindChannel (\fBstd::string\fP channel)\fC [virtual]\fP" @@ -690,12 +694,14 @@ Attempts to look up a channel and return a pointer to it. .PP This function will return NULL if the channel does not exist. .PP -Definition at line 522 of file modules.cpp. +Definition at line 514 of file modules.cpp. +.PP +References FindChan(). .PP .nf -523 { -524 return FindChan(channel.c_str()); -525 } +515 { +516 return FindChan(channel.c_str()); +517 } .fi .PP .SS "\fBuserrec\fP * Server::FindDescriptor (int socket)\fC [virtual]\fP" @@ -704,12 +710,12 @@ Attempts to look up a nick using the file descriptor associated with that nick. .PP This function will return NULL if the file descriptor is not associated with a valid user. .PP -Definition at line 517 of file modules.cpp. +Definition at line 509 of file modules.cpp. .PP .nf -518 { -519 return (socket < 65536 ? fd_ref_table[socket] : NULL); -520 } +510 { +511 return (socket < 65536 ? fd_ref_table[socket] : NULL); +512 } .fi .PP .SS "\fBModule\fP * Server::FindModule (\fBstd::string\fP name)\fC [virtual]\fP" @@ -718,21 +724,21 @@ This function finds a module by name. .PP You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL. .PP -Definition at line 727 of file modules.cpp. +Definition at line 719 of file modules.cpp. .PP References MODCOUNT, ServerConfig::module_names, and modules. .PP .nf -728 { -729 for (int i = 0; i <= MODCOUNT; i++) -730 { -731 if (Config->module_names[i] == name) -732 { -733 return modules[i]; -734 } -735 } -736 return NULL; -737 } +720 { +721 for (int i = 0; i <= MODCOUNT; i++) +722 { +723 if (Config->module_names[i] == name) +724 { +725 return modules[i]; +726 } +727 } +728 return NULL; +729 } .fi .PP .SS "\fBuserrec\fP * Server::FindNick (\fBstd::string\fP nick)\fC [virtual]\fP" @@ -741,12 +747,14 @@ Attempts to look up a nick and return a pointer to it. .PP This function will return NULL if the nick does not exist. .PP -Definition at line 512 of file modules.cpp. +Definition at line 504 of file modules.cpp. +.PP +References Find(). .PP .nf -513 { -514 return Find(nick); -515 } +505 { +506 return Find(nick); +507 } .fi .PP .SS "\fBAdmin\fP Server::GetAdmin ()\fC [virtual]\fP" @@ -755,12 +763,14 @@ Returns the information of the server as returned by the /ADMIN command. .PP 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. .PP -Definition at line 552 of file modules.cpp. +Definition at line 544 of file modules.cpp. +.PP +References ServerConfig::AdminEmail, ServerConfig::AdminName, and ServerConfig::AdminNick. .PP .nf -553 { -554 return Admin(getadminname(),getadminemail(),getadminnick()); -555 } +545 { +546 return Admin(Config->AdminName,Config->AdminEmail,Config->AdminNick); +547 } .fi .PP .SS "\fBServerConfig\fP * Server::GetConfig ()" @@ -769,48 +779,54 @@ Obtains a pointer to the server's \fBServerConfig\fP object. .PP The \fBServerConfig\fP object contains most of the configuration data of the IRC server, as read from the config file by the core. .PP -Definition at line 332 of file modules.cpp. +Definition at line 324 of file modules.cpp. .PP .nf -333 { -334 return Config; -335 } +325 { +326 return Config; +327 } .fi .PP .SS "\fBstd::string\fP Server::GetNetworkName ()\fC [virtual]\fP" .PP Returns the network name, global to all linked servers. .PP -Definition at line 542 of file modules.cpp. +Definition at line 534 of file modules.cpp. +.PP +References ServerConfig::Network. .PP .nf -543 { -544 return getnetworkname(); -545 } +535 { +536 return Config->Network; +537 } .fi .PP .SS "\fBstd::string\fP Server::GetServerDescription ()\fC [virtual]\fP" .PP Returns the server description string of the local server. .PP -Definition at line 547 of file modules.cpp. +Definition at line 539 of file modules.cpp. +.PP +References ServerConfig::ServerDesc. .PP .nf -548 { -549 return getserverdesc(); -550 } +540 { +541 return Config->ServerDesc; +542 } .fi .PP .SS "\fBstd::string\fP Server::GetServerName ()\fC [virtual]\fP" .PP Returns the server name of the server where the module is loaded. .PP -Definition at line 537 of file modules.cpp. +Definition at line 529 of file modules.cpp. +.PP +References ServerConfig::ServerName. .PP .nf -538 { -539 return getservername(); -540 } +530 { +531 return Config->ServerName; +532 } .fi .PP .SS "\fBchanuserlist\fP Server::GetUsers (\fBchanrec\fP * chan)\fC [virtual]\fP" @@ -819,22 +835,22 @@ Fetches the userlist of a channel. .PP This function must be here and not a member of userrec or chanrec due to include constraints. .PP -Definition at line 377 of file modules.cpp. +Definition at line 369 of file modules.cpp. .PP References chanrec::GetUsers(). .PP .nf -378 { -379 chanuserlist userl; -380 userl.clear(); -381 std::vector<char*> *list = chan->GetUsers(); -382 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -383 { -384 char* o = *i; -385 userl.push_back((userrec*)o); -386 } -387 return userl; -388 } +370 { +371 chanuserlist userl; +372 userl.clear(); +373 std::vector<char*> *list = chan->GetUsers(); +374 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +375 { +376 char* o = *i; +377 userl.push_back((userrec*)o); +378 } +379 return userl; +380 } .fi .PP .SS "bool Server::IsNick (\fBstd::string\fP nick)\fC [virtual]\fP" @@ -843,14 +859,14 @@ Returns true if a nick is valid. .PP Nicks for unregistered connections will return false. .PP -Definition at line 507 of file modules.cpp. +Definition at line 499 of file modules.cpp. .PP References isnick(). .PP .nf -508 { -509 return (isnick(nick.c_str()) != 0); -510 } +500 { +501 return (isnick(nick.c_str()) != 0); +502 } .fi .PP .SS "bool Server::IsOnChannel (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP" @@ -859,14 +875,14 @@ Checks if a user is on a channel. .PP This function will return true or false to indicate if user 'User' is on channel 'Chan'. .PP -Definition at line 532 of file modules.cpp. +Definition at line 524 of file modules.cpp. .PP References has_channel(). .PP .nf -533 { -534 return has_channel(User,Chan); -535 } +525 { +526 return has_channel(User,Chan); +527 } .fi .PP .SS "bool Server::IsUlined (\fBstd::string\fP server)\fC [virtual]\fP" @@ -875,60 +891,62 @@ Returns true if the servername you give is ulined. .PP 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. .PP -Definition at line 399 of file modules.cpp. +Definition at line 391 of file modules.cpp. .PP References is_uline(). .PP .nf -400 { -401 return is_uline(server.c_str()); -402 } +392 { +393 return is_uline(server.c_str()); +394 } .fi .PP .SS "bool Server::IsValidMask (\fBstd::string\fP mask)\fC [virtual]\fP" .PP Returns true if a nick!ident string is correctly formatted, false if otherwise. .PP -Definition at line 698 of file modules.cpp. +Definition at line 690 of file modules.cpp. .PP .nf -699 { -700 const char* dest = mask.c_str(); -701 if (strchr(dest,'!')==0) -702 return false; -703 if (strchr(dest,'@')==0) -704 return false; -705 for (unsigned int i = 0; i < strlen(dest); i++) -706 if (dest[i] < 32) -707 return false; -708 for (unsigned int i = 0; i < strlen(dest); i++) -709 if (dest[i] > 126) -710 return false; -711 unsigned int c = 0; -712 for (unsigned int i = 0; i < strlen(dest); i++) -713 if (dest[i] == '!') -714 c++; -715 if (c>1) -716 return false; -717 c = 0; -718 for (unsigned int i = 0; i < strlen(dest); i++) -719 if (dest[i] == '@') -720 c++; -721 if (c>1) -722 return false; -723 -724 return true; -725 } +691 { +692 const char* dest = mask.c_str(); +693 if (strchr(dest,'!')==0) +694 return false; +695 if (strchr(dest,'@')==0) +696 return false; +697 for (unsigned int i = 0; i < strlen(dest); i++) +698 if (dest[i] < 32) +699 return false; +700 for (unsigned int i = 0; i < strlen(dest); i++) +701 if (dest[i] > 126) +702 return false; +703 unsigned int c = 0; +704 for (unsigned int i = 0; i < strlen(dest); i++) +705 if (dest[i] == '!') +706 c++; +707 if (c>1) +708 return false; +709 c = 0; +710 for (unsigned int i = 0; i < strlen(dest); i++) +711 if (dest[i] == '@') +712 c++; +713 if (c>1) +714 return false; +715 +716 return true; +717 } .fi .PP .SS "bool Server::IsValidModuleCommand (\fBstd::string\fP commandname, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" .PP -Definition at line 409 of file modules.cpp. +Definition at line 401 of file modules.cpp. +.PP +References is_valid_cmd(). .PP .nf -410 { -411 return is_valid_cmd(commandname.c_str(), pcnt, user); -412 } +402 { +403 return is_valid_cmd(commandname.c_str(), pcnt, user); +404 } .fi .PP .SS "\fBchanrec\fP * Server::JoinUserToChannel (\fBuserrec\fP * user, \fBstd::string\fP cname, \fBstd::string\fP key)\fC [virtual]\fP" @@ -937,12 +955,14 @@ Forces a user to join a channel. .PP 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. .PP -Definition at line 367 of file modules.cpp. +Definition at line 359 of file modules.cpp. +.PP +References add_channel(). .PP .nf -368 { -369 return add_channel(user,cname.c_str(),key.c_str(),false); -370 } +360 { +361 return add_channel(user,cname.c_str(),key.c_str(),false); +362 } .fi .PP .SS "void Server::Log (int level, \fBstd::string\fP s)\fC [virtual]\fP" @@ -951,12 +971,14 @@ Writes a log string. .PP 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. .PP -Definition at line 414 of file modules.cpp. +Definition at line 406 of file modules.cpp. +.PP +References log(). .PP .nf -415 { -416 log(level,'%s',s.c_str()); -417 } +407 { +408 log(level,'%s',s.c_str()); +409 } .fi .PP .SS "bool Server::MatchText (\fBstd::string\fP sliteral, \fBstd::string\fP spattern)\fC [virtual]\fP" @@ -965,15 +987,15 @@ Matches text against a glob pattern. .PP 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. .PP -Definition at line 354 of file modules.cpp. +Definition at line 346 of file modules.cpp. .PP .nf -355 { -356 char literal[MAXBUF],pattern[MAXBUF]; -357 strlcpy(literal,sliteral.c_str(),MAXBUF); -358 strlcpy(pattern,spattern.c_str(),MAXBUF); -359 return match(literal,pattern); -360 } +347 { +348 char literal[MAXBUF],pattern[MAXBUF]; +349 strlcpy(literal,sliteral.c_str(),MAXBUF); +350 strlcpy(pattern,spattern.c_str(),MAXBUF); +351 return match(literal,pattern); +352 } .fi .PP .SS "\fBchanrec\fP * Server::PartUserFromChannel (\fBuserrec\fP * user, \fBstd::string\fP cname, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -982,12 +1004,14 @@ Forces a user to part a channel. .PP 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. .PP -Definition at line 372 of file modules.cpp. +Definition at line 364 of file modules.cpp. +.PP +References del_channel(). .PP .nf -373 { -374 return del_channel(user,cname.c_str(),reason.c_str(),false); -375 } +365 { +366 return del_channel(user,cname.c_str(),reason.c_str(),false); +367 } .fi .PP .SS "bool Server::PseudoToUser (\fBuserrec\fP * alive, \fBuserrec\fP * zombie, \fBstd::string\fP message)\fC [virtual]\fP" @@ -996,39 +1020,39 @@ This user takes one user, and switches their file descriptor with another user, .PP 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. .PP -Definition at line 613 of file modules.cpp. +Definition at line 605 of file modules.cpp. .PP -References userrec::chans, userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset. +References userrec::chans, userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, kill_link(), chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, chanrec::topicset, Write(), WriteFrom(), and WriteServ(). .PP .nf -614 { -615 zombie->fd = alive->fd; -616 alive->fd = FD_MAGIC_NUMBER; -617 alive->ClearBuffer(); -618 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick); -619 kill_link(alive,message.c_str()); -620 fd_ref_table[zombie->fd] = zombie; -621 for (unsigned int i = 0; i < zombie->chans.size(); i++) -622 { -623 if (zombie->chans[i].channel != NULL) -624 { -625 if (zombie->chans[i].channel->name) -626 { -627 chanrec* Ptr = zombie->chans[i].channel; -628 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name); -629 if (Ptr->topicset) -630 { -631 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic); -632 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); -633 } -634 userlist(zombie,Ptr); -635 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name); -636 -637 } -638 } -639 } -640 return true; -641 } +606 { +607 zombie->fd = alive->fd; +608 alive->fd = FD_MAGIC_NUMBER; +609 alive->ClearBuffer(); +610 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick); +611 kill_link(alive,message.c_str()); +612 fd_ref_table[zombie->fd] = zombie; +613 for (unsigned int i = 0; i < zombie->chans.size(); i++) +614 { +615 if (zombie->chans[i].channel != NULL) +616 { +617 if (zombie->chans[i].channel->name) +618 { +619 chanrec* Ptr = zombie->chans[i].channel; +620 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name); +621 if (Ptr->topicset) +622 { +623 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic); +624 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset); +625 } +626 userlist(zombie,Ptr); +627 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name); +628 +629 } +630 } +631 } +632 return true; +633 } .fi .PP .SS "void Server::QuitUser (\fBuserrec\fP * user, \fBstd::string\fP reason)\fC [virtual]\fP" @@ -1041,25 +1065,27 @@ 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. .PP -Definition at line 394 of file modules.cpp. +Definition at line 386 of file modules.cpp. +.PP +References kill_link(). .PP .nf -395 { -396 kill_link(user,reason.c_str()); -397 } +387 { +388 kill_link(user,reason.c_str()); +389 } .fi .PP .SS "void Server::RehashServer ()\fC [virtual]\fP" .PP -Definition at line 326 of file modules.cpp. +Definition at line 318 of file modules.cpp. .PP -References ServerConfig::Read(). +References ServerConfig::Read(), and WriteOpers(). .PP .nf -327 { -328 WriteOpers('*** Rehashing config file'); -329 Config->Read(false,NULL); -330 } +319 { +320 WriteOpers('*** Rehashing config file'); +321 Config->Read(false,NULL); +322 } .fi .PP .SS "void Server::Send (int Socket, \fBstd::string\fP s)\fC [virtual]\fP" @@ -1068,12 +1094,14 @@ Sends a line of text down a TCP/IP socket. .PP This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required. .PP -Definition at line 429 of file modules.cpp. +Definition at line 421 of file modules.cpp. +.PP +References Write(). .PP .nf -430 { -431 Write(Socket,'%s',s.c_str()); -432 } +422 { +423 Write(Socket,'%s',s.c_str()); +424 } .fi .PP .SS "void Server::SendChannel (\fBuserrec\fP * User, \fBchanrec\fP * Channel, \fBstd::string\fP s, bool IncludeSender)\fC [virtual]\fP" @@ -1082,19 +1110,21 @@ Sends text from a user to a channel (mulicast). .PP 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). .PP -Definition at line 463 of file modules.cpp. +Definition at line 455 of file modules.cpp. +.PP +References ChanExceptSender(), and WriteChannel(). .PP .nf -464 { -465 if (IncludeSender) -466 { -467 WriteChannel(Channel,User,'%s',s.c_str()); -468 } -469 else -470 { -471 ChanExceptSender(Channel,User,'%s',s.c_str()); -472 } -473 } +456 { +457 if (IncludeSender) +458 { +459 WriteChannel(Channel,User,'%s',s.c_str()); +460 } +461 else +462 { +463 ChanExceptSender(Channel,User,'%s',s.c_str()); +464 } +465 } .fi .PP .SS "void Server::SendChannelServerNotice (\fBstd::string\fP ServName, \fBchanrec\fP * Channel, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1103,12 +1133,12 @@ Writes text to a channel, but from a server, including all. .PP This can be used to send server notices to a group of users. .PP -Definition at line 458 of file modules.cpp. +Definition at line 450 of file modules.cpp. .PP .nf -459 { -460 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str()); -461 } +451 { +452 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str()); +453 } .fi .PP .SS "void Server::SendCommon (\fBuserrec\fP * User, \fBstd::string\fP text, bool IncludeSender)\fC [virtual]\fP" @@ -1117,19 +1147,21 @@ Sends text from a user to one or more channels (mulicast). .PP 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. .PP -Definition at line 480 of file modules.cpp. +Definition at line 472 of file modules.cpp. +.PP +References WriteCommon(), and WriteCommonExcept(). .PP .nf -481 { -482 if (IncludeSender) -483 { -484 WriteCommon(User,'%s',text.c_str()); -485 } -486 else -487 { -488 WriteCommonExcept(User,'%s',text.c_str()); -489 } -490 } +473 { +474 if (IncludeSender) +475 { +476 WriteCommon(User,'%s',text.c_str()); +477 } +478 else +479 { +480 WriteCommonExcept(User,'%s',text.c_str()); +481 } +482 } .fi .PP .SS "void Server::SendFrom (int Socket, \fBuserrec\fP * User, \fBstd::string\fP s)\fC [virtual]\fP" @@ -1138,12 +1170,14 @@ Sends text from a user to a socket. .PP 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) .PP -Definition at line 439 of file modules.cpp. +Definition at line 431 of file modules.cpp. +.PP +References WriteFrom(). .PP .nf -440 { -441 WriteFrom(Socket,User,'%s',s.c_str()); -442 } +432 { +433 WriteFrom(Socket,User,'%s',s.c_str()); +434 } .fi .PP .SS "void Server::SendMode (char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP" @@ -1166,14 +1200,14 @@ 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! .PP -Definition at line 424 of file modules.cpp. +Definition at line 416 of file modules.cpp. .PP References server_mode(). .PP .nf -425 { -426 server_mode(parameters,pcnt,user); -427 } +417 { +418 server_mode(parameters,pcnt,user); +419 } .fi .PP .SS "void Server::SendOpers (\fBstd::string\fP s)\fC [virtual]\fP" @@ -1182,12 +1216,14 @@ Sends text to all opers. .PP This method sends a server notice to all opers with the usermode +s. .PP -Definition at line 349 of file modules.cpp. +Definition at line 341 of file modules.cpp. +.PP +References WriteOpers(). .PP .nf -350 { -351 WriteOpers('%s',s.c_str()); -352 } +342 { +343 WriteOpers('%s',s.c_str()); +344 } .fi .PP .SS "void Server::SendServ (int Socket, \fBstd::string\fP s)\fC [virtual]\fP" @@ -1196,12 +1232,14 @@ Sends text from the server to a socket. .PP This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459) .PP -Definition at line 434 of file modules.cpp. +Definition at line 426 of file modules.cpp. +.PP +References WriteServ(). .PP .nf -435 { -436 WriteServ(Socket,'%s',s.c_str()); -437 } +427 { +428 WriteServ(Socket,'%s',s.c_str()); +429 } .fi .PP .SS "void Server::SendTo (\fBuserrec\fP * Source, \fBuserrec\fP * Dest, \fBstd::string\fP s)\fC [virtual]\fP" @@ -1218,23 +1256,23 @@ The format will become: .PP Which is useful for numerics and server notices to single users, etc. .PP -Definition at line 444 of file modules.cpp. +Definition at line 436 of file modules.cpp. .PP -References connection::fd. +References connection::fd, Write(), and WriteTo(). .PP .nf -445 { -446 if (!Source) -447 { -448 // if source is NULL, then the message originates from the local server -449 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str()); -450 } -451 else -452 { -453 // otherwise it comes from the user specified -454 WriteTo(Source,Dest,'%s',s.c_str()); -455 } -456 } +437 { +438 if (!Source) +439 { +440 // if source is NULL, then the message originates from the local server +441 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str()); +442 } +443 else +444 { +445 // otherwise it comes from the user specified +446 WriteTo(Source,Dest,'%s',s.c_str()); +447 } +448 } .fi .PP .SS "void Server::SendToModeMask (\fBstd::string\fP modes, int flags, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1247,12 +1285,12 @@ 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. .PP -Definition at line 362 of file modules.cpp. +Definition at line 354 of file modules.cpp. .PP .nf -363 { -364 WriteMode(modes.c_str(),flags,'%s',text.c_str()); -365 } +355 { +356 WriteMode(modes.c_str(),flags,'%s',text.c_str()); +357 } .fi .PP .SS "void Server::SendWallops (\fBuserrec\fP * User, \fBstd::string\fP text)\fC [virtual]\fP" @@ -1261,12 +1299,14 @@ Sends a WALLOPS message. .PP This method writes a WALLOPS message to all users with the +w flag, originating from the specified user. .PP -Definition at line 492 of file modules.cpp. +Definition at line 484 of file modules.cpp. +.PP +References WriteWallOps(). .PP .nf -493 { -494 WriteWallOps(User,false,'%s',text.c_str()); -495 } +485 { +486 WriteWallOps(User,false,'%s',text.c_str()); +487 } .fi .PP .SS "bool Server::UserToPseudo (\fBuserrec\fP * user, \fBstd::string\fP message)\fC [virtual]\fP" @@ -1275,21 +1315,21 @@ Remove a user's connection to the irc server, but leave their client in existenc .PP 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. .PP -Definition at line 601 of file modules.cpp. +Definition at line 593 of file modules.cpp. .PP -References userrec::ClearBuffer(), SocketEngine::DelFd(), connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident. +References userrec::ClearBuffer(), SocketEngine::DelFd(), connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, and Write(). .PP .nf -602 { -603 unsigned int old_fd = user->fd; -604 user->fd = FD_MAGIC_NUMBER; -605 user->ClearBuffer(); -606 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str()); -607 SE->DelFd(old_fd); -608 shutdown(old_fd,2); -609 close(old_fd); -610 return true; -611 } +594 { +595 unsigned int old_fd = user->fd; +596 user->fd = FD_MAGIC_NUMBER; +597 user->ClearBuffer(); +598 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str()); +599 SE->DelFd(old_fd); +600 shutdown(old_fd,2); +601 close(old_fd); +602 return true; +603 } .fi .PP diff --git a/docs/man/man3/ServerConfig.3 b/docs/man/man3/ServerConfig.3 index 8a713cdc1..18db5e7a1 100644 --- a/docs/man/man3/ServerConfig.3 +++ b/docs/man/man3/ServerConfig.3 @@ -187,6 +187,10 @@ Inherits \fBclassbase\fP. .RI "std::vector< \fBstd::string\fP > \fBmodule_names\fP" .br .RI "\fIA list of module names (names only, no paths) which are currently loaded by the server. \fP" +.ti -1c +.RI "int \fBports\fP [255]" +.br +.RI "\fIA list of ports which the server is listening on. \fP" .in -1c .SS "Private Member Functions" @@ -271,16 +275,22 @@ Definition at line 216 of file inspircd_io.h. Holds the email address of the admin, for output in the /ADMIN command. .PP Definition at line 89 of file inspircd_io.h. +.PP +Referenced by Server::GetAdmin(). .SS "char \fBServerConfig::AdminName\fP[MAXBUF]" .PP Holds the admin's name, for output in the /ADMIN command. .PP Definition at line 84 of file inspircd_io.h. +.PP +Referenced by Server::GetAdmin(). .SS "char \fBServerConfig::AdminNick\fP[MAXBUF]" .PP Holds the admin's nickname, for output in the /ADMIN command. .PP Definition at line 94 of file inspircd_io.h. +.PP +Referenced by Server::GetAdmin(). .SS "bool \fBServerConfig::AllowHalfop\fP" .PP If this value is true, halfops have been enabled in the configuration file. @@ -401,6 +411,8 @@ Definition at line 182 of file inspircd_io.h. .SS "char \fBServerConfig::Network\fP[MAXBUF]" .PP Definition at line 74 of file inspircd_io.h. +.PP +Referenced by Server::GetNetworkName(). .SS "bool \fBServerConfig::nofork\fP" .PP If this value is true, the owner of the server specified -nofork on the command line, causing the daemon to stay in the foreground. @@ -411,6 +423,11 @@ Definition at line 158 of file inspircd_io.h. The full pathname and filename of the PID file as defined in the configuration. .PP Definition at line 229 of file inspircd_io.h. +.SS "int \fBServerConfig::ports\fP[255]" +.PP +A list of ports which the server is listening on. +.PP +Definition at line 251 of file inspircd_io.h. .SS "char \fBServerConfig::PrefixQuit\fP[MAXBUF]" .PP The quit prefix in use, or an empty string. @@ -436,13 +453,15 @@ Definition at line 112 of file inspircd_io.h. Holds the description of the local server as defined by the administrator. .PP Definition at line 79 of file inspircd_io.h. +.PP +Referenced by Server::GetServerDescription(). .SS "char \fBServerConfig::ServerName\fP[MAXBUF]" .PP Holds the server name of the local server as defined by the administrator. .PP Definition at line 68 of file inspircd_io.h. .PP -Referenced by userrec::userrec(). +Referenced by Server::GetServerName(), and userrec::userrec(). .SS "unsigned int \fBServerConfig::SoftLimit\fP" .PP The soft limit value assigned to the irc server. diff --git a/docs/man/man3/SocketEngine.3 b/docs/man/man3/SocketEngine.3 index 07daeff47..9a1a5ea58 100644 --- a/docs/man/man3/SocketEngine.3 +++ b/docs/man/man3/SocketEngine.3 @@ -75,7 +75,7 @@ Please note that if there is a catastrophic failure (for example, you try and en .PP Definition at line 35 of file socketengine.cpp. .PP -References DEBUG, and EngineHandle. +References DEBUG, EngineHandle, and log(). .PP .nf 36 { @@ -95,7 +95,7 @@ Destructor The destructor transparently tidies up any resources used by the sock .PP Definition at line 46 of file socketengine.cpp. .PP -References DEBUG, and EngineHandle. +References DEBUG, EngineHandle, and log(). .PP .nf 47 { @@ -119,7 +119,7 @@ You must provide a type (see the consts in \fBsocketengine.h\fP) and a boolean f .PP Definition at line 65 of file socketengine.cpp. .PP -References DEBUG, EngineHandle, fds, ref, and X_READBIT. +References DEBUG, EngineHandle, fds, log(), ref, and X_READBIT. .PP Referenced by InspSocket::InspSocket(), and InspSocket::Poll(). .PP @@ -168,7 +168,7 @@ Delete a file descriptor f rom the engine This function call deletes a file desc .PP Definition at line 103 of file socketengine.cpp. .PP -References DEBUG, EngineHandle, fds, ref, and X_READBIT. +References DEBUG, EngineHandle, fds, log(), ref, and X_READBIT. .PP Referenced by InspSocket::Poll(), and Server::UserToPseudo(). .PP diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3 index 5cc2a2b77..abb990e74 100644 --- a/docs/man/man3/Version.3 +++ b/docs/man/man3/Version.3 @@ -49,10 +49,10 @@ Definition at line 113 of file modules.h. .PP .SS "Version::Version (int major, int minor, int revision, int build, int flags)" .PP -Definition at line 167 of file modules.cpp. +Definition at line 159 of file modules.cpp. .PP .nf -167 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; +159 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { }; .fi .PP .SH "Member Data Documentation" diff --git a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3 b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3 index 3f59aa590..75e0ef123 100644 --- a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3 +++ b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3 @@ -25,9 +25,15 @@ .RI "file \fBdns.h\fP" .br .ti -1c +.RI "file \fBglobals.h\fP" +.br +.ti -1c .RI "file \fBhashcomp.h\fP" .br .ti -1c +.RI "file \fBinspircd.h\fP" +.br +.ti -1c .RI "file \fBinspircd_io.h\fP" .br .ti -1c diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3 index 0d5feb55c..25dc3b6bd 100644 --- a/docs/man/man3/channels.cpp.3 +++ b/docs/man/man3/channels.cpp.3 @@ -46,6 +46,8 @@ channels.cpp \- .br \fC#include 'dynamic.h'\fP .br +\fC#include 'commands.h'\fP +.br \fC#include 'wildcard.h'\fP .br \fC#include 'message.h'\fP @@ -58,6 +60,8 @@ channels.cpp \- .br \fC#include 'helperfuncs.h'\fP .br +\fC#include 'typedefs.h'\fP +.br .SS "Namespaces" @@ -73,43 +77,50 @@ channels.cpp \- .RI "#define \fBnspace\fP std" .br .in -1c -.SS "Variables" +.SS "Functions" .in +1c .ti -1c -.RI "\fBServerConfig\fP * \fBConfig\fP" +.RI "\fBchanrec\fP * \fBForceChan\fP (\fBchanrec\fP *Ptr, \fBucrec\fP &a, \fBuserrec\fP *user, int created)" .br .ti -1c -.RI "int \fBMODCOUNT\fP = -1" +.RI "\fBchanrec\fP * \fBadd_channel\fP (\fBuserrec\fP *user, const char *cn, const char *key, bool override)" .br .ti -1c -.RI "std::vector< \fBModule\fP * > \fBmodules\fP" +.RI "\fBchanrec\fP * \fBdel_channel\fP (\fBuserrec\fP *user, const char *cname, const char *reason, bool local)" .br .ti -1c -.RI "std::vector< \fBircd_module\fP * > \fBfactory\fP" +.RI "void \fBkick_channel\fP (\fBuserrec\fP *src, \fBuserrec\fP *user, \fBchanrec\fP *Ptr, char *reason)" .br +.in -1c +.SS "Variables" + +.in +1c .ti -1c -.RI "int \fBWHOWAS_STALE\fP" +.RI "\fBServerConfig\fP * \fBConfig\fP" .br .ti -1c -.RI "int \fBWHOWAS_MAX\fP" +.RI "int \fBMODCOUNT\fP = -1" .br .ti -1c -.RI "time_t \fBstartup_time\fP" +.RI "std::vector< \fBModule\fP * > \fBmodules\fP" .br .ti -1c -.RI "std::vector< \fBstd::string\fP > \fBmodule_names\fP" +.RI "std::vector< \fBircd_module\fP * > \fBfactory\fP" .br .ti -1c -.RI "int \fBboundPortCount\fP" +.RI "int \fBWHOWAS_STALE\fP" .br .ti -1c -.RI "std::stringstream \fBconfig_f\fP" +.RI "int \fBWHOWAS_MAX\fP" .br .ti -1c .RI "time_t \fBTIME\fP" .br .ti -1c +.RI "\fBchan_hash\fP \fBchanlist\fP" +.br +.ti -1c .RI "std::vector< \fBModeParameter\fP > \fBcustom_mode_params\fP" .br .in -1c @@ -117,37 +128,414 @@ channels.cpp \- .PP .SS "#define nspace std" .PP -Definition at line 53 of file channels.cpp. +Definition at line 55 of file channels.cpp. +.SH "Function Documentation" +.PP +.SS "\fBchanrec\fP* add_channel (\fBuserrec\fP * user, const char * cn, const char * key, bool override)" +.PP +Definition at line 195 of file channels.cpp. +.PP +References chanrec::bans, chanrec::binarymodes, chanlist, userrec::chans, CM_INVITEONLY, CM_NOEXTERNAL, CM_TOPICLOCK, DEBUG, DEFAULT, connection::fd, FindChan(), ForceChan(), FOREACH_RESULT, userrec::GetFullHost(), has_channel(), userrec::IsInvited(), chanrec::key, chanrec::limit, log(), userrec::modes, chanrec::name, userrec::nick, userrec::RemoveInvite(), TIME, and WriteServ(). +.PP +Referenced by Server::JoinUserToChannel(). +.PP +.nf +196 { +197 if ((!user) || (!cn)) +198 { +199 log(DEFAULT,'*** BUG *** add_channel was given an invalid parameter'); +200 return 0; +201 } +202 +203 int created = 0; +204 char cname[MAXBUF]; +205 int MOD_RESULT = 0; +206 strncpy(cname,cn,CHANMAX); +207 +208 log(DEBUG,'add_channel: %s %s',user->nick,cname); +209 +210 chanrec* Ptr = FindChan(cname); +211 +212 if (!Ptr) +213 { +214 if (user->fd > -1) +215 { +216 MOD_RESULT = 0; +217 FOREACH_RESULT(OnUserPreJoin(user,NULL,cname)); +218 if (MOD_RESULT == 1) +219 return NULL; +220 } +221 /* create a new one */ +222 chanlist[cname] = new chanrec(); +223 strlcpy(chanlist[cname]->name, cname,CHANMAX); +224 chanlist[cname]->binarymodes = CM_TOPICLOCK | CM_NOEXTERNAL; +225 chanlist[cname]->created = TIME; +226 strcpy(chanlist[cname]->topic, ''); +227 strncpy(chanlist[cname]->setby, user->nick,NICKMAX); +228 chanlist[cname]->topicset = 0; +229 Ptr = chanlist[cname]; +230 log(DEBUG,'add_channel: created: %s',cname); +231 /* set created to 2 to indicate user +232 * is the first in the channel +233 * and should be given ops */ +234 created = 2; +235 } +236 else +237 { +238 /* Already on the channel */ +239 if (has_channel(user,Ptr)) +240 return NULL; +241 +242 // remote users are allowed us to bypass channel modes +243 // and bans (used by servers) +244 if (user->fd > -1) +245 { +246 MOD_RESULT = 0; +247 FOREACH_RESULT(OnUserPreJoin(user,Ptr,cname)); +248 if (MOD_RESULT == 1) +249 { +250 return NULL; +251 } +252 else +253 { +254 if (*Ptr->key) +255 { +256 MOD_RESULT = 0; +257 FOREACH_RESULT(OnCheckKey(user, Ptr, key ? key : '')); +258 if (!MOD_RESULT) +259 { +260 if (!key) +261 { +262 log(DEBUG,'add_channel: no key given in JOIN'); +263 WriteServ(user->fd,'475 %s %s :Cannot join channel (Requires key)',user->nick, Ptr->name); +264 return NULL; +265 } +266 else +267 { +268 if (strcasecmp(key,Ptr->key)) +269 { +270 log(DEBUG,'add_channel: bad key given in JOIN'); +271 WriteServ(user->fd,'475 %s %s :Cannot join channel (Incorrect key)',user->nick, Ptr->name); +272 return NULL; +273 } +274 } +275 } +276 } +277 if (Ptr->binarymodes & CM_INVITEONLY) +278 { +279 MOD_RESULT = 0; +280 FOREACH_RESULT(OnCheckInvite(user, Ptr)); +281 if (!MOD_RESULT) +282 { +283 log(DEBUG,'add_channel: channel is +i'); +284 if (user->IsInvited(Ptr->name)) +285 { +286 /* user was invited to channel */ +287 /* there may be an optional channel NOTICE here */ +288 } +289 else +290 { +291 WriteServ(user->fd,'473 %s %s :Cannot join channel (Invite only)',user->nick, Ptr->name); +292 return NULL; +293 } +294 } +295 user->RemoveInvite(Ptr->name); +296 } +297 if (Ptr->limit) +298 { +299 MOD_RESULT = 0; +300 FOREACH_RESULT(OnCheckLimit(user, Ptr)); +301 if (!MOD_RESULT) +302 { +303 if (usercount(Ptr) >= Ptr->limit) +304 { +305 WriteServ(user->fd,'471 %s %s :Cannot join channel (Channel is full)',user->nick, Ptr->name); +306 return NULL; +307 } +308 } +309 } +310 if (Ptr->bans.size()) +311 { +312 log(DEBUG,'add_channel: about to walk banlist'); +313 MOD_RESULT = 0; +314 FOREACH_RESULT(OnCheckBan(user, Ptr)); +315 if (!MOD_RESULT) +316 { +317 for (BanList::iterator i = Ptr->bans.begin(); i != Ptr->bans.end(); i++) +318 { +319 if (match(user->GetFullHost(),i->data)) +320 { +321 WriteServ(user->fd,'474 %s %s :Cannot join channel (You're banned)',user->nick, Ptr->name); +322 return NULL; +323 } +324 } +325 } +326 } +327 } +328 } +329 else +330 { +331 log(DEBUG,'Overridden checks'); +332 } +333 created = 1; +334 } +335 +336 log(DEBUG,'Passed channel checks'); +337 +338 for (unsigned int index =0; index < user->chans.size(); index++) +339 { +340 if (user->chans[index].channel == NULL) +341 { +342 return ForceChan(Ptr,user->chans[index],user,created); +343 } +344 } +345 /* XXX: If the user is an oper here, we can just extend their user->chans vector by one +346 * and put the channel in here. Same for remote users which are not bound by +347 * the channel limits. Otherwise, nope, youre boned. +348 */ +349 if (user->fd < 0) +350 { +351 ucrec a; +352 chanrec* c = ForceChan(Ptr,a,user,created); +353 user->chans.push_back(a); +354 return c; +355 } +356 else if (strchr(user->modes,'o')) +357 { +358 /* Oper allows extension up to the OPERMAXCHANS value */ +359 if (user->chans.size() < OPERMAXCHANS) +360 { +361 ucrec a; +362 chanrec* c = ForceChan(Ptr,a,user,created); +363 user->chans.push_back(a); +364 return c; +365 } +366 } +367 log(DEBUG,'add_channel: user channel max exceeded: %s %s',user->nick,cname); +368 WriteServ(user->fd,'405 %s %s :You are on too many channels',user->nick, cname); +369 return NULL; +370 } +.fi +.PP +.SS "\fBchanrec\fP* del_channel (\fBuserrec\fP * user, const char * cname, const char * reason, bool local)" +.PP +Definition at line 401 of file channels.cpp. +.PP +References chanlist, userrec::chans, DEBUG, DEFAULT, chanrec::DelUser(), FindChan(), FOREACH_MOD, log(), chanrec::name, userrec::nick, and WriteChannel(). +.PP +Referenced by Server::PartUserFromChannel(). +.PP +.nf +402 { +403 if ((!user) || (!cname)) +404 { +405 log(DEFAULT,'*** BUG *** del_channel was given an invalid parameter'); +406 return NULL; +407 } +408 +409 chanrec* Ptr = FindChan(cname); +410 +411 if (!Ptr) +412 return NULL; +413 +414 FOREACH_MOD OnUserPart(user,Ptr); +415 log(DEBUG,'del_channel: removing: %s %s',user->nick,Ptr->name); +416 +417 for (unsigned int i =0; i < user->chans.size(); i++) +418 { +419 /* zap it from the channel list of the user */ +420 if (user->chans[i].channel == Ptr) +421 { +422 if (reason) +423 { +424 WriteChannel(Ptr,user,'PART %s :%s',Ptr->name, reason); +425 } +426 else +427 { +428 WriteChannel(Ptr,user,'PART :%s',Ptr->name); +429 } +430 user->chans[i].uc_modes = 0; +431 user->chans[i].channel = NULL; +432 log(DEBUG,'del_channel: unlinked: %s %s',user->nick,Ptr->name); +433 break; +434 } +435 } +436 +437 Ptr->DelUser((char*)user); +438 +439 /* if there are no users left on the channel */ +440 if (!usercount(Ptr)) +441 { +442 chan_hash::iterator iter = chanlist.find(Ptr->name); +443 +444 log(DEBUG,'del_channel: destroying channel: %s',Ptr->name); +445 +446 /* kill the record */ +447 if (iter != chanlist.end()) +448 { +449 log(DEBUG,'del_channel: destroyed: %s',Ptr->name); +450 delete Ptr; +451 chanlist.erase(iter); +452 } +453 } +454 +455 return NULL; +456 } +.fi +.PP +.SS "\fBchanrec\fP * ForceChan (\fBchanrec\fP * Ptr, \fBucrec\fP & a, \fBuserrec\fP * user, int created)" +.PP +Definition at line 372 of file channels.cpp. +.PP +References chanrec::AddUser(), ucrec::channel, DEBUG, FOREACH_MOD, log(), chanrec::name, chanrec::setby, chanrec::topic, chanrec::topicset, ucrec::uc_modes, UCMODE_OP, WriteChannel(), and WriteServ(). +.PP +Referenced by add_channel(). +.PP +.nf +373 { +374 if (created == 2) +375 { +376 /* first user in is given ops */ +377 a.uc_modes = UCMODE_OP; +378 } +379 else +380 { +381 a.uc_modes = 0; +382 } +383 a.channel = Ptr; +384 Ptr->AddUser((char*)user); +385 WriteChannel(Ptr,user,'JOIN :%s',Ptr->name); +386 log(DEBUG,'Sent JOIN to client'); +387 if (Ptr->topicset) +388 { +389 WriteServ(user->fd,'332 %s %s :%s', user->nick, Ptr->name, Ptr->topic); +390 WriteServ(user->fd,'333 %s %s %s %lu', user->nick, Ptr->name, Ptr->setby, (unsigned long)Ptr->topicset); +391 } +392 userlist(user,Ptr); +393 WriteServ(user->fd,'366 %s %s :End of /NAMES list.', user->nick, Ptr->name); +394 FOREACH_MOD OnUserJoin(user,Ptr); +395 return Ptr; +396 } +.fi +.PP +.SS "void kick_channel (\fBuserrec\fP * src, \fBuserrec\fP * user, \fBchanrec\fP * Ptr, char * reason)" +.PP +Definition at line 459 of file channels.cpp. +.PP +References AC_KICK, ACR_DEFAULT, ACR_DENY, chanlist, userrec::chans, cstatus(), DEBUG, DEFAULT, chanrec::DelUser(), connection::fd, FOREACH_MOD, FOREACH_RESULT, has_channel(), is_uline(), log(), chanrec::name, userrec::nick, userrec::server, STATUS_HOP, WriteChannel(), and WriteServ(). +.PP +.nf +460 { +461 if ((!src) || (!user) || (!Ptr) || (!reason)) +462 { +463 log(DEFAULT,'*** BUG *** kick_channel was given an invalid parameter'); +464 return; +465 } +466 +467 if ((!Ptr) || (!user) || (!src)) +468 { +469 return; +470 } +471 +472 log(DEBUG,'kick_channel: removing: %s %s %s',user->nick,Ptr->name,src->nick); +473 +474 if (!has_channel(user,Ptr)) +475 { +476 WriteServ(src->fd,'441 %s %s %s :They are not on that channel',src->nick, user->nick, Ptr->name); +477 return; +478 } +479 +480 int MOD_RESULT = 0; +481 FOREACH_RESULT(OnAccessCheck(src,user,Ptr,AC_KICK)); +482 if ((MOD_RESULT == ACR_DENY) && (!is_uline(src->server))) +483 return; +484 +485 if ((MOD_RESULT == ACR_DEFAULT) || (!is_uline(src->server))) +486 { +487 if ((cstatus(src,Ptr) < STATUS_HOP) || (cstatus(src,Ptr) < cstatus(user,Ptr))) +488 { +489 if (cstatus(src,Ptr) == STATUS_HOP) +490 { +491 WriteServ(src->fd,'482 %s %s :You must be a channel operator',src->nick, Ptr->name); +492 } +493 else +494 { +495 WriteServ(src->fd,'482 %s %s :You must be at least a half-operator to change modes on this channel',src->nick, Ptr->name); +496 } +497 +498 return; +499 } +500 } +501 +502 if (!is_uline(src->server)) +503 { +504 MOD_RESULT = 0; +505 FOREACH_RESULT(OnUserPreKick(src,user,Ptr,reason)); +506 if (MOD_RESULT) +507 return; +508 } +509 +510 FOREACH_MOD OnUserKick(src,user,Ptr,reason); +511 +512 for (unsigned int i =0; i < user->chans.size(); i++) +513 { +514 /* zap it from the channel list of the user */ +515 if (user->chans[i].channel) +516 if (!strcasecmp(user->chans[i].channel->name,Ptr->name)) +517 { +518 WriteChannel(Ptr,src,'KICK %s %s :%s',Ptr->name, user->nick, reason); +519 user->chans[i].uc_modes = 0; +520 user->chans[i].channel = NULL; +521 log(DEBUG,'del_channel: unlinked: %s %s',user->nick,Ptr->name); +522 break; +523 } +524 } +525 +526 Ptr->DelUser((char*)user); +527 +528 /* if there are no users left on the channel */ +529 if (!usercount(Ptr)) +530 { +531 chan_hash::iterator iter = chanlist.find(Ptr->name); +532 +533 log(DEBUG,'del_channel: destroying channel: %s',Ptr->name); +534 +535 /* kill the record */ +536 if (iter != chanlist.end()) +537 { +538 log(DEBUG,'del_channel: destroyed: %s',Ptr->name); +539 delete Ptr; +540 chanlist.erase(iter); +541 } +542 } +543 } +.fi +.PP .SH "Variable Documentation" .PP -.SS "int \fBboundPortCount\fP" +.SS "\fBchan_hash\fP \fBchanlist\fP" .PP +Referenced by add_channel(), del_channel(), and kick_channel(). .SS "\fBServerConfig\fP* \fBConfig\fP" .PP -.SS "std::stringstream \fBconfig_f\fP" -.PP .SS "std::vector<\fBModeParameter\fP> \fBcustom_mode_params\fP" .PP -Definition at line 71 of file channels.cpp. +Definition at line 70 of file channels.cpp. .PP Referenced by chanrec::GetModeParameter(), and chanrec::SetCustomModeParam(). .SS "std::vector<\fBircd_module\fP*> factory" .PP .SS "int \fBMODCOUNT\fP = -1" .PP -Definition at line 938 of file modules.cpp. +Definition at line 930 of file modules.cpp. .PP Referenced by Server::FindModule(). -.SS "std::vector<\fBstd::string\fP> \fBmodule_names\fP" -.PP .SS "std::vector<\fBModule\fP*> modules" .PP Referenced by Server::FindModule(). -.SS "time_t \fBstartup_time\fP" -.PP .SS "time_t \fBTIME\fP" .PP -Referenced by userrec::userrec(). +Referenced by add_channel(), and userrec::userrec(). .SS "int \fBWHOWAS_MAX\fP" .PP .SS "int \fBWHOWAS_STALE\fP" diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3 index f1fb458f0..d69ebe674 100644 --- a/docs/man/man3/channels.h.3 +++ b/docs/man/man3/channels.h.3 @@ -102,17 +102,34 @@ channels.h \- .br .RI "\fIHolds a complete invite list. \fP" .in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "\fBchanrec\fP * \fBadd_channel\fP (\fBuserrec\fP *user, const char *cn, const char *key, bool override)" +.br +.ti -1c +.RI "\fBchanrec\fP * \fBdel_channel\fP (\fBuserrec\fP *user, const char *cname, const char *reason, bool local)" +.br +.ti -1c +.RI "void \fBkick_channel\fP (\fBuserrec\fP *src, \fBuserrec\fP *user, \fBchanrec\fP *Ptr, char *reason)" +.br +.in -1c .SH "Define Documentation" .PP .SS "#define CM_INVITEONLY 4" .PP Definition at line 28 of file channels.h. +.PP +Referenced by add_channel(). .SS "#define CM_MODERATED 8" .PP Definition at line 29 of file channels.h. .SS "#define CM_NOEXTERNAL 2" .PP Definition at line 27 of file channels.h. +.PP +Referenced by add_channel(). .SS "#define CM_PRIVATE 32" .PP Definition at line 31 of file channels.h. @@ -122,38 +139,389 @@ Definition at line 30 of file channels.h. .SS "#define CM_TOPICLOCK 1" .PP Definition at line 26 of file channels.h. +.PP +Referenced by add_channel(). .SS "#define UCMODE_FOUNDER 16" .PP -Definition at line 234 of file channels.h. +Definition at line 236 of file channels.h. .SS "#define UCMODE_HOP 4" .PP -Definition at line 232 of file channels.h. +Definition at line 234 of file channels.h. .SS "#define UCMODE_OP 1" .PP -Definition at line 230 of file channels.h. +Definition at line 232 of file channels.h. +.PP +Referenced by ForceChan(). .SS "#define UCMODE_PROTECT 8" .PP -Definition at line 233 of file channels.h. +Definition at line 235 of file channels.h. .SS "#define UCMODE_VOICE 2" .PP -Definition at line 231 of file channels.h. +Definition at line 233 of file channels.h. .SH "Typedef Documentation" .PP .SS "typedef std::vector<\fBBanItem\fP> \fBBanList\fP" .PP Holds a complete ban list. .PP -Definition at line 87 of file channels.h. +Definition at line 89 of file channels.h. .SS "typedef std::vector<\fBExemptItem\fP> \fBExemptList\fP" .PP Holds a complete exempt list. .PP -Definition at line 91 of file channels.h. +Definition at line 93 of file channels.h. .SS "typedef std::vector<\fBInviteItem\fP> \fBInviteList\fP" .PP Holds a complete invite list. .PP -Definition at line 95 of file channels.h. +Definition at line 97 of file channels.h. +.SH "Function Documentation" +.PP +.SS "\fBchanrec\fP* add_channel (\fBuserrec\fP * user, const char * cn, const char * key, bool override)" +.PP +Definition at line 195 of file channels.cpp. +.PP +References chanrec::bans, chanrec::binarymodes, chanlist, userrec::chans, CM_INVITEONLY, CM_NOEXTERNAL, CM_TOPICLOCK, DEBUG, DEFAULT, connection::fd, FindChan(), ForceChan(), FOREACH_RESULT, userrec::GetFullHost(), has_channel(), userrec::IsInvited(), chanrec::key, chanrec::limit, log(), userrec::modes, chanrec::name, userrec::nick, userrec::RemoveInvite(), TIME, and WriteServ(). +.PP +Referenced by Server::JoinUserToChannel(). +.PP +.nf +196 { +197 if ((!user) || (!cn)) +198 { +199 log(DEFAULT,'*** BUG *** add_channel was given an invalid parameter'); +200 return 0; +201 } +202 +203 int created = 0; +204 char cname[MAXBUF]; +205 int MOD_RESULT = 0; +206 strncpy(cname,cn,CHANMAX); +207 +208 log(DEBUG,'add_channel: %s %s',user->nick,cname); +209 +210 chanrec* Ptr = FindChan(cname); +211 +212 if (!Ptr) +213 { +214 if (user->fd > -1) +215 { +216 MOD_RESULT = 0; +217 FOREACH_RESULT(OnUserPreJoin(user,NULL,cname)); +218 if (MOD_RESULT == 1) +219 return NULL; +220 } +221 /* create a new one */ +222 chanlist[cname] = new chanrec(); +223 strlcpy(chanlist[cname]->name, cname,CHANMAX); +224 chanlist[cname]->binarymodes = CM_TOPICLOCK | CM_NOEXTERNAL; +225 chanlist[cname]->created = TIME; +226 strcpy(chanlist[cname]->topic, ''); +227 strncpy(chanlist[cname]->setby, user->nick,NICKMAX); +228 chanlist[cname]->topicset = 0; +229 Ptr = chanlist[cname]; +230 log(DEBUG,'add_channel: created: %s',cname); +231 /* set created to 2 to indicate user +232 * is the first in the channel +233 * and should be given ops */ +234 created = 2; +235 } +236 else +237 { +238 /* Already on the channel */ +239 if (has_channel(user,Ptr)) +240 return NULL; +241 +242 // remote users are allowed us to bypass channel modes +243 // and bans (used by servers) +244 if (user->fd > -1) +245 { +246 MOD_RESULT = 0; +247 FOREACH_RESULT(OnUserPreJoin(user,Ptr,cname)); +248 if (MOD_RESULT == 1) +249 { +250 return NULL; +251 } +252 else +253 { +254 if (*Ptr->key) +255 { +256 MOD_RESULT = 0; +257 FOREACH_RESULT(OnCheckKey(user, Ptr, key ? key : '')); +258 if (!MOD_RESULT) +259 { +260 if (!key) +261 { +262 log(DEBUG,'add_channel: no key given in JOIN'); +263 WriteServ(user->fd,'475 %s %s :Cannot join channel (Requires key)',user->nick, Ptr->name); +264 return NULL; +265 } +266 else +267 { +268 if (strcasecmp(key,Ptr->key)) +269 { +270 log(DEBUG,'add_channel: bad key given in JOIN'); +271 WriteServ(user->fd,'475 %s %s :Cannot join channel (Incorrect key)',user->nick, Ptr->name); +272 return NULL; +273 } +274 } +275 } +276 } +277 if (Ptr->binarymodes & CM_INVITEONLY) +278 { +279 MOD_RESULT = 0; +280 FOREACH_RESULT(OnCheckInvite(user, Ptr)); +281 if (!MOD_RESULT) +282 { +283 log(DEBUG,'add_channel: channel is +i'); +284 if (user->IsInvited(Ptr->name)) +285 { +286 /* user was invited to channel */ +287 /* there may be an optional channel NOTICE here */ +288 } +289 else +290 { +291 WriteServ(user->fd,'473 %s %s :Cannot join channel (Invite only)',user->nick, Ptr->name); +292 return NULL; +293 } +294 } +295 user->RemoveInvite(Ptr->name); +296 } +297 if (Ptr->limit) +298 { +299 MOD_RESULT = 0; +300 FOREACH_RESULT(OnCheckLimit(user, Ptr)); +301 if (!MOD_RESULT) +302 { +303 if (usercount(Ptr) >= Ptr->limit) +304 { +305 WriteServ(user->fd,'471 %s %s :Cannot join channel (Channel is full)',user->nick, Ptr->name); +306 return NULL; +307 } +308 } +309 } +310 if (Ptr->bans.size()) +311 { +312 log(DEBUG,'add_channel: about to walk banlist'); +313 MOD_RESULT = 0; +314 FOREACH_RESULT(OnCheckBan(user, Ptr)); +315 if (!MOD_RESULT) +316 { +317 for (BanList::iterator i = Ptr->bans.begin(); i != Ptr->bans.end(); i++) +318 { +319 if (match(user->GetFullHost(),i->data)) +320 { +321 WriteServ(user->fd,'474 %s %s :Cannot join channel (You're banned)',user->nick, Ptr->name); +322 return NULL; +323 } +324 } +325 } +326 } +327 } +328 } +329 else +330 { +331 log(DEBUG,'Overridden checks'); +332 } +333 created = 1; +334 } +335 +336 log(DEBUG,'Passed channel checks'); +337 +338 for (unsigned int index =0; index < user->chans.size(); index++) +339 { +340 if (user->chans[index].channel == NULL) +341 { +342 return ForceChan(Ptr,user->chans[index],user,created); +343 } +344 } +345 /* XXX: If the user is an oper here, we can just extend their user->chans vector by one +346 * and put the channel in here. Same for remote users which are not bound by +347 * the channel limits. Otherwise, nope, youre boned. +348 */ +349 if (user->fd < 0) +350 { +351 ucrec a; +352 chanrec* c = ForceChan(Ptr,a,user,created); +353 user->chans.push_back(a); +354 return c; +355 } +356 else if (strchr(user->modes,'o')) +357 { +358 /* Oper allows extension up to the OPERMAXCHANS value */ +359 if (user->chans.size() < OPERMAXCHANS) +360 { +361 ucrec a; +362 chanrec* c = ForceChan(Ptr,a,user,created); +363 user->chans.push_back(a); +364 return c; +365 } +366 } +367 log(DEBUG,'add_channel: user channel max exceeded: %s %s',user->nick,cname); +368 WriteServ(user->fd,'405 %s %s :You are on too many channels',user->nick, cname); +369 return NULL; +370 } +.fi +.PP +.SS "\fBchanrec\fP* del_channel (\fBuserrec\fP * user, const char * cname, const char * reason, bool local)" +.PP +Definition at line 401 of file channels.cpp. +.PP +References chanlist, userrec::chans, DEBUG, DEFAULT, chanrec::DelUser(), FindChan(), FOREACH_MOD, log(), chanrec::name, userrec::nick, and WriteChannel(). +.PP +Referenced by Server::PartUserFromChannel(). +.PP +.nf +402 { +403 if ((!user) || (!cname)) +404 { +405 log(DEFAULT,'*** BUG *** del_channel was given an invalid parameter'); +406 return NULL; +407 } +408 +409 chanrec* Ptr = FindChan(cname); +410 +411 if (!Ptr) +412 return NULL; +413 +414 FOREACH_MOD OnUserPart(user,Ptr); +415 log(DEBUG,'del_channel: removing: %s %s',user->nick,Ptr->name); +416 +417 for (unsigned int i =0; i < user->chans.size(); i++) +418 { +419 /* zap it from the channel list of the user */ +420 if (user->chans[i].channel == Ptr) +421 { +422 if (reason) +423 { +424 WriteChannel(Ptr,user,'PART %s :%s',Ptr->name, reason); +425 } +426 else +427 { +428 WriteChannel(Ptr,user,'PART :%s',Ptr->name); +429 } +430 user->chans[i].uc_modes = 0; +431 user->chans[i].channel = NULL; +432 log(DEBUG,'del_channel: unlinked: %s %s',user->nick,Ptr->name); +433 break; +434 } +435 } +436 +437 Ptr->DelUser((char*)user); +438 +439 /* if there are no users left on the channel */ +440 if (!usercount(Ptr)) +441 { +442 chan_hash::iterator iter = chanlist.find(Ptr->name); +443 +444 log(DEBUG,'del_channel: destroying channel: %s',Ptr->name); +445 +446 /* kill the record */ +447 if (iter != chanlist.end()) +448 { +449 log(DEBUG,'del_channel: destroyed: %s',Ptr->name); +450 delete Ptr; +451 chanlist.erase(iter); +452 } +453 } +454 +455 return NULL; +456 } +.fi +.PP +.SS "void kick_channel (\fBuserrec\fP * src, \fBuserrec\fP * user, \fBchanrec\fP * Ptr, char * reason)" +.PP +Definition at line 459 of file channels.cpp. +.PP +References AC_KICK, ACR_DEFAULT, ACR_DENY, chanlist, userrec::chans, cstatus(), DEBUG, DEFAULT, chanrec::DelUser(), connection::fd, FOREACH_MOD, FOREACH_RESULT, has_channel(), is_uline(), log(), chanrec::name, userrec::nick, userrec::server, STATUS_HOP, WriteChannel(), and WriteServ(). +.PP +.nf +460 { +461 if ((!src) || (!user) || (!Ptr) || (!reason)) +462 { +463 log(DEFAULT,'*** BUG *** kick_channel was given an invalid parameter'); +464 return; +465 } +466 +467 if ((!Ptr) || (!user) || (!src)) +468 { +469 return; +470 } +471 +472 log(DEBUG,'kick_channel: removing: %s %s %s',user->nick,Ptr->name,src->nick); +473 +474 if (!has_channel(user,Ptr)) +475 { +476 WriteServ(src->fd,'441 %s %s %s :They are not on that channel',src->nick, user->nick, Ptr->name); +477 return; +478 } +479 +480 int MOD_RESULT = 0; +481 FOREACH_RESULT(OnAccessCheck(src,user,Ptr,AC_KICK)); +482 if ((MOD_RESULT == ACR_DENY) && (!is_uline(src->server))) +483 return; +484 +485 if ((MOD_RESULT == ACR_DEFAULT) || (!is_uline(src->server))) +486 { +487 if ((cstatus(src,Ptr) < STATUS_HOP) || (cstatus(src,Ptr) < cstatus(user,Ptr))) +488 { +489 if (cstatus(src,Ptr) == STATUS_HOP) +490 { +491 WriteServ(src->fd,'482 %s %s :You must be a channel operator',src->nick, Ptr->name); +492 } +493 else +494 { +495 WriteServ(src->fd,'482 %s %s :You must be at least a half-operator to change modes on this channel',src->nick, Ptr->name); +496 } +497 +498 return; +499 } +500 } +501 +502 if (!is_uline(src->server)) +503 { +504 MOD_RESULT = 0; +505 FOREACH_RESULT(OnUserPreKick(src,user,Ptr,reason)); +506 if (MOD_RESULT) +507 return; +508 } +509 +510 FOREACH_MOD OnUserKick(src,user,Ptr,reason); +511 +512 for (unsigned int i =0; i < user->chans.size(); i++) +513 { +514 /* zap it from the channel list of the user */ +515 if (user->chans[i].channel) +516 if (!strcasecmp(user->chans[i].channel->name,Ptr->name)) +517 { +518 WriteChannel(Ptr,src,'KICK %s %s :%s',Ptr->name, user->nick, reason); +519 user->chans[i].uc_modes = 0; +520 user->chans[i].channel = NULL; +521 log(DEBUG,'del_channel: unlinked: %s %s',user->nick,Ptr->name); +522 break; +523 } +524 } +525 +526 Ptr->DelUser((char*)user); +527 +528 /* if there are no users left on the channel */ +529 if (!usercount(Ptr)) +530 { +531 chan_hash::iterator iter = chanlist.find(Ptr->name); +532 +533 log(DEBUG,'del_channel: destroying channel: %s',Ptr->name); +534 +535 /* kill the record */ +536 if (iter != chanlist.end()) +537 { +538 log(DEBUG,'del_channel: destroyed: %s',Ptr->name); +539 delete Ptr; +540 chanlist.erase(iter); +541 } +542 } +543 } +.fi +.PP .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3 index 3a6a2b8d3..393b75457 100644 --- a/docs/man/man3/chanrec.3 +++ b/docs/man/man3/chanrec.3 @@ -109,36 +109,36 @@ Holds all relevent information for a channel. This class represents a channel, and contains its name, modes, time created, topic, topic set time, etc, and an instance of the BanList type. .PP -Definition at line 101 of file channels.h. +Definition at line 103 of file channels.h. .SH "Constructor & Destructor Documentation" .PP .SS "chanrec::chanrec ()" .PP Creates a channel record and initialises it with default values. .PP -Definition at line 73 of file channels.cpp. +Definition at line 74 of file channels.cpp. .PP References binarymodes, created, custom_modes, internal_userlist, key, limit, name, setby, topic, and topicset. .PP .nf -74 { -75 strcpy(name,''); -76 strcpy(custom_modes,''); -77 strcpy(topic,''); -78 strcpy(setby,''); -79 strcpy(key,''); -80 created = topicset = limit = 0; -81 binarymodes = 0; -82 internal_userlist.clear(); -83 } +75 { +76 strcpy(name,''); +77 strcpy(custom_modes,''); +78 strcpy(topic,''); +79 strcpy(setby,''); +80 strcpy(key,''); +81 created = topicset = limit = 0; +82 binarymodes = 0; +83 internal_userlist.clear(); +84 } .fi .PP .SS "virtual chanrec::~chanrec ()\fC [inline, virtual]\fP" .PP -Definition at line 224 of file channels.h. +Definition at line 226 of file channels.h. .PP .nf -224 { /* stub */ } +226 { /* stub */ } .fi .PP .SH "Member Function Documentation" @@ -154,15 +154,17 @@ Add a user pointer to the internal reference list. .PP 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. .PP -Definition at line 166 of file channels.cpp. +Definition at line 167 of file channels.cpp. .PP -References DEBUG, and internal_userlist. +References DEBUG, internal_userlist, and log(). +.PP +Referenced by ForceChan(). .PP .nf -167 { -168 internal_userlist.push_back(castuser); -169 log(DEBUG,'Added casted user to channel's internal list'); -170 } +168 { +169 internal_userlist.push_back(castuser); +170 log(DEBUG,'Added casted user to channel's internal list'); +171 } .fi .PP .SS "void chanrec::DelUser (char * castuser)" @@ -176,23 +178,25 @@ Delete a user pointer to the internal reference list. .PP 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. .PP -Definition at line 172 of file channels.cpp. +Definition at line 173 of file channels.cpp. +.PP +References DEBUG, internal_userlist, log(), and name. .PP -References DEBUG, internal_userlist, and name. +Referenced by del_channel(), and kick_channel(). .PP .nf -173 { -174 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) -175 { -176 if (*a == castuser) -177 { -178 log(DEBUG,'Removed casted user from channel's internal list'); -179 internal_userlist.erase(a); -180 return; -181 } -182 } -183 log(DEBUG,'BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!',name); -184 } +174 { +175 for (std::vector<char*>::iterator a = internal_userlist.begin(); a < internal_userlist.end(); a++) +176 { +177 if (*a == castuser) +178 { +179 log(DEBUG,'Removed casted user from channel's internal list'); +180 internal_userlist.erase(a); +181 return; +182 } +183 } +184 log(DEBUG,'BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!',name); +185 } .fi .PP .SS "\fBstd::string\fP chanrec::GetModeParameter (char mode)" @@ -213,24 +217,24 @@ The parameter for this mode is returned, or an empty string .PP .PP -Definition at line 146 of file channels.cpp. +Definition at line 147 of file channels.cpp. .PP References custom_mode_params. .PP .nf -147 { -148 if (custom_mode_params.size()) -149 { -150 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) -151 { -152 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -153 { -154 return i->parameter; -155 } -156 } -157 } -158 return ''; -159 } +148 { +149 if (custom_mode_params.size()) +150 { +151 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +152 { +153 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +154 { +155 return i->parameter; +156 } +157 } +158 } +159 return ''; +160 } .fi .PP .SS "long chanrec::GetUserCounter ()" @@ -244,12 +248,12 @@ The number of users on this channel .PP .PP -Definition at line 161 of file channels.cpp. +Definition at line 162 of file channels.cpp. .PP .nf -162 { -163 return (this->internal_userlist.size()); -164 } +163 { +164 return (this->internal_userlist.size()); +165 } .fi .PP .SS "std::vector< char * > * chanrec::GetUsers ()" @@ -265,16 +269,16 @@ This function returns a vector of userrec pointers, each of which has been caste .PP .PP -Definition at line 186 of file channels.cpp. +Definition at line 187 of file channels.cpp. .PP References internal_userlist. .PP Referenced by Server::GetUsers(). .PP .nf -187 { -188 return &internal_userlist; -189 } +188 { +189 return &internal_userlist; +190 } .fi .PP .SS "bool chanrec::IsCustomModeSet (char mode)" @@ -293,12 +297,12 @@ True if the custom mode is set, false if otherwise .PP .PP -Definition at line 141 of file channels.cpp. +Definition at line 142 of file channels.cpp. .PP .nf -142 { -143 return (strchr(this->custom_modes,mode)); -144 } +143 { +144 return (strchr(this->custom_modes,mode)); +145 } .fi .PP .SS "void chanrec::SetCustomMode (char mode, bool mode_on)" @@ -314,33 +318,33 @@ Sets or unsets a custom mode in the channels info. .PP .PP -Definition at line 85 of file channels.cpp. +Definition at line 86 of file channels.cpp. .PP -References custom_modes, DEBUG, and SetCustomModeParam(). +References custom_modes, DEBUG, log(), and SetCustomModeParam(). .PP .nf -86 { -87 if (mode_on) { -88 static char m[3]; -89 m[0] = mode; -90 m[1] = '\0'; -91 if (!strchr(this->custom_modes,mode)) -92 { -93 strlcat(custom_modes,m,MAXMODES); -94 } -95 log(DEBUG,'Custom mode %c set',mode); -96 } -97 else { -98 -99 std::string a = this->custom_modes; -100 int pos = a.find(mode); -101 a.erase(pos,1); -102 strncpy(this->custom_modes,a.c_str(),MAXMODES); -103 -104 log(DEBUG,'Custom mode %c removed: modelist='%s'',mode,this->custom_modes); -105 this->SetCustomModeParam(mode,'',false); -106 } -107 } +87 { +88 if (mode_on) { +89 static char m[3]; +90 m[0] = mode; +91 m[1] = '\0'; +92 if (!strchr(this->custom_modes,mode)) +93 { +94 strlcat(custom_modes,m,MAXMODES); +95 } +96 log(DEBUG,'Custom mode %c set',mode); +97 } +98 else { +99 +100 std::string a = this->custom_modes; +101 int pos = a.find(mode); +102 a.erase(pos,1); +103 strncpy(this->custom_modes,a.c_str(),MAXMODES); +104 +105 log(DEBUG,'Custom mode %c removed: modelist='%s'',mode,this->custom_modes); +106 this->SetCustomModeParam(mode,'',false); +107 } +108 } .fi .PP .SS "void chanrec::SetCustomModeParam (char mode, char * parameter, bool mode_on)" @@ -358,42 +362,42 @@ Sets or unsets the parameters for a custom mode in a channels info. .PP .PP -Definition at line 110 of file channels.cpp. +Definition at line 111 of file channels.cpp. .PP -References ModeParameter::channel, custom_mode_params, DEBUG, ModeParameter::mode, and ModeParameter::parameter. +References ModeParameter::channel, custom_mode_params, DEBUG, log(), ModeParameter::mode, and ModeParameter::parameter. .PP Referenced by SetCustomMode(). .PP .nf -111 { -112 -113 log(DEBUG,'SetCustomModeParam called'); -114 ModeParameter M; -115 M.mode = mode; -116 strlcpy(M.channel,this->name,CHANMAX); -117 strlcpy(M.parameter,parameter,MAXBUF); -118 if (mode_on) -119 { -120 log(DEBUG,'Custom mode parameter %c %s added',mode,parameter); -121 custom_mode_params.push_back(M); -122 } -123 else -124 { -125 if (custom_mode_params.size()) -126 { -127 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) -128 { -129 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -130 { -131 log(DEBUG,'Custom mode parameter %c %s removed',mode,parameter); -132 custom_mode_params.erase(i); -133 return; -134 } -135 } -136 } -137 log(DEBUG,'*** BUG *** Attempt to remove non-existent mode parameter!'); -138 } -139 } +112 { +113 +114 log(DEBUG,'SetCustomModeParam called'); +115 ModeParameter M; +116 M.mode = mode; +117 strlcpy(M.channel,this->name,CHANMAX); +118 strlcpy(M.parameter,parameter,MAXBUF); +119 if (mode_on) +120 { +121 log(DEBUG,'Custom mode parameter %c %s added',mode,parameter); +122 custom_mode_params.push_back(M); +123 } +124 else +125 { +126 if (custom_mode_params.size()) +127 { +128 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +129 { +130 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +131 { +132 log(DEBUG,'Custom mode parameter %c %s removed',mode,parameter); +133 custom_mode_params.erase(i); +134 return; +135 } +136 } +137 } +138 log(DEBUG,'*** BUG *** Attempt to remove non-existent mode parameter!'); +139 } +140 } .fi .PP .SH "Member Data Documentation" @@ -402,19 +406,21 @@ Referenced by SetCustomMode(). .PP The list of all bans set on the channel. .PP -Definition at line 149 of file channels.h. +Definition at line 151 of file channels.h. +.PP +Referenced by add_channel(). .SS "char \fBchanrec::binarymodes\fP" .PP Contains a bitmask of the CM_* builtin (RFC) binary mode symbols. .PP -Definition at line 145 of file channels.h. +Definition at line 147 of file channels.h. .PP -Referenced by chanrec(). +Referenced by add_channel(), and chanrec(). .SS "time_t \fBchanrec::created\fP" .PP Creation time. .PP -Definition at line 123 of file channels.h. +Definition at line 125 of file channels.h. .PP Referenced by chanrec(). .SS "char \fBchanrec::custom_modes\fP[MAXMODES]" @@ -423,14 +429,14 @@ Custom modes for the channel. .PP Plugins may use this field in any way they see fit. .PP -Definition at line 110 of file channels.h. +Definition at line 112 of file channels.h. .PP Referenced by chanrec(), and SetCustomMode(). .SS "std::vector<char*> \fBchanrec::internal_userlist\fP" .PP User list (casted to char*'s to stop forward declaration stuff) (chicken and egg scenario!). .PP -Definition at line 115 of file channels.h. +Definition at line 117 of file channels.h. .PP Referenced by AddUser(), chanrec(), DelUser(), and GetUsers(). .SS "char \fBchanrec::key\fP[32]" @@ -439,52 +445,52 @@ Contains the channel key. .PP If this value is an empty string, there is no channel key in place. .PP -Definition at line 141 of file channels.h. +Definition at line 143 of file channels.h. .PP -Referenced by chanrec(). +Referenced by add_channel(), and chanrec(). .SS "short int \fBchanrec::limit\fP" .PP Contains the channel user limit. .PP If this value is zero, there is no limit in place. .PP -Definition at line 136 of file channels.h. +Definition at line 138 of file channels.h. .PP -Referenced by chanrec(). +Referenced by add_channel(), and chanrec(). .SS "char \fBchanrec::name\fP[CHANMAX]" .PP The channels name. .PP -Definition at line 106 of file channels.h. +Definition at line 108 of file channels.h. .PP -Referenced by chanrec(), DelUser(), and Server::PseudoToUser(). +Referenced by add_channel(), chanrec(), del_channel(), DelUser(), ForceChan(), kick_channel(), and Server::PseudoToUser(). .SS "char \fBchanrec::setby\fP[NICKMAX]" .PP The last user to set the topic. .PP If this member is an empty string, no topic was ever set. .PP -Definition at line 131 of file channels.h. +Definition at line 133 of file channels.h. .PP -Referenced by chanrec(), and Server::PseudoToUser(). +Referenced by chanrec(), ForceChan(), and Server::PseudoToUser(). .SS "char \fBchanrec::topic\fP[MAXBUF]" .PP Channel topic. .PP If this is an empty string, no channel topic is set. .PP -Definition at line 120 of file channels.h. +Definition at line 122 of file channels.h. .PP -Referenced by chanrec(), and Server::PseudoToUser(). +Referenced by chanrec(), ForceChan(), and Server::PseudoToUser(). .SS "time_t \fBchanrec::topicset\fP" .PP Time topic was set. .PP If no topic was ever set, this will be equal to \fBchanrec::created\fP .PP -Definition at line 127 of file channels.h. +Definition at line 129 of file channels.h. .PP -Referenced by chanrec(), and Server::PseudoToUser(). +Referenced by chanrec(), ForceChan(), and Server::PseudoToUser(). .SH "Author" .PP diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3 index d9c551c30..37dbe8e76 100644 --- a/docs/man/man3/command_t.3 +++ b/docs/man/man3/command_t.3 @@ -20,7 +20,7 @@ Inherits \fBExtensible\fP. .br .RI "\fICommand name. \fP" .ti -1c -.RI "handlerfunc * \fBhandler_function\fP" +.RI "\fBhandlerfunc\fP * \fBhandler_function\fP" .br .RI "\fIHandler function as in typedef. \fP" .ti -1c @@ -61,7 +61,7 @@ Definition at line 31 of file ctables.h. User flags needed to execute the command or 0. .PP Definition at line 37 of file ctables.h. -.SS "handlerfunc* \fBcommand_t::handler_function\fP" +.SS "\fBhandlerfunc\fP* \fBcommand_t::handler_function\fP" .PP Handler function as in typedef. .PP diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3 index 338196308..27e6cf0a7 100644 --- a/docs/man/man3/commands.h.3 +++ b/docs/man/man3/commands.h.3 @@ -309,7 +309,7 @@ These are the handlers for user commands. .PP Functions for u:lined servers. .PP -Referenced by userrec::HasPermission(), and Server::IsUlined(). +Referenced by userrec::HasPermission(), Server::IsUlined(), and kick_channel(). .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3 index 46175dd7f..c341c9284 100644 --- a/docs/man/man3/connection.3 +++ b/docs/man/man3/connection.3 @@ -139,7 +139,7 @@ File descriptor of the connection. .PP Definition at line 42 of file connection.h. .PP -Referenced by connection(), ConfigReader::DumpErrors(), Server::PseudoToUser(), Server::SendTo(), userrec::userrec(), and Server::UserToPseudo(). +Referenced by add_channel(), connection(), ConfigReader::DumpErrors(), kick_channel(), Server::PseudoToUser(), Server::SendTo(), userrec::userrec(), and Server::UserToPseudo(). .SS "bool \fBconnection::haspassed\fP" .PP True if server/user has authenticated, false if otherwise. diff --git a/docs/man/man3/globals.h.3 b/docs/man/man3/globals.h.3 new file mode 100644 index 000000000..06d0d81f1 --- /dev/null +++ b/docs/man/man3/globals.h.3 @@ -0,0 +1,174 @@ +.TH "globals.h" 3 "14 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +globals.h \- +.SH SYNOPSIS +.br +.PP +\fC#include <typeinfo>\fP +.br +\fC#include <iostream>\fP +.br +\fC#include <string>\fP +.br +\fC#include <deque>\fP +.br +\fC#include 'users.h'\fP +.br +\fC#include 'channels.h'\fP +.br + +.SS "Typedefs" + +.in +1c +.ti -1c +.RI "typedef std::deque< \fBstd::string\fP > \fBfile_cache\fP" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBWriteOpers\fP (char *text,...)" +.br +.ti -1c +.RI "void \fBlog\fP (int level, char *text,...)" +.br +.ti -1c +.RI "void \fBWrite\fP (int sock, char *text,...)" +.br +.ti -1c +.RI "void \fBWriteServ\fP (int sock, char *text,...)" +.br +.ti -1c +.RI "void \fBWriteFrom\fP (int sock, \fBuserrec\fP *user, char *text,...)" +.br +.ti -1c +.RI "void \fBWriteTo\fP (\fBuserrec\fP *source, \fBuserrec\fP *dest, char *data,...)" +.br +.ti -1c +.RI "void \fBWriteChannel\fP (\fBchanrec\fP *Ptr, \fBuserrec\fP *user, char *text,...)" +.br +.ti -1c +.RI "void \fBChanExceptSender\fP (\fBchanrec\fP *Ptr, \fBuserrec\fP *user, char *text,...)" +.br +.ti -1c +.RI "int \fBcommon_channels\fP (\fBuserrec\fP *u, \fBuserrec\fP *u2)" +.br +.ti -1c +.RI "void \fBWriteCommon\fP (\fBuserrec\fP *u, char *text,...)" +.br +.ti -1c +.RI "void \fBWriteCommonExcept\fP (\fBuserrec\fP *u, char *text,...)" +.br +.ti -1c +.RI "void \fBWriteWallOps\fP (\fBuserrec\fP *source, bool local_only, char *text,...)" +.br +.ti -1c +.RI "int \fBisnick\fP (const char *n)" +.br +.ti -1c +.RI "\fBuserrec\fP * \fBFind\fP (\fBstd::string\fP nick)" +.br +.ti -1c +.RI "\fBchanrec\fP * \fBFindChan\fP (const char *chan)" +.br +.ti -1c +.RI "char * \fBcmode\fP (\fBuserrec\fP *user, \fBchanrec\fP *chan)" +.br +.ti -1c +.RI "\fBstd::string\fP \fBgetservername\fP ()" +.br +.ti -1c +.RI "\fBstd::string\fP \fBgetnetworkname\fP ()" +.br +.ti -1c +.RI "\fBstd::string\fP \fBgetadminname\fP ()" +.br +.ti -1c +.RI "\fBstd::string\fP \fBgetadminemail\fP ()" +.br +.ti -1c +.RI "\fBstd::string\fP \fBgetadminnick\fP ()" +.br +.ti -1c +.RI "void \fBreadfile\fP (\fBfile_cache\fP &F, const char *fname)" +.br +.ti -1c +.RI "int \fBModeDefiend\fP (char c, int i)" +.br +.in -1c +.SH "Typedef Documentation" +.PP +.SS "typedef std::deque<\fBstd::string\fP> \fBfile_cache\fP" +.PP +Definition at line 29 of file globals.h. +.SH "Function Documentation" +.PP +.SS "void ChanExceptSender (\fBchanrec\fP * Ptr, \fBuserrec\fP * user, char * text, ...)" +.PP +Referenced by Server::SendChannel(). +.SS "char* cmode (\fBuserrec\fP * user, \fBchanrec\fP * chan)" +.PP +Referenced by Server::ChanMode(). +.SS "int common_channels (\fBuserrec\fP * u, \fBuserrec\fP * u2)" +.PP +Referenced by Server::CommonChannels(). +.SS "\fBuserrec\fP* Find (\fBstd::string\fP nick)" +.PP +Referenced by Server::FindNick(). +.SS "\fBchanrec\fP* FindChan (const char * chan)" +.PP +Referenced by add_channel(), del_channel(), and Server::FindChannel(). +.SS "\fBstd::string\fP getadminemail ()" +.PP +.SS "\fBstd::string\fP getadminname ()" +.PP +.SS "\fBstd::string\fP getadminnick ()" +.PP +.SS "\fBstd::string\fP getnetworkname ()" +.PP +.SS "\fBstd::string\fP getservername ()" +.PP +.SS "int isnick (const char * n)" +.PP +Referenced by Server::IsNick(). +.SS "void log (int level, char * text, ...)" +.PP +Referenced by add_channel(), Server::AddExtendedMode(), SocketEngine::AddFd(), chanrec::AddUser(), del_channel(), SocketEngine::DelFd(), chanrec::DelUser(), ForceChan(), InspSocket::InspSocket(), kick_channel(), Server::Log(), InspSocket::Read(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), SocketEngine::SocketEngine(), and SocketEngine::~SocketEngine(). +.SS "int ModeDefiend (char c, int i)" +.PP +.SS "void readfile (\fBfile_cache\fP & F, const char * fname)" +.PP +Referenced by FileReader::FileReader(), and FileReader::LoadFile(). +.SS "void Write (int sock, char * text, ...)" +.PP +Referenced by Server::PseudoToUser(), Server::Send(), Server::SendTo(), and Server::UserToPseudo(). +.SS "void WriteChannel (\fBchanrec\fP * Ptr, \fBuserrec\fP * user, char * text, ...)" +.PP +Referenced by del_channel(), ForceChan(), kick_channel(), and Server::SendChannel(). +.SS "void WriteCommon (\fBuserrec\fP * u, char * text, ...)" +.PP +Referenced by Server::SendCommon(). +.SS "void WriteCommonExcept (\fBuserrec\fP * u, char * text, ...)" +.PP +Referenced by Server::SendCommon(). +.SS "void WriteFrom (int sock, \fBuserrec\fP * user, char * text, ...)" +.PP +Referenced by Server::PseudoToUser(), and Server::SendFrom(). +.SS "void WriteOpers (char * text, ...)" +.PP +Referenced by userrec::AddBuffer(), userrec::AddWriteBuf(), ConfigReader::DumpErrors(), Server::RehashServer(), and Server::SendOpers(). +.SS "void WriteServ (int sock, char * text, ...)" +.PP +Referenced by add_channel(), ConfigReader::DumpErrors(), ForceChan(), kick_channel(), Server::PseudoToUser(), and Server::SendServ(). +.SS "void WriteTo (\fBuserrec\fP * source, \fBuserrec\fP * dest, char * data, ...)" +.PP +Referenced by Server::SendTo(). +.SS "void WriteWallOps (\fBuserrec\fP * source, bool local_only, char * text, ...)" +.PP +Referenced by Server::SendWallops(). +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/inspircd.h.3 b/docs/man/man3/inspircd.h.3 new file mode 100644 index 000000000..7ad3acf2c --- /dev/null +++ b/docs/man/man3/inspircd.h.3 @@ -0,0 +1,271 @@ +.TH "inspircd.h" 3 "14 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +inspircd.h \- +.SH SYNOPSIS +.br +.PP +\fC#include 'inspircd_config.h'\fP +.br +\fC#include <string>\fP +.br +\fC#include <stdio.h>\fP +.br +\fC#include <unistd.h>\fP +.br +\fC#include <signal.h>\fP +.br +\fC#include <time.h>\fP +.br +\fC#include <netdb.h>\fP +.br +\fC#include <string.h>\fP +.br +\fC#include <errno.h>\fP +.br +\fC#include <sys/types.h>\fP +.br +\fC#include <sys/socket.h>\fP +.br +\fC#include <sys/stat.h>\fP +.br +\fC#include <netinet/in.h>\fP +.br +\fC#include <arpa/inet.h>\fP +.br +\fC#include <deque>\fP +.br +\fC#include 'inspircd_io.h'\fP +.br +\fC#include 'inspircd_util.h'\fP +.br +\fC#include 'users.h'\fP +.br +\fC#include 'channels.h'\fP +.br +\fC#include 'socket.h'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBserverstats\fP" +.br +.ti -1c +.RI "class \fBInspIRCd\fP" +.br +.in -1c +.SS "Defines" + +.in +1c +.ti -1c +.RI "#define \fBERROR\fP -1" +.br +.ti -1c +.RI "#define \fBTRUE\fP 1" +.br +.ti -1c +.RI "#define \fBFALSE\fP 0" +.br +.ti -1c +.RI "#define \fBMAXSOCKS\fP 64" +.br +.ti -1c +.RI "#define \fBMAXCOMMAND\fP 32" +.br +.ti -1c +.RI "#define \fBWM_AND\fP 1" +.br +.ti -1c +.RI "#define \fBWM_OR\fP 2" +.br +.ti -1c +.RI "#define \fBTYPE_USER\fP 1" +.br +.ti -1c +.RI "#define \fBTYPE_CHANNEL\fP 2" +.br +.ti -1c +.RI "#define \fBTYPE_SERVER\fP 3" +.br +.ti -1c +.RI "#define \fBIS_LOCAL\fP(x) (x->fd > -1)" +.br +.ti -1c +.RI "#define \fBIS_REMOTE\fP(x) (x->fd < 0)" +.br +.ti -1c +.RI "#define \fBIS_MODULE_CREATED\fP(x) (x->fd == FD_MAGIC_NUMBER)" +.br +.in -1c +.SS "Typedefs" + +.in +1c +.ti -1c +.RI "typedef void( \fBhandlerfunc\fP )(char **, int, \fBuserrec\fP *)" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBforce_nickchange\fP (\fBuserrec\fP *user, const char *newnick)" +.br +.ti -1c +.RI "void \fBkill_link\fP (\fBuserrec\fP *user, const char *r)" +.br +.ti -1c +.RI "void \fBkill_link_silent\fP (\fBuserrec\fP *user, const char *r)" +.br +.ti -1c +.RI "void \fBcall_handler\fP (const char *commandname, char **parameters, int pcnt, \fBuserrec\fP *user)" +.br +.ti -1c +.RI "bool \fBis_valid_cmd\fP (const char *commandname, int pcnt, \fBuserrec\fP *user)" +.br +.ti -1c +.RI "\fBstd::string\fP \fBGetRevision\fP ()" +.br +.ti -1c +.RI "int \fBloop_call\fP (\fBhandlerfunc\fP fn, char **parameters, int pcnt, \fBuserrec\fP *u, int start, int end, int joins)" +.br +.ti -1c +.RI "void \fBAddWhoWas\fP (\fBuserrec\fP *u)" +.br +.ti -1c +.RI "void \fBConnectUser\fP (\fBuserrec\fP *user)" +.br +.ti -1c +.RI "\fBuserrec\fP * \fBReHashNick\fP (char *Old, char *New)" +.br +.ti -1c +.RI "char * \fBModuleError\fP ()" +.br +.ti -1c +.RI "void \fBAddOper\fP (\fBuserrec\fP *user)" +.br +.ti -1c +.RI "void \fBDeleteOper\fP (\fBuserrec\fP *user)" +.br +.ti -1c +.RI "void \fBhandle_version\fP (char **parameters, int pcnt, \fBuserrec\fP *user)" +.br +.ti -1c +.RI "void \fBAddServerName\fP (\fBstd::string\fP servername)" +.br +.ti -1c +.RI "const char * \fBFindServerNamePtr\fP (\fBstd::string\fP servername)" +.br +.ti -1c +.RI "\fBstd::string\fP \fBGetVersionString\fP ()" +.br +.ti -1c +.RI "void * \fBdns_task\fP (void *arg)" +.br +.ti -1c +.RI "void \fBprocess_buffer\fP (const char *cmdbuf, \fBuserrec\fP *user)" +.br +.ti -1c +.RI "void \fBFullConnectUser\fP (\fBuserrec\fP *user)" +.br +.in -1c +.SH "Define Documentation" +.PP +.SS "#define ERROR -1" +.PP +Definition at line 49 of file inspircd.h. +.PP +Referenced by InspSocket::InspSocket(). +.SS "#define FALSE 0" +.PP +Definition at line 51 of file inspircd.h. +.SS "#define IS_LOCAL(x) (x->fd > -1)" +.PP +Definition at line 66 of file inspircd.h. +.SS "#define IS_MODULE_CREATED(x) (x->fd == FD_MAGIC_NUMBER)" +.PP +Definition at line 68 of file inspircd.h. +.SS "#define IS_REMOTE(x) (x->fd < 0)" +.PP +Definition at line 67 of file inspircd.h. +.SS "#define MAXCOMMAND 32" +.PP +Definition at line 53 of file inspircd.h. +.SS "#define MAXSOCKS 64" +.PP +Definition at line 52 of file inspircd.h. +.SS "#define TRUE 1" +.PP +Definition at line 50 of file inspircd.h. +.SS "#define TYPE_CHANNEL 2" +.PP +Definition at line 63 of file inspircd.h. +.SS "#define TYPE_SERVER 3" +.PP +Definition at line 64 of file inspircd.h. +.SS "#define TYPE_USER 1" +.PP +Definition at line 62 of file inspircd.h. +.SS "#define WM_AND 1" +.PP +Definition at line 57 of file inspircd.h. +.SS "#define WM_OR 2" +.PP +Definition at line 58 of file inspircd.h. +.SH "Typedef Documentation" +.PP +.SS "typedef void( \fBhandlerfunc\fP)(char **, int, \fBuserrec\fP *)" +.PP +Definition at line 70 of file inspircd.h. +.SH "Function Documentation" +.PP +.SS "void AddOper (\fBuserrec\fP * user)" +.PP +.SS "void AddServerName (\fBstd::string\fP servername)" +.PP +.SS "void AddWhoWas (\fBuserrec\fP * u)" +.PP +.SS "void call_handler (const char * commandname, char ** parameters, int pcnt, \fBuserrec\fP * user)" +.PP +Referenced by Server::CallCommandHandler(). +.SS "void ConnectUser (\fBuserrec\fP * user)" +.PP +.SS "void DeleteOper (\fBuserrec\fP * user)" +.PP +.SS "void* dns_task (void * arg)" +.PP +.SS "const char* FindServerNamePtr (\fBstd::string\fP servername)" +.PP +Referenced by userrec::userrec(). +.SS "void force_nickchange (\fBuserrec\fP * user, const char * newnick)" +.PP +Referenced by Server::ChangeUserNick(). +.SS "void FullConnectUser (\fBuserrec\fP * user)" +.PP +.SS "\fBstd::string\fP GetRevision ()" +.PP +.SS "\fBstd::string\fP GetVersionString ()" +.PP +.SS "void handle_version (char ** parameters, int pcnt, \fBuserrec\fP * user)" +.PP +.SS "bool is_valid_cmd (const char * commandname, int pcnt, \fBuserrec\fP * user)" +.PP +Referenced by Server::IsValidModuleCommand(). +.SS "void kill_link (\fBuserrec\fP * user, const char * r)" +.PP +Referenced by Server::PseudoToUser(), and Server::QuitUser(). +.SS "void kill_link_silent (\fBuserrec\fP * user, const char * r)" +.PP +.SS "int loop_call (\fBhandlerfunc\fP fn, char ** parameters, int pcnt, \fBuserrec\fP * u, int start, int end, int joins)" +.PP +.SS "char* ModuleError ()" +.PP +.SS "void process_buffer (const char * cmdbuf, \fBuserrec\fP * user)" +.PP +.SS "\fBuserrec\fP* ReHashNick (char * Old, char * New)" +.PP +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/inspircd_io.h.3 b/docs/man/man3/inspircd_io.h.3 index fa150ea79..623efdc4a 100644 --- a/docs/man/man3/inspircd_io.h.3 +++ b/docs/man/man3/inspircd_io.h.3 @@ -31,7 +31,7 @@ inspircd_io.h \- .ti -1c .RI "#define \fBDEBUG\fP 10" .br -.RI "\fIFlags for use with log(). \fP" +.RI "\fIFlags for use with \fBlog()\fP. \fP" .ti -1c .RI "#define \fBVERBOSE\fP 20" .br @@ -69,19 +69,24 @@ inspircd_io.h \- .ti -1c .RI "void \fBWritePID\fP (\fBstd::string\fP filename)" .br +.ti -1c +.RI "int \fBBindPorts\fP ()" +.br .in -1c .SH "Define Documentation" .PP .SS "#define DEBUG 10" .PP -Flags for use with log(). +Flags for use with \fBlog()\fP. .PP Definition at line 28 of file inspircd_io.h. .PP -Referenced by Server::AddExtendedMode(), SocketEngine::AddFd(), chanrec::AddUser(), SocketEngine::DelFd(), chanrec::DelUser(), InspSocket::InspSocket(), InspSocket::Read(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), SocketEngine::SocketEngine(), and SocketEngine::~SocketEngine(). +Referenced by add_channel(), Server::AddExtendedMode(), SocketEngine::AddFd(), chanrec::AddUser(), del_channel(), SocketEngine::DelFd(), chanrec::DelUser(), ForceChan(), InspSocket::InspSocket(), kick_channel(), InspSocket::Read(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), SocketEngine::SocketEngine(), and SocketEngine::~SocketEngine(). .SS "#define DEFAULT 30" .PP Definition at line 30 of file inspircd_io.h. +.PP +Referenced by add_channel(), del_channel(), and kick_channel(). .SS "#define NONE 50" .PP Definition at line 32 of file inspircd_io.h. @@ -93,6 +98,8 @@ Definition at line 31 of file inspircd_io.h. Definition at line 29 of file inspircd_io.h. .SH "Function Documentation" .PP +.SS "int BindPorts ()" +.PP .SS "int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char * addr)" .PP Referenced by InspSocket::InspSocket(). diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3 index 719defbf5..f677c6554 100644 --- a/docs/man/man3/message.h.3 +++ b/docs/man/man3/message.h.3 @@ -101,22 +101,20 @@ Referenced by Server::ChangeGECOS(). .PP .SS "char* cmode (\fBuserrec\fP * user, \fBchanrec\fP * chan)" .PP -Referenced by Server::ChanMode(). .SS "int common_channels (\fBuserrec\fP * u, \fBuserrec\fP * u2)" .PP -Referenced by Server::CommonChannels(). .SS "int cstatus (\fBuserrec\fP * user, \fBchanrec\fP * chan)" .PP +Referenced by kick_channel(). .SS "int has_channel (\fBuserrec\fP * u, \fBchanrec\fP * c)" .PP -Referenced by Server::IsOnChannel(). +Referenced by add_channel(), Server::IsOnChannel(), and kick_channel(). .SS "bool hasumode (\fBuserrec\fP * user, char mode)" .PP .SS "int isident (const char * n)" .PP .SS "int isnick (const char * n)" .PP -Referenced by Server::IsNick(). .SS "void NonBlocking (int s)" .PP .SS "void send_network_quit (const char * nick, const char * reason)" diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3 index b8eec9add..0739843bf 100644 --- a/docs/man/man3/modules.cpp.3 +++ b/docs/man/man3/modules.cpp.3 @@ -106,6 +106,9 @@ modules.cpp \- .RI "\fBServerConfig\fP * \fBConfig\fP" .br .ti -1c +.RI "\fBInspIRCd\fP * \fBServerInstance\fP" +.br +.ti -1c .RI "int \fBMODCOUNT\fP = -1" .br .ti -1c @@ -121,24 +124,6 @@ modules.cpp \- .RI "time_t \fBTIME\fP" .br .ti -1c -.RI "int \fBWHOWAS_STALE\fP" -.br -.ti -1c -.RI "int \fBWHOWAS_MAX\fP" -.br -.ti -1c -.RI "time_t \fBstartup_time\fP" -.br -.ti -1c -.RI "int \fBboundPortCount\fP" -.br -.ti -1c -.RI "int \fBportCount\fP" -.br -.ti -1c -.RI "int \fBports\fP [MAXSOCKS]" -.br -.ti -1c .RI "\fBuserrec\fP * \fBfd_ref_table\fP [65536]" .br .ti -1c @@ -148,15 +133,9 @@ modules.cpp \- .RI "\fBchan_hash\fP \fBchanlist\fP" .br .ti -1c -.RI "\fBwhowas_hash\fP \fBwhowas\fP" -.br -.ti -1c .RI "\fBcommand_table\fP \fBcmdlist\fP" .br .ti -1c -.RI "\fBaddress_cache\fP \fBIP\fP" -.br -.ti -1c .RI "\fBExtModeList\fP \fBEMode\fP" .br .in -1c @@ -164,149 +143,147 @@ modules.cpp \- .PP .SS "bool DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off)" .PP -Definition at line 142 of file modules.cpp. +Definition at line 134 of file modules.cpp. .PP References EMode, and ModeDefined(). .PP Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode(). .PP .nf -143 { -144 if (ModeDefined(modechar,type)) { -145 return false; -146 } -147 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); -148 return true; -149 } +135 { +136 if (ModeDefined(modechar,type)) { +137 return false; +138 } +139 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); +140 return true; +141 } .fi .PP .SS "std::vector<\fBircd_module\fP*> factory (255)" .PP .SS "bool ModeDefined (char modechar, int type)" .PP -Definition at line 79 of file modules.cpp. +Definition at line 71 of file modules.cpp. .PP References EMode. .PP Referenced by DoAddExtendedMode(). .PP .nf -80 { -81 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -82 { -83 if ((i->modechar == modechar) && (i->type == type)) -84 { -85 return true; -86 } -87 } -88 return false; -89 } +72 { +73 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +74 { +75 if ((i->modechar == modechar) && (i->type == type)) +76 { +77 return true; +78 } +79 } +80 return false; +81 } .fi .PP .SS "int ModeDefinedOff (char modechar, int type)" .PP -Definition at line 129 of file modules.cpp. +Definition at line 121 of file modules.cpp. .PP References EMode. .PP .nf -130 { -131 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -132 { -133 if ((i->modechar == modechar) && (i->type == type)) -134 { -135 return i->params_when_off; -136 } -137 } -138 return 0; -139 } +122 { +123 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +124 { +125 if ((i->modechar == modechar) && (i->type == type)) +126 { +127 return i->params_when_off; +128 } +129 } +130 return 0; +131 } .fi .PP .SS "int ModeDefinedOn (char modechar, int type)" .PP -Definition at line 116 of file modules.cpp. +Definition at line 108 of file modules.cpp. .PP References EMode. .PP .nf -117 { -118 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -119 { -120 if ((i->modechar == modechar) && (i->type == type)) -121 { -122 return i->params_when_on; -123 } -124 } -125 return 0; -126 } +109 { +110 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +111 { +112 if ((i->modechar == modechar) && (i->type == type)) +113 { +114 return i->params_when_on; +115 } +116 } +117 return 0; +118 } .fi .PP .SS "bool ModeDefinedOper (char modechar, int type)" .PP -Definition at line 103 of file modules.cpp. +Definition at line 95 of file modules.cpp. .PP References EMode. .PP .nf -104 { -105 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -106 { -107 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) -108 { -109 return true; -110 } -111 } -112 return false; -113 } +96 { +97 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +98 { +99 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +100 { +101 return true; +102 } +103 } +104 return false; +105 } .fi .PP .SS "bool ModeIsListMode (char modechar, int type)" .PP -Definition at line 91 of file modules.cpp. +Definition at line 83 of file modules.cpp. .PP References EMode. .PP .nf -92 { -93 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -94 { -95 if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) -96 { -97 return true; -98 } -99 } -100 return false; -101 } +84 { +85 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +86 { +87 if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) +88 { +89 return true; +90 } +91 } +92 return false; +93 } .fi .PP .SS "void ModeMakeList (char modechar)" .PP -Definition at line 152 of file modules.cpp. +Definition at line 144 of file modules.cpp. .PP References EMode, and MT_CHANNEL. .PP Referenced by Server::AddExtendedListMode(). .PP .nf -153 { -154 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -155 { -156 if ((i->modechar == modechar) && (i->type == MT_CHANNEL)) -157 { -158 i->list = true; -159 return; -160 } -161 } -162 return; -163 } +145 { +146 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +147 { +148 if ((i->modechar == modechar) && (i->type == MT_CHANNEL)) +149 { +150 i->list = true; +151 return; +152 } +153 } +154 return; +155 } .fi .PP .SS "std::vector<\fBModule\fP*> modules (255)" .PP .SH "Variable Documentation" .PP -.SS "int \fBboundPortCount\fP" -.PP .SS "\fBchan_hash\fP \fBchanlist\fP" .PP .SS "\fBuser_hash\fP \fBclientlist\fP" @@ -317,39 +294,27 @@ Referenced by Server::AddExtendedListMode(). .PP .SS "\fBExtModeList\fP \fBEMode\fP" .PP -Definition at line 76 of file modules.cpp. +Definition at line 68 of file modules.cpp. .PP Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList(). .SS "std::vector<\fBircd_module\fP*> factory" .PP .SS "\fBuserrec\fP* \fBfd_ref_table\fP[65536]" .PP -.SS "\fBaddress_cache\fP \fBIP\fP" -.PP .SS "int \fBMODCOUNT\fP = -1" .PP -Definition at line 938 of file modules.cpp. +Definition at line 930 of file modules.cpp. .SS "std::vector<\fBInspSocket\fP*> \fBmodule_sockets\fP" .PP Referenced by Server::AddSocket(), and Server::DelSocket(). .SS "std::vector<\fBModule\fP*> modules" .PP -.SS "int \fBportCount\fP" -.PP -.SS "int \fBports\fP[MAXSOCKS]" -.PP .SS "\fBSocketEngine\fP* \fBSE\fP" .PP -.SS "time_t \fBstartup_time\fP" +.SS "\fBInspIRCd\fP* \fBServerInstance\fP" .PP .SS "time_t \fBTIME\fP" .PP -.SS "\fBwhowas_hash\fP \fBwhowas\fP" -.PP -.SS "int \fBWHOWAS_MAX\fP" -.PP -.SS "int \fBWHOWAS_STALE\fP" -.PP .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 28f7e5404..24fd4c360 100644 --- a/docs/man/man3/modules.h.3 +++ b/docs/man/man3/modules.h.3 @@ -51,7 +51,7 @@ modules.h \- .ti -1c .RI "class \fBModule\fP" .br -.RI "\fIBase class for all InspIRCd modules This class is the base class for InspIRCd modules. \fP" +.RI "\fIBase class for all \fBInspIRCd\fP modules This class is the base class for \fBInspIRCd\fP modules. \fP" .ti -1c .RI "class \fBServer\fP" .br @@ -192,11 +192,29 @@ modules.h \- .in +1c .ti -1c -.RI "void \fBcreatecommand\fP (char *cmd, handlerfunc f, char flags, int minparams, char *source)" +.RI "void \fBcreatecommand\fP (char *cmd, \fBhandlerfunc\fP f, char flags, int minparams, char *source)" .br .ti -1c .RI "void \fBserver_mode\fP (char **parameters, int pcnt, \fBuserrec\fP *user)" .br +.ti -1c +.RI "bool \fBModeDefined\fP (char c, int i)" +.br +.ti -1c +.RI "bool \fBModeDefinedOper\fP (char c, int i)" +.br +.ti -1c +.RI "int \fBModeDefinedOn\fP (char c, int i)" +.br +.ti -1c +.RI "int \fBModeDefinedOff\fP (char c, int i)" +.br +.ti -1c +.RI "void \fBModeMakeList\fP (char modechar)" +.br +.ti -1c +.RI "bool \fBModeIsListMode\fP (char modechar, int type)" +.br .in -1c .SH "Define Documentation" .PP @@ -221,6 +239,8 @@ Definition at line 47 of file modules.h. .SS "#define AC_KICK 0" .PP Definition at line 40 of file modules.h. +.PP +Referenced by kick_channel(). .SS "#define AC_OP 2" .PP Definition at line 42 of file modules.h. @@ -236,10 +256,12 @@ Used with OnAccessCheck() method of modules. .PP Definition at line 37 of file modules.h. .PP -Referenced by Module::OnAccessCheck(). +Referenced by kick_channel(), and Module::OnAccessCheck(). .SS "#define ACR_DENY 1" .PP Definition at line 38 of file modules.h. +.PP +Referenced by kick_channel(). .SS "#define CONF_FILE_NOT_FOUND 0x000200" .PP Definition at line 1520 of file modules.h. @@ -277,7 +299,7 @@ Referenced by Server::PseudoToUser(), and Server::UserToPseudo(). .PP Definition at line 81 of file modules.h. .PP -Referenced by Event::Send(). +Referenced by del_channel(), ForceChan(), kick_channel(), and Event::Send(). .SS "#define FOREACH_RESULT(x)" .PP \fBValue:\fP @@ -295,6 +317,8 @@ Referenced by Event::Send(). .fi .PP Definition at line 89 of file modules.h. +.PP +Referenced by add_channel(), and kick_channel(). .SS "#define MT_CHANNEL 1" .PP Used with OnExtendedMode() method of modules. @@ -357,9 +381,128 @@ Definition at line 1686 of file modules.h. Definition at line 70 of file modules.h. .SH "Function Documentation" .PP -.SS "void createcommand (char * cmd, handlerfunc f, char flags, int minparams, char * source)" +.SS "void createcommand (char * cmd, \fBhandlerfunc\fP f, char flags, int minparams, char * source)" .PP Referenced by Server::AddCommand(). +.SS "bool ModeDefined (char c, int i)" +.PP +Definition at line 71 of file modules.cpp. +.PP +References EMode. +.PP +Referenced by DoAddExtendedMode(). +.PP +.nf +72 { +73 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +74 { +75 if ((i->modechar == modechar) && (i->type == type)) +76 { +77 return true; +78 } +79 } +80 return false; +81 } +.fi +.PP +.SS "int ModeDefinedOff (char c, int i)" +.PP +Definition at line 121 of file modules.cpp. +.PP +References EMode. +.PP +.nf +122 { +123 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +124 { +125 if ((i->modechar == modechar) && (i->type == type)) +126 { +127 return i->params_when_off; +128 } +129 } +130 return 0; +131 } +.fi +.PP +.SS "int ModeDefinedOn (char c, int i)" +.PP +Definition at line 108 of file modules.cpp. +.PP +References EMode. +.PP +.nf +109 { +110 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +111 { +112 if ((i->modechar == modechar) && (i->type == type)) +113 { +114 return i->params_when_on; +115 } +116 } +117 return 0; +118 } +.fi +.PP +.SS "bool ModeDefinedOper (char c, int i)" +.PP +Definition at line 95 of file modules.cpp. +.PP +References EMode. +.PP +.nf +96 { +97 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +98 { +99 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +100 { +101 return true; +102 } +103 } +104 return false; +105 } +.fi +.PP +.SS "bool ModeIsListMode (char modechar, int type)" +.PP +Definition at line 83 of file modules.cpp. +.PP +References EMode. +.PP +.nf +84 { +85 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +86 { +87 if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) +88 { +89 return true; +90 } +91 } +92 return false; +93 } +.fi +.PP +.SS "void ModeMakeList (char modechar)" +.PP +Definition at line 144 of file modules.cpp. +.PP +References EMode, and MT_CHANNEL. +.PP +Referenced by Server::AddExtendedListMode(). +.PP +.nf +145 { +146 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +147 { +148 if ((i->modechar == modechar) && (i->type == MT_CHANNEL)) +149 { +150 i->list = true; +151 return; +152 } +153 } +154 return; +155 } +.fi +.PP .SS "void server_mode (char ** parameters, int pcnt, \fBuserrec\fP * user)" .PP .SH "Author" diff --git a/docs/man/man3/serverstats.3 b/docs/man/man3/serverstats.3 new file mode 100644 index 000000000..18657e790 --- /dev/null +++ b/docs/man/man3/serverstats.3 @@ -0,0 +1,126 @@ +.TH "serverstats" 3 "14 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*- +.ad l +.nh +.SH NAME +serverstats \- +.SH SYNOPSIS +.br +.PP +\fC#include <inspircd.h>\fP +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBserverstats\fP ()" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "int \fBstatsAccept\fP" +.br +.ti -1c +.RI "int \fBstatsRefused\fP" +.br +.ti -1c +.RI "int \fBstatsUnknown\fP" +.br +.ti -1c +.RI "int \fBstatsCollisions\fP" +.br +.ti -1c +.RI "int \fBstatsDns\fP" +.br +.ti -1c +.RI "int \fBstatsDnsGood\fP" +.br +.ti -1c +.RI "int \fBstatsDnsBad\fP" +.br +.ti -1c +.RI "int \fBstatsConnects\fP" +.br +.ti -1c +.RI "int \fBstatsSent\fP" +.br +.ti -1c +.RI "int \fBstatsRecv\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 72 of file inspircd.h. +.SH "Constructor & Destructor Documentation" +.PP +.SS "serverstats::serverstats ()\fC [inline]\fP" +.PP +Definition at line 86 of file inspircd.h. +.PP +References statsAccept, statsCollisions, statsConnects, statsDns, statsDnsBad, statsDnsGood, statsRecv, statsRefused, statsSent, and statsUnknown. +.PP +.nf +87 { +88 statsAccept = statsRefused = statsUnknown = 0; +89 statsCollisions = statsDns = statsDnsGood = 0; +90 statsDnsBad = statsConnects = statsSent = statsRecv = 0; +91 } +.fi +.PP +.SH "Member Data Documentation" +.PP +.SS "int \fBserverstats::statsAccept\fP" +.PP +Definition at line 75 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsCollisions\fP" +.PP +Definition at line 78 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsConnects\fP" +.PP +Definition at line 82 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsDns\fP" +.PP +Definition at line 79 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsDnsBad\fP" +.PP +Definition at line 81 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsDnsGood\fP" +.PP +Definition at line 80 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsRecv\fP" +.PP +Definition at line 84 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsRefused\fP" +.PP +Definition at line 76 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsSent\fP" +.PP +Definition at line 83 of file inspircd.h. +.PP +Referenced by serverstats(). +.SS "int \fBserverstats::statsUnknown\fP" +.PP +Definition at line 77 of file inspircd.h. +.PP +Referenced by serverstats(). + +.SH "Author" +.PP +Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/typedefs.h.3 b/docs/man/man3/typedefs.h.3 index e919dd1f0..d93fbb901 100644 --- a/docs/man/man3/typedefs.h.3 +++ b/docs/man/man3/typedefs.h.3 @@ -56,6 +56,9 @@ typedefs.h \- .ti -1c .RI "typedef ExtModeList::iterator \fBExtModeListIter\fP" .br +.ti -1c +.RI "typedef std::deque< \fBstd::string\fP > \fBfile_cache\fP" +.br .in -1c .SH "Typedef Documentation" .PP @@ -74,6 +77,9 @@ Definition at line 26 of file typedefs.h. .SS "typedef ExtModeList::iterator \fBExtModeListIter\fP" .PP Definition at line 27 of file typedefs.h. +.SS "typedef std::deque<\fBstd::string\fP> \fBfile_cache\fP" +.PP +Definition at line 28 of file typedefs.h. .SS "typedef std::vector<\fBstd::string\fP> \fBservernamelist\fP" .PP Definition at line 25 of file typedefs.h. diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3 index 2b88bcc46..764821843 100644 --- a/docs/man/man3/ucrec.3 +++ b/docs/man/man3/ucrec.3 @@ -40,23 +40,23 @@ Holds a user's modes on a channel This class associates a users privilages with The uc_modes member holds a bitmask of which privilages the user has on the channel, such as op, voice, etc. .PP -Definition at line 241 of file channels.h. +Definition at line 243 of file channels.h. .SH "Constructor & Destructor Documentation" .PP .SS "ucrec::ucrec ()\fC [inline]\fP" .PP -Definition at line 254 of file channels.h. +Definition at line 256 of file channels.h. .PP .nf -254 { /* stub */ } +256 { /* stub */ } .fi .PP .SS "virtual ucrec::~ucrec ()\fC [inline, virtual]\fP" .PP -Definition at line 255 of file channels.h. +Definition at line 257 of file channels.h. .PP .nf -255 { /* stub */ } +257 { /* stub */ } .fi .PP .SH "Member Data Documentation" @@ -67,14 +67,18 @@ Points to the channel record where the given modes apply. .PP If the record is not in use, this value will be NULL. .PP -Definition at line 252 of file channels.h. +Definition at line 254 of file channels.h. +.PP +Referenced by ForceChan(). .SS "char \fBucrec::uc_modes\fP" .PP Contains a bitmask of the UCMODE_OP . .PP .. UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel. .PP -Definition at line 247 of file channels.h. +Definition at line 249 of file channels.h. +.PP +Referenced by ForceChan(). .SH "Author" .PP diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3 index 6d88cb3d5..ce863107f 100644 --- a/docs/man/man3/userrec.3 +++ b/docs/man/man3/userrec.3 @@ -199,7 +199,7 @@ Definition at line 111 of file users.h. .PP Definition at line 36 of file users.cpp. .PP -References awaymsg, connection::bytes_in, connection::bytes_out, 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, sendq, server, ServerConfig::ServerName, connection::signon, TIME, and timeout. +References awaymsg, connection::bytes_in, connection::bytes_out, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, FindServerNamePtr(), 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, sendq, server, ServerConfig::ServerName, connection::signon, TIME, and timeout. .PP .nf 37 { @@ -247,7 +247,7 @@ The buffer can grow to any size within limits of the available memory, managed b .PP Definition at line 198 of file users.cpp. .PP -References recvq, recvqmax, and SetWriteError(). +References recvq, recvqmax, SetWriteError(), and WriteOpers(). .PP .nf 199 { @@ -284,7 +284,7 @@ You may add any amount of text up to this users sendq value, if you exceed the s .PP Definition at line 254 of file users.cpp. .PP -References sendq, sendqmax, and SetWriteError(). +References sendq, sendqmax, SetWriteError(), and WriteOpers(). .PP .nf 255 { @@ -419,6 +419,8 @@ Definition at line 72 of file users.cpp. .PP References dhost, ident, and nick. .PP +Referenced by add_channel(). +.PP .nf 73 { 74 static char result[MAXBUF]; @@ -561,6 +563,8 @@ Definition at line 96 of file users.cpp. .PP References invites. .PP +Referenced by add_channel(). +.PP .nf 97 { 98 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) @@ -600,7 +604,9 @@ This member function is called on successfully joining an invite only channel to .PP Definition at line 122 of file users.cpp. .PP -References DEBUG, and invites. +References DEBUG, invites, and log(). +.PP +Referenced by add_channel(). .PP .nf 123 { @@ -633,7 +639,7 @@ This is done because the actual disconnect of a client may occur at an inopportu .PP Definition at line 292 of file users.cpp. .PP -References DEBUG, and WriteError. +References DEBUG, log(), and WriteError. .PP Referenced by AddBuffer(), AddWriteBuf(), and FlushWriteBuf(). .PP @@ -661,7 +667,7 @@ Referenced by userrec(). .PP Definition at line 149 of file users.h. .PP -Referenced by Server::PseudoToUser(), and userrec(). +Referenced by add_channel(), del_channel(), kick_channel(), Server::PseudoToUser(), and userrec(). .SS "char \fBuserrec::dhost\fP[160]" .PP The host displayed to non-opers (used for cloaking etc). @@ -723,7 +729,7 @@ This may contain any of the following RFC characters: o, w, s, i Your module may .PP Definition at line 147 of file users.h. .PP -Referenced by userrec(). +Referenced by add_channel(), and userrec(). .SS "char \fBuserrec::nick\fP[NICKMAX]" .PP The users nickname. @@ -732,7 +738,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma .PP Definition at line 124 of file users.h. .PP -Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), and userrec(). +Referenced by add_channel(), del_channel(), ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), kick_channel(), Server::PseudoToUser(), and userrec(). .SS "char \fBuserrec::oper\fP[NICKMAX]" .PP The oper type they logged in as, if they are an oper. @@ -797,7 +803,7 @@ The server the user is connected to. .PP Definition at line 153 of file users.h. .PP -Referenced by userrec(). +Referenced by kick_channel(), and userrec(). .SS "long \fBuserrec::threshold\fP" .PP Definition at line 208 of file users.h. diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3 index 03ced5bd9..8f98caab3 100644 --- a/docs/man/man3/users.h.3 +++ b/docs/man/man3/users.h.3 @@ -82,6 +82,8 @@ Definition at line 35 of file users.h. .SS "#define STATUS_HOP 2" .PP Definition at line 30 of file users.h. +.PP +Referenced by kick_channel(). .SS "#define STATUS_NORMAL 0" .PP Definition at line 32 of file users.h. diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 4138116fc..3bce7949d 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -29,19 +29,21 @@ <tr><td class="indexkey"><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a></td><td class="indexvalue"></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="structirc_1_1InAddr__HashComp.html">irc::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="classInspIRCd.html">InspIRCd</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classInspSocket.html">InspSocket</a></td><td class="indexvalue">InspSocket is an extendable socket class which modules can use for TCP socket support </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="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> - <tr><td class="indexkey"><a class="el" href="classModule.html">Module</a></td><td class="indexvalue">Base class for all InspIRCd modules This class is the base class for InspIRCd modules </td></tr> + <tr><td class="indexkey"><a class="el" href="classModule.html">Module</a></td><td class="indexvalue">Base class for all <a class="el" href="classInspIRCd.html">InspIRCd</a> modules This class is the base class for <a class="el" href="classInspIRCd.html">InspIRCd</a> modules </td></tr> <tr><td class="indexkey"><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td class="indexvalue">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 </td></tr> <tr><td class="indexkey"><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td class="indexvalue">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 </td></tr> <tr><td class="indexkey"><a class="el" href="classQLine.html">QLine</a></td><td class="indexvalue">QLine class </td></tr> <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="classServerConfig.html">ServerConfig</a></td><td class="indexvalue">This class holds the bulk of the runtime configuration for the ircd </td></tr> + <tr><td class="indexkey"><a class="el" href="classserverstats.html">serverstats</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td class="indexvalue">The actual socketengine class presents the same interface on all operating systems, but its private members and internal behaviour should be treated as blackboxed, and vary from system to system and upon the config settings chosen by the server admin </td></tr> <tr><td class="indexkey"><a class="el" href="structirc_1_1StrHashComp.html">irc::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> @@ -51,7 +53,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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 48ac11d29..5bf35fa88 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -88,7 +88,7 @@ <a name="l00161"></a>00161 <a name="l00162"></a>00162 <span class="preprocessor">#endif</span> <a name="l00163"></a>00163 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 1468dbb28..08420dfa3 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -68,7 +68,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#l00026">26</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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/base_8h__dep__incl.md5 b/docs/module-doc/base_8h__dep__incl.md5 index d0ae08dfb..f7dba84b9 100644 --- a/docs/module-doc/base_8h__dep__incl.md5 +++ b/docs/module-doc/base_8h__dep__incl.md5 @@ -1 +1 @@ -0046ef0e1b705028d107ddd398e9b859
\ No newline at end of file +2f30fe04f1854df5912b946d431d890e
\ No newline at end of file diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 49355b4a8..7000fa17d 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -11,7 +11,7 @@ <a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> <a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> <a name="l00004"></a>00004 <span class="comment"> *</span> -<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span> <a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> <a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> <a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> @@ -26,7 +26,7 @@ <a name="l00017"></a>00017 <span class="keyword">using</span> <span class="keyword">namespace </span>std; <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#include "inspircd_config.h"</span> -<a name="l00020"></a>00020 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="inspircd__io_8h.html">inspircd_io.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "inspircd_util.h"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include <unistd.h></span> @@ -46,157 +46,513 @@ <a name="l00037"></a>00037 <span class="preprocessor">#include <deque></span> <a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -<a name="l00040"></a>00040 <span class="preprocessor">#include "globals.h"</span> +<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> <a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> <a name="l00042"></a>00042 <span class="preprocessor">#include "dynamic.h"</span> -<a name="l00043"></a>00043 <span class="preprocessor">#include "wildcard.h"</span> -<a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> -<a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> -<a name="l00046"></a>00046 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> -<a name="l00047"></a>00047 <span class="preprocessor">#include "inspstring.h"</span> -<a name="l00048"></a>00048 <span class="preprocessor">#include "helperfuncs.h"</span> -<a name="l00049"></a>00049 -<a name="l00050"></a>00050 <span class="preprocessor">#ifdef GCC3</span> -<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> -<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#else</span> -<a name="l00053"></a><a class="code" href="channels_8cpp.html#nspace">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> -<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span> -<a name="l00055"></a>00055 <span class="preprocessor"></span> -<a name="l00056"></a>00056 <span class="keyword">extern</span> <a class="code" href="classServerConfig.html">ServerConfig</a>* <a class="code" href="channels_8cpp.html#Config">Config</a>; -<a name="l00057"></a>00057 -<a name="l00058"></a>00058 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; -<a name="l00059"></a>00059 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; -<a name="l00060"></a>00060 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; -<a name="l00061"></a>00061 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a>; -<a name="l00062"></a>00062 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a>; -<a name="l00063"></a>00063 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#startup_5Ftime">startup_time</a>; -<a name="l00064"></a>00064 <span class="keyword">extern</span> std::vector<std::string> <a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>; -<a name="l00065"></a>00065 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; -<a name="l00066"></a>00066 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>; -<a name="l00067"></a>00067 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; -<a name="l00068"></a>00068 -<a name="l00069"></a>00069 <span class="keyword">using</span> <span class="keyword">namespace </span>std; -<a name="l00070"></a>00070 -<a name="l00071"></a><a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">00071</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>; -<a name="l00072"></a>00072 -<a name="l00073"></a><a class="code" href="classchanrec.html#chanrec_28_29">00073</a> <a class="code" href="classchanrec.html#chanrec_28_29">chanrec::chanrec</a>() -<a name="l00074"></a>00074 { -<a name="l00075"></a>00075 strcpy(<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,<span class="stringliteral">""</span>); -<a name="l00076"></a>00076 strcpy(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,<span class="stringliteral">""</span>); -<a name="l00077"></a>00077 strcpy(<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>,<span class="stringliteral">""</span>); -<a name="l00078"></a>00078 strcpy(<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>,<span class="stringliteral">""</span>); -<a name="l00079"></a>00079 strcpy(<a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>,<span class="stringliteral">""</span>); -<a name="l00080"></a>00080 <a class="code" href="classchanrec.html#created">created</a> = <a class="code" href="classchanrec.html#topicset">topicset</a> = <a class="code" href="classchanrec.html#limit">limit</a> = 0; -<a name="l00081"></a>00081 <a class="code" href="classchanrec.html#binarymodes">binarymodes</a> = 0; -<a name="l00082"></a>00082 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.clear(); -<a name="l00083"></a>00083 } -<a name="l00084"></a>00084 -<a name="l00085"></a><a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">00085</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) -<a name="l00086"></a>00086 { -<a name="l00087"></a>00087 <span class="keywordflow">if</span> (mode_on) { -<a name="l00088"></a>00088 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; -<a name="l00089"></a>00089 m[0] = mode; -<a name="l00090"></a>00090 m[1] = <span class="charliteral">'\0'</span>; -<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -<a name="l00092"></a>00092 { -<a name="l00093"></a>00093 strlcat(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,m,MAXMODES); -<a name="l00094"></a>00094 } -<a name="l00095"></a>00095 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); -<a name="l00096"></a>00096 } -<a name="l00097"></a>00097 <span class="keywordflow">else</span> { -<a name="l00098"></a>00098 -<a name="l00099"></a>00099 <a class="code" href="namespaceirc.html#string">std::string</a> a = this-><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>; -<a name="l00100"></a>00100 <span class="keywordtype">int</span> pos = a.find(mode); -<a name="l00101"></a>00101 a.erase(pos,1); -<a name="l00102"></a>00102 strncpy(this->custom_modes,a.c_str(),MAXMODES); -<a name="l00103"></a>00103 -<a name="l00104"></a>00104 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -<a name="l00105"></a>00105 this-><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -<a name="l00106"></a>00106 } -<a name="l00107"></a>00107 } -<a name="l00108"></a>00108 +<a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="commands_8h.html">commands.h</a>"</span> +<a name="l00044"></a>00044 <span class="preprocessor">#include "wildcard.h"</span> +<a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="message_8h.html">message.h</a>"</span> +<a name="l00046"></a>00046 <span class="preprocessor">#include "<a class="code" href="mode_8h.html">mode.h</a>"</span> +<a name="l00047"></a>00047 <span class="preprocessor">#include "<a class="code" href="xline_8h.html">xline.h</a>"</span> +<a name="l00048"></a>00048 <span class="preprocessor">#include "inspstring.h"</span> +<a name="l00049"></a>00049 <span class="preprocessor">#include "helperfuncs.h"</span> +<a name="l00050"></a>00050 <span class="preprocessor">#include "<a class="code" href="typedefs_8h.html">typedefs.h</a>"</span> +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 <span class="preprocessor">#ifdef GCC3</span> +<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define nspace __gnu_cxx</span> +<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#else</span> +<a name="l00055"></a><a class="code" href="channels_8cpp.html#nspace">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define nspace std</span> +<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span> +<a name="l00057"></a>00057 <span class="preprocessor"></span> +<a name="l00058"></a>00058 <span class="keyword">extern</span> <a class="code" href="classServerConfig.html">ServerConfig</a>* <a class="code" href="channels_8cpp.html#Config">Config</a>; +<a name="l00059"></a>00059 +<a name="l00060"></a>00060 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; +<a name="l00061"></a>00061 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; +<a name="l00062"></a>00062 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; +<a name="l00063"></a>00063 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a>; +<a name="l00064"></a>00064 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a>; +<a name="l00065"></a>00065 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00066"></a>00066 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>; +<a name="l00067"></a>00067 +<a name="l00068"></a>00068 <span class="keyword">using</span> <span class="keyword">namespace </span>std; +<a name="l00069"></a>00069 +<a name="l00070"></a><a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">00070</a> std::vector<ModeParameter> <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>; +<a name="l00071"></a>00071 +<a name="l00072"></a>00072 <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(<a class="code" href="classchanrec.html">chanrec</a>* Ptr,<a class="code" href="classucrec.html">ucrec</a> &a,<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">int</span> created); +<a name="l00073"></a>00073 +<a name="l00074"></a><a class="code" href="classchanrec.html#chanrec_28_29">00074</a> <a class="code" href="classchanrec.html#chanrec_28_29">chanrec::chanrec</a>() +<a name="l00075"></a>00075 { +<a name="l00076"></a>00076 strcpy(<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,<span class="stringliteral">""</span>); +<a name="l00077"></a>00077 strcpy(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,<span class="stringliteral">""</span>); +<a name="l00078"></a>00078 strcpy(<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>,<span class="stringliteral">""</span>); +<a name="l00079"></a>00079 strcpy(<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>,<span class="stringliteral">""</span>); +<a name="l00080"></a>00080 strcpy(<a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>,<span class="stringliteral">""</span>); +<a name="l00081"></a>00081 <a class="code" href="classchanrec.html#created">created</a> = <a class="code" href="classchanrec.html#topicset">topicset</a> = <a class="code" href="classchanrec.html#limit">limit</a> = 0; +<a name="l00082"></a>00082 <a class="code" href="classchanrec.html#binarymodes">binarymodes</a> = 0; +<a name="l00083"></a>00083 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.clear(); +<a name="l00084"></a>00084 } +<a name="l00085"></a>00085 +<a name="l00086"></a><a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">00086</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) +<a name="l00087"></a>00087 { +<a name="l00088"></a>00088 <span class="keywordflow">if</span> (mode_on) { +<a name="l00089"></a>00089 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; +<a name="l00090"></a>00090 m[0] = mode; +<a name="l00091"></a>00091 m[1] = <span class="charliteral">'\0'</span>; +<a name="l00092"></a>00092 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +<a name="l00093"></a>00093 { +<a name="l00094"></a>00094 strlcat(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,m,MAXMODES); +<a name="l00095"></a>00095 } +<a name="l00096"></a>00096 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); +<a name="l00097"></a>00097 } +<a name="l00098"></a>00098 <span class="keywordflow">else</span> { +<a name="l00099"></a>00099 +<a name="l00100"></a>00100 <a class="code" href="namespaceirc.html#string">std::string</a> a = this-><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>; +<a name="l00101"></a>00101 <span class="keywordtype">int</span> pos = a.find(mode); +<a name="l00102"></a>00102 a.erase(pos,1); +<a name="l00103"></a>00103 strncpy(this->custom_modes,a.c_str(),MAXMODES); +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +<a name="l00106"></a>00106 this-><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +<a name="l00107"></a>00107 } +<a name="l00108"></a>00108 } <a name="l00109"></a>00109 -<a name="l00110"></a><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">00110</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) -<a name="l00111"></a>00111 { -<a name="l00112"></a>00112 -<a name="l00113"></a>00113 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); -<a name="l00114"></a>00114 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -<a name="l00115"></a>00115 M.<a class="code" href="classModeParameter.html#mode">mode</a> = mode; -<a name="l00116"></a>00116 strlcpy(M.<a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>,this->name,CHANMAX); -<a name="l00117"></a>00117 strlcpy(M.<a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>,parameter,MAXBUF); -<a name="l00118"></a>00118 <span class="keywordflow">if</span> (mode_on) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -<a name="l00121"></a>00121 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.push_back(M); -<a name="l00122"></a>00122 } -<a name="l00123"></a>00123 <span class="keywordflow">else</span> -<a name="l00124"></a>00124 { -<a name="l00125"></a>00125 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) -<a name="l00126"></a>00126 { -<a name="l00127"></a>00127 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) -<a name="l00128"></a>00128 { -<a name="l00129"></a>00129 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -<a name="l00130"></a>00130 { -<a name="l00131"></a>00131 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -<a name="l00132"></a>00132 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.erase(i); -<a name="l00133"></a>00133 <span class="keywordflow">return</span>; -<a name="l00134"></a>00134 } -<a name="l00135"></a>00135 } -<a name="l00136"></a>00136 } -<a name="l00137"></a>00137 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -<a name="l00138"></a>00138 } -<a name="l00139"></a>00139 } -<a name="l00140"></a>00140 -<a name="l00141"></a><a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">00141</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) -<a name="l00142"></a>00142 { -<a name="l00143"></a>00143 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode)); -<a name="l00144"></a>00144 } -<a name="l00145"></a>00145 -<a name="l00146"></a><a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">00146</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) -<a name="l00147"></a>00147 { -<a name="l00148"></a>00148 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) -<a name="l00149"></a>00149 { -<a name="l00150"></a>00150 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) -<a name="l00151"></a>00151 { -<a name="l00152"></a>00152 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -<a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <span class="keywordflow">return</span> i->parameter; -<a name="l00155"></a>00155 } -<a name="l00156"></a>00156 } -<a name="l00157"></a>00157 } -<a name="l00158"></a>00158 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00159"></a>00159 } -<a name="l00160"></a>00160 -<a name="l00161"></a><a class="code" href="classchanrec.html#GetUserCounter_28_29">00161</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#GetUserCounter_28_29">chanrec::GetUserCounter</a>() -<a name="l00162"></a>00162 { -<a name="l00163"></a>00163 <span class="keywordflow">return</span> (this->internal_userlist.size()); -<a name="l00164"></a>00164 } -<a name="l00165"></a>00165 -<a name="l00166"></a><a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">00166</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) -<a name="l00167"></a>00167 { -<a name="l00168"></a>00168 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.push_back(castuser); -<a name="l00169"></a>00169 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -<a name="l00170"></a>00170 } -<a name="l00171"></a>00171 -<a name="l00172"></a><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">00172</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) -<a name="l00173"></a>00173 { -<a name="l00174"></a>00174 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.end(); a++) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 <span class="keywordflow">if</span> (*a == castuser) -<a name="l00177"></a>00177 { -<a name="l00178"></a>00178 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -<a name="l00179"></a>00179 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.erase(a); -<a name="l00180"></a>00180 <span class="keywordflow">return</span>; -<a name="l00181"></a>00181 } -<a name="l00182"></a>00182 } -<a name="l00183"></a>00183 log(<a class="code" href="inspircd__io_8h.html#DEBUG">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#name_5BCHANMAX_5D">name</a>); -<a name="l00184"></a>00184 } -<a name="l00185"></a>00185 -<a name="l00186"></a><a class="code" href="classchanrec.html#GetUsers_28_29">00186</a> std::vector<char*> *<a class="code" href="classchanrec.html#GetUsers_28_29">chanrec::GetUsers</a>() -<a name="l00187"></a>00187 { -<a name="l00188"></a>00188 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; -<a name="l00189"></a>00189 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +<a name="l00110"></a>00110 +<a name="l00111"></a><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">00111</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) +<a name="l00112"></a>00112 { +<a name="l00113"></a>00113 +<a name="l00114"></a>00114 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); +<a name="l00115"></a>00115 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +<a name="l00116"></a>00116 M.<a class="code" href="classModeParameter.html#mode">mode</a> = mode; +<a name="l00117"></a>00117 strlcpy(M.<a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>,this->name,CHANMAX); +<a name="l00118"></a>00118 strlcpy(M.<a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>,parameter,MAXBUF); +<a name="l00119"></a>00119 <span class="keywordflow">if</span> (mode_on) +<a name="l00120"></a>00120 { +<a name="l00121"></a>00121 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +<a name="l00122"></a>00122 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.push_back(M); +<a name="l00123"></a>00123 } +<a name="l00124"></a>00124 <span class="keywordflow">else</span> +<a name="l00125"></a>00125 { +<a name="l00126"></a>00126 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) +<a name="l00127"></a>00127 { +<a name="l00128"></a>00128 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) +<a name="l00129"></a>00129 { +<a name="l00130"></a>00130 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +<a name="l00131"></a>00131 { +<a name="l00132"></a>00132 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +<a name="l00133"></a>00133 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.erase(i); +<a name="l00134"></a>00134 <span class="keywordflow">return</span>; +<a name="l00135"></a>00135 } +<a name="l00136"></a>00136 } +<a name="l00137"></a>00137 } +<a name="l00138"></a>00138 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +<a name="l00139"></a>00139 } +<a name="l00140"></a>00140 } +<a name="l00141"></a>00141 +<a name="l00142"></a><a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">00142</a> <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">chanrec::IsCustomModeSet</a>(<span class="keywordtype">char</span> mode) +<a name="l00143"></a>00143 { +<a name="l00144"></a>00144 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode)); +<a name="l00145"></a>00145 } +<a name="l00146"></a>00146 +<a name="l00147"></a><a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">00147</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec::GetModeParameter</a>(<span class="keywordtype">char</span> mode) +<a name="l00148"></a>00148 { +<a name="l00149"></a>00149 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) +<a name="l00150"></a>00150 { +<a name="l00151"></a>00151 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) +<a name="l00152"></a>00152 { +<a name="l00153"></a>00153 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +<a name="l00154"></a>00154 { +<a name="l00155"></a>00155 <span class="keywordflow">return</span> i->parameter; +<a name="l00156"></a>00156 } +<a name="l00157"></a>00157 } +<a name="l00158"></a>00158 } +<a name="l00159"></a>00159 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00160"></a>00160 } +<a name="l00161"></a>00161 +<a name="l00162"></a><a class="code" href="classchanrec.html#GetUserCounter_28_29">00162</a> <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#GetUserCounter_28_29">chanrec::GetUserCounter</a>() +<a name="l00163"></a>00163 { +<a name="l00164"></a>00164 <span class="keywordflow">return</span> (this->internal_userlist.size()); +<a name="l00165"></a>00165 } +<a name="l00166"></a>00166 +<a name="l00167"></a><a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">00167</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">chanrec::AddUser</a>(<span class="keywordtype">char</span>* castuser) +<a name="l00168"></a>00168 { +<a name="l00169"></a>00169 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.push_back(castuser); +<a name="l00170"></a>00170 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +<a name="l00171"></a>00171 } +<a name="l00172"></a>00172 +<a name="l00173"></a><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">00173</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">chanrec::DelUser</a>(<span class="keywordtype">char</span>* castuser) +<a name="l00174"></a>00174 { +<a name="l00175"></a>00175 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.end(); a++) +<a name="l00176"></a>00176 { +<a name="l00177"></a>00177 <span class="keywordflow">if</span> (*a == castuser) +<a name="l00178"></a>00178 { +<a name="l00179"></a>00179 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +<a name="l00180"></a>00180 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.erase(a); +<a name="l00181"></a>00181 <span class="keywordflow">return</span>; +<a name="l00182"></a>00182 } +<a name="l00183"></a>00183 } +<a name="l00184"></a>00184 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">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#name_5BCHANMAX_5D">name</a>); +<a name="l00185"></a>00185 } +<a name="l00186"></a>00186 +<a name="l00187"></a><a class="code" href="classchanrec.html#GetUsers_28_29">00187</a> std::vector<char*> *<a class="code" href="classchanrec.html#GetUsers_28_29">chanrec::GetUsers</a>() +<a name="l00188"></a>00188 { +<a name="l00189"></a>00189 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; +<a name="l00190"></a>00190 } +<a name="l00191"></a>00191 +<a name="l00192"></a>00192 <span class="comment">/* add a channel to a user, creating the record for it if needed and linking</span> +<a name="l00193"></a>00193 <span class="comment"> * it to the user record */</span> +<a name="l00194"></a>00194 +<a name="l00195"></a><a class="code" href="channels_8h.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">00195</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <span class="keyword">const</span> <span class="keywordtype">char</span>* cn, <span class="keyword">const</span> <span class="keywordtype">char</span>* key, <span class="keywordtype">bool</span> override) +<a name="l00196"></a>00196 { +<a name="l00197"></a>00197 <span class="keywordflow">if</span> ((!user) || (!cn)) +<a name="l00198"></a>00198 { +<a name="l00199"></a>00199 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** add_channel was given an invalid parameter"</span>); +<a name="l00200"></a>00200 <span class="keywordflow">return</span> 0; +<a name="l00201"></a>00201 } +<a name="l00202"></a>00202 +<a name="l00203"></a>00203 <span class="keywordtype">int</span> created = 0; +<a name="l00204"></a>00204 <span class="keywordtype">char</span> cname[MAXBUF]; +<a name="l00205"></a>00205 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00206"></a>00206 strncpy(cname,cn,CHANMAX); +<a name="l00207"></a>00207 +<a name="l00208"></a>00208 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00209"></a>00209 +<a name="l00210"></a>00210 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00211"></a>00211 +<a name="l00212"></a>00212 <span class="keywordflow">if</span> (!Ptr) +<a name="l00213"></a>00213 { +<a name="l00214"></a>00214 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00215"></a>00215 { +<a name="l00216"></a>00216 MOD_RESULT = 0; +<a name="l00217"></a>00217 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,NULL,cname)); +<a name="l00218"></a>00218 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00219"></a>00219 <span class="keywordflow">return</span> NULL; +<a name="l00220"></a>00220 } +<a name="l00221"></a>00221 <span class="comment">/* create a new one */</span> +<a name="l00222"></a>00222 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname] = <span class="keyword">new</span> <a class="code" href="classchanrec.html">chanrec</a>(); +<a name="l00223"></a>00223 strlcpy(<a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->name, cname,CHANMAX); +<a name="l00224"></a>00224 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->binarymodes = <a class="code" href="channels_8h.html#CM_5FTOPICLOCK">CM_TOPICLOCK</a> | <a class="code" href="channels_8h.html#CM_5FNOEXTERNAL">CM_NOEXTERNAL</a>; +<a name="l00225"></a>00225 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->created = <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00226"></a>00226 strcpy(<a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->topic, <span class="stringliteral">""</span>); +<a name="l00227"></a>00227 strncpy(<a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->setby, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,NICKMAX); +<a name="l00228"></a>00228 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->topicset = 0; +<a name="l00229"></a>00229 Ptr = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]; +<a name="l00230"></a>00230 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: created: %s"</span>,cname); +<a name="l00231"></a>00231 <span class="comment">/* set created to 2 to indicate user</span> +<a name="l00232"></a>00232 <span class="comment"> * is the first in the channel</span> +<a name="l00233"></a>00233 <span class="comment"> * and should be given ops */</span> +<a name="l00234"></a>00234 created = 2; +<a name="l00235"></a>00235 } +<a name="l00236"></a>00236 <span class="keywordflow">else</span> +<a name="l00237"></a>00237 { +<a name="l00238"></a>00238 <span class="comment">/* Already on the channel */</span> +<a name="l00239"></a>00239 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00240"></a>00240 <span class="keywordflow">return</span> NULL; +<a name="l00241"></a>00241 +<a name="l00242"></a>00242 <span class="comment">// remote users are allowed us to bypass channel modes</span> +<a name="l00243"></a>00243 <span class="comment">// and bans (used by servers)</span> +<a name="l00244"></a>00244 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00245"></a>00245 { +<a name="l00246"></a>00246 MOD_RESULT = 0; +<a name="l00247"></a>00247 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,Ptr,cname)); +<a name="l00248"></a>00248 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00249"></a>00249 { +<a name="l00250"></a>00250 <span class="keywordflow">return</span> NULL; +<a name="l00251"></a>00251 } +<a name="l00252"></a>00252 <span class="keywordflow">else</span> +<a name="l00253"></a>00253 { +<a name="l00254"></a>00254 <span class="keywordflow">if</span> (*Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>) +<a name="l00255"></a>00255 { +<a name="l00256"></a>00256 MOD_RESULT = 0; +<a name="l00257"></a>00257 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckKey(user, Ptr, key ? key : <span class="stringliteral">""</span>)); +<a name="l00258"></a>00258 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00259"></a>00259 { +<a name="l00260"></a>00260 <span class="keywordflow">if</span> (!key) +<a name="l00261"></a>00261 { +<a name="l00262"></a>00262 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: no key given in JOIN"</span>); +<a name="l00263"></a>00263 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Requires key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00264"></a>00264 <span class="keywordflow">return</span> NULL; +<a name="l00265"></a>00265 } +<a name="l00266"></a>00266 <span class="keywordflow">else</span> +<a name="l00267"></a>00267 { +<a name="l00268"></a>00268 <span class="keywordflow">if</span> (strcasecmp(key,Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>)) +<a name="l00269"></a>00269 { +<a name="l00270"></a>00270 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: bad key given in JOIN"</span>); +<a name="l00271"></a>00271 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Incorrect key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00272"></a>00272 <span class="keywordflow">return</span> NULL; +<a name="l00273"></a>00273 } +<a name="l00274"></a>00274 } +<a name="l00275"></a>00275 } +<a name="l00276"></a>00276 } +<a name="l00277"></a>00277 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#binarymodes">binarymodes</a> & <a class="code" href="channels_8h.html#CM_5FINVITEONLY">CM_INVITEONLY</a>) +<a name="l00278"></a>00278 { +<a name="l00279"></a>00279 MOD_RESULT = 0; +<a name="l00280"></a>00280 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckInvite(user, Ptr)); +<a name="l00281"></a>00281 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00282"></a>00282 { +<a name="l00283"></a>00283 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: channel is +i"</span>); +<a name="l00284"></a>00284 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">IsInvited</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00285"></a>00285 { +<a name="l00286"></a>00286 <span class="comment">/* user was invited to channel */</span> +<a name="l00287"></a>00287 <span class="comment">/* there may be an optional channel NOTICE here */</span> +<a name="l00288"></a>00288 } +<a name="l00289"></a>00289 <span class="keywordflow">else</span> +<a name="l00290"></a>00290 { +<a name="l00291"></a>00291 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"473 %s %s :Cannot join channel (Invite only)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00292"></a>00292 <span class="keywordflow">return</span> NULL; +<a name="l00293"></a>00293 } +<a name="l00294"></a>00294 } +<a name="l00295"></a>00295 user-><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">RemoveInvite</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00296"></a>00296 } +<a name="l00297"></a>00297 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#limit">limit</a>) +<a name="l00298"></a>00298 { +<a name="l00299"></a>00299 MOD_RESULT = 0; +<a name="l00300"></a>00300 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckLimit(user, Ptr)); +<a name="l00301"></a>00301 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00302"></a>00302 { +<a name="l00303"></a>00303 <span class="keywordflow">if</span> (usercount(Ptr) >= Ptr->limit) +<a name="l00304"></a>00304 { +<a name="l00305"></a>00305 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"471 %s %s :Cannot join channel (Channel is full)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr->name); +<a name="l00306"></a>00306 <span class="keywordflow">return</span> NULL; +<a name="l00307"></a>00307 } +<a name="l00308"></a>00308 } +<a name="l00309"></a>00309 } +<a name="l00310"></a>00310 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.size()) +<a name="l00311"></a>00311 { +<a name="l00312"></a>00312 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: about to walk banlist"</span>); +<a name="l00313"></a>00313 MOD_RESULT = 0; +<a name="l00314"></a>00314 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckBan(user, Ptr)); +<a name="l00315"></a>00315 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00316"></a>00316 { +<a name="l00317"></a>00317 <span class="keywordflow">for</span> (BanList::iterator i = Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.begin(); i != Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.end(); i++) +<a name="l00318"></a>00318 { +<a name="l00319"></a>00319 <span class="keywordflow">if</span> (match(user-><a class="code" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a>(),i->data)) +<a name="l00320"></a>00320 { +<a name="l00321"></a>00321 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"474 %s %s :Cannot join channel (You're banned)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00322"></a>00322 <span class="keywordflow">return</span> NULL; +<a name="l00323"></a>00323 } +<a name="l00324"></a>00324 } +<a name="l00325"></a>00325 } +<a name="l00326"></a>00326 } +<a name="l00327"></a>00327 } +<a name="l00328"></a>00328 } +<a name="l00329"></a>00329 <span class="keywordflow">else</span> +<a name="l00330"></a>00330 { +<a name="l00331"></a>00331 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Overridden checks"</span>); +<a name="l00332"></a>00332 } +<a name="l00333"></a>00333 created = 1; +<a name="l00334"></a>00334 } +<a name="l00335"></a>00335 +<a name="l00336"></a>00336 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Passed channel checks"</span>); +<a name="l00337"></a>00337 +<a name="l00338"></a>00338 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index =0; index < user->chans.size(); index++) +<a name="l00339"></a>00339 { +<a name="l00340"></a>00340 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[index].channel == NULL) +<a name="l00341"></a>00341 { +<a name="l00342"></a>00342 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,user-><a class="code" href="classuserrec.html#chans">chans</a>[index],user,created); +<a name="l00343"></a>00343 } +<a name="l00344"></a>00344 } +<a name="l00345"></a>00345 <span class="comment">/* XXX: If the user is an oper here, we can just extend their user->chans vector by one</span> +<a name="l00346"></a>00346 <span class="comment"> * and put the channel in here. Same for remote users which are not bound by</span> +<a name="l00347"></a>00347 <span class="comment"> * the channel limits. Otherwise, nope, youre boned.</span> +<a name="l00348"></a>00348 <span class="comment"> */</span> +<a name="l00349"></a>00349 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> < 0) +<a name="l00350"></a>00350 { +<a name="l00351"></a>00351 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00352"></a>00352 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00353"></a>00353 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00354"></a>00354 <span class="keywordflow">return</span> c; +<a name="l00355"></a>00355 } +<a name="l00356"></a>00356 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strchr(user-><a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="charliteral">'o'</span>)) +<a name="l00357"></a>00357 { +<a name="l00358"></a>00358 <span class="comment">/* Oper allows extension up to the OPERMAXCHANS value */</span> +<a name="l00359"></a>00359 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>.size() < OPERMAXCHANS) +<a name="l00360"></a>00360 { +<a name="l00361"></a>00361 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00362"></a>00362 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00363"></a>00363 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00364"></a>00364 <span class="keywordflow">return</span> c; +<a name="l00365"></a>00365 } +<a name="l00366"></a>00366 } +<a name="l00367"></a>00367 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: user channel max exceeded: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00368"></a>00368 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"405 %s %s :You are on too many channels"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, cname); +<a name="l00369"></a>00369 <span class="keywordflow">return</span> NULL; +<a name="l00370"></a>00370 } +<a name="l00371"></a>00371 +<a name="l00372"></a><a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">00372</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(<a class="code" href="classchanrec.html">chanrec</a>* Ptr,<a class="code" href="classucrec.html">ucrec</a> &a,<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">int</span> created) +<a name="l00373"></a>00373 { +<a name="l00374"></a>00374 <span class="keywordflow">if</span> (created == 2) +<a name="l00375"></a>00375 { +<a name="l00376"></a>00376 <span class="comment">/* first user in is given ops */</span> +<a name="l00377"></a>00377 a.<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = <a class="code" href="channels_8h.html#UCMODE_5FOP">UCMODE_OP</a>; +<a name="l00378"></a>00378 } +<a name="l00379"></a>00379 <span class="keywordflow">else</span> +<a name="l00380"></a>00380 { +<a name="l00381"></a>00381 a.<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0; +<a name="l00382"></a>00382 } +<a name="l00383"></a>00383 a.<a class="code" href="classucrec.html#channel">channel</a> = Ptr; +<a name="l00384"></a>00384 Ptr-><a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">AddUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00385"></a>00385 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"JOIN :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00386"></a>00386 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Sent JOIN to client"</span>); +<a name="l00387"></a>00387 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00388"></a>00388 { +<a name="l00389"></a>00389 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"332 %s %s :%s"</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00390"></a>00390 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"333 %s %s %s %lu"</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00391"></a>00391 } +<a name="l00392"></a>00392 userlist(user,Ptr); +<a name="l00393"></a>00393 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00394"></a>00394 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserJoin(user,Ptr); +<a name="l00395"></a>00395 <span class="keywordflow">return</span> Ptr; +<a name="l00396"></a>00396 } +<a name="l00397"></a>00397 +<a name="l00398"></a>00398 <span class="comment">/* remove a channel from a users record, and remove the record from memory</span> +<a name="l00399"></a>00399 <span class="comment"> * if the channel has become empty */</span> +<a name="l00400"></a>00400 +<a name="l00401"></a><a class="code" href="channels_8h.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">00401</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason, <span class="keywordtype">bool</span> local) +<a name="l00402"></a>00402 { +<a name="l00403"></a>00403 <span class="keywordflow">if</span> ((!user) || (!cname)) +<a name="l00404"></a>00404 { +<a name="l00405"></a>00405 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** del_channel was given an invalid parameter"</span>); +<a name="l00406"></a>00406 <span class="keywordflow">return</span> NULL; +<a name="l00407"></a>00407 } +<a name="l00408"></a>00408 +<a name="l00409"></a>00409 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00410"></a>00410 +<a name="l00411"></a>00411 <span class="keywordflow">if</span> (!Ptr) +<a name="l00412"></a>00412 <span class="keywordflow">return</span> NULL; +<a name="l00413"></a>00413 +<a name="l00414"></a>00414 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserPart(user,Ptr); +<a name="l00415"></a>00415 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: removing: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00416"></a>00416 +<a name="l00417"></a>00417 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00418"></a>00418 { +<a name="l00419"></a>00419 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00420"></a>00420 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel == Ptr) +<a name="l00421"></a>00421 { +<a name="l00422"></a>00422 <span class="keywordflow">if</span> (reason) +<a name="l00423"></a>00423 { +<a name="l00424"></a>00424 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART %s :%s"</span>,Ptr->name, reason); +<a name="l00425"></a>00425 } +<a name="l00426"></a>00426 <span class="keywordflow">else</span> +<a name="l00427"></a>00427 { +<a name="l00428"></a>00428 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00429"></a>00429 } +<a name="l00430"></a>00430 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00431"></a>00431 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00432"></a>00432 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00433"></a>00433 <span class="keywordflow">break</span>; +<a name="l00434"></a>00434 } +<a name="l00435"></a>00435 } +<a name="l00436"></a>00436 +<a name="l00437"></a>00437 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00438"></a>00438 +<a name="l00439"></a>00439 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00440"></a>00440 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00441"></a>00441 { +<a name="l00442"></a>00442 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00443"></a>00443 +<a name="l00444"></a>00444 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00445"></a>00445 +<a name="l00446"></a>00446 <span class="comment">/* kill the record */</span> +<a name="l00447"></a>00447 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00448"></a>00448 { +<a name="l00449"></a>00449 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00450"></a>00450 <span class="keyword">delete</span> Ptr; +<a name="l00451"></a>00451 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00452"></a>00452 } +<a name="l00453"></a>00453 } +<a name="l00454"></a>00454 +<a name="l00455"></a>00455 <span class="keywordflow">return</span> NULL; +<a name="l00456"></a>00456 } +<a name="l00457"></a>00457 +<a name="l00458"></a>00458 +<a name="l00459"></a><a class="code" href="channels_8h.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">00459</a> <span class="keywordtype">void</span> <a class="code" href="channels_8cpp.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">kick_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *src,<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *Ptr, <span class="keywordtype">char</span>* reason) +<a name="l00460"></a>00460 { +<a name="l00461"></a>00461 <span class="keywordflow">if</span> ((!src) || (!user) || (!Ptr) || (!reason)) +<a name="l00462"></a>00462 { +<a name="l00463"></a>00463 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** kick_channel was given an invalid parameter"</span>); +<a name="l00464"></a>00464 <span class="keywordflow">return</span>; +<a name="l00465"></a>00465 } +<a name="l00466"></a>00466 +<a name="l00467"></a>00467 <span class="keywordflow">if</span> ((!Ptr) || (!user) || (!src)) +<a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span>; +<a name="l00470"></a>00470 } +<a name="l00471"></a>00471 +<a name="l00472"></a>00472 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kick_channel: removing: %s %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00473"></a>00473 +<a name="l00474"></a>00474 <span class="keywordflow">if</span> (!<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00475"></a>00475 { +<a name="l00476"></a>00476 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"441 %s %s %s :They are not on that channel"</span>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00477"></a>00477 <span class="keywordflow">return</span>; +<a name="l00478"></a>00478 } +<a name="l00479"></a>00479 +<a name="l00480"></a>00480 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00481"></a>00481 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnAccessCheck(src,user,Ptr,<a class="code" href="modules_8h.html#AC_5FKICK">AC_KICK</a>)); +<a name="l00482"></a>00482 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDENY">ACR_DENY</a>) && (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00483"></a>00483 <span class="keywordflow">return</span>; +<a name="l00484"></a>00484 +<a name="l00485"></a>00485 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>) || (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00486"></a>00486 { +<a name="l00487"></a>00487 <span class="keywordflow">if</span> ((<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) || (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(user,Ptr))) +<a name="l00488"></a>00488 { +<a name="l00489"></a>00489 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) == <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) +<a name="l00490"></a>00490 { +<a name="l00491"></a>00491 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be a channel operator"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00492"></a>00492 } +<a name="l00493"></a>00493 <span class="keywordflow">else</span> +<a name="l00494"></a>00494 { +<a name="l00495"></a>00495 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be at least a half-operator to change modes on this channel"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00496"></a>00496 } +<a name="l00497"></a>00497 +<a name="l00498"></a>00498 <span class="keywordflow">return</span>; +<a name="l00499"></a>00499 } +<a name="l00500"></a>00500 } +<a name="l00501"></a>00501 +<a name="l00502"></a>00502 <span class="keywordflow">if</span> (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>)) +<a name="l00503"></a>00503 { +<a name="l00504"></a>00504 MOD_RESULT = 0; +<a name="l00505"></a>00505 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreKick(src,user,Ptr,reason)); +<a name="l00506"></a>00506 <span class="keywordflow">if</span> (MOD_RESULT) +<a name="l00507"></a>00507 <span class="keywordflow">return</span>; +<a name="l00508"></a>00508 } +<a name="l00509"></a>00509 +<a name="l00510"></a>00510 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserKick(src,user,Ptr,reason); +<a name="l00511"></a>00511 +<a name="l00512"></a>00512 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00513"></a>00513 { +<a name="l00514"></a>00514 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00515"></a>00515 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel) +<a name="l00516"></a>00516 <span class="keywordflow">if</span> (!strcasecmp(user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00517"></a>00517 { +<a name="l00518"></a>00518 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,src,<span class="stringliteral">"KICK %s %s :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, reason); +<a name="l00519"></a>00519 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00520"></a>00520 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00521"></a>00521 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00522"></a>00522 <span class="keywordflow">break</span>; +<a name="l00523"></a>00523 } +<a name="l00524"></a>00524 } +<a name="l00525"></a>00525 +<a name="l00526"></a>00526 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00527"></a>00527 +<a name="l00528"></a>00528 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00529"></a>00529 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00530"></a>00530 { +<a name="l00531"></a>00531 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00532"></a>00532 +<a name="l00533"></a>00533 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00534"></a>00534 +<a name="l00535"></a>00535 <span class="comment">/* kill the record */</span> +<a name="l00536"></a>00536 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00537"></a>00537 { +<a name="l00538"></a>00538 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00539"></a>00539 <span class="keyword">delete</span> Ptr; +<a name="l00540"></a>00540 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00541"></a>00541 } +<a name="l00542"></a>00542 } +<a name="l00543"></a>00543 } +<a name="l00544"></a>00544 +<a name="l00545"></a>00545 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 996394eac..3eeac7995 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -8,7 +8,7 @@ <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> <h1>channels.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include "<a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>"</code><br> <code>#include "inspircd_util.h"</code><br> <code>#include <unistd.h></code><br> @@ -24,26 +24,32 @@ <code>#include <deque></code><br> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> -<code>#include "globals.h"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> <code>#include "<a class="el" href="modules_8h-source.html">modules.h</a>"</code><br> <code>#include "dynamic.h"</code><br> +<code>#include "<a class="el" href="commands_8h-source.html">commands.h</a>"</code><br> <code>#include "wildcard.h"</code><br> <code>#include "<a class="el" href="message_8h-source.html">message.h</a>"</code><br> <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> +<code>#include "<a class="el" href="typedefs_8h-source.html">typedefs.h</a>"</code><br> <p> Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__incl.gif" border="0" usemap="#channels.cpp_map" alt=""></center> <map name="channels.cpp_map"> -<area href="inspircd__io_8h-source.html" shape="rect" coords="163,513,259,540" alt=""> -<area href="users_8h-source.html" shape="rect" coords="324,159,388,185" alt=""> -<area href="ctables_8h-source.html" shape="rect" coords="319,513,393,540" alt=""> -<area href="modules_8h-source.html" shape="rect" coords="169,463,252,489" alt=""> -<area href="message_8h-source.html" shape="rect" coords="168,209,253,236" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="177,311,244,337" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="180,159,241,185" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="580,665,660,692" alt=""> +<area href="inspircd__io_8h-source.html" shape="rect" coords="712,615,808,641" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="872,767,947,793" alt=""> +<area href="users_8h-source.html" shape="rect" coords="1009,716,1073,743" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="452,868,527,895" alt=""> +<area href="modules_8h-source.html" shape="rect" coords="315,767,397,793" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="860,361,959,388" alt=""> +<area href="message_8h-source.html" shape="rect" coords="867,412,952,439" alt=""> +<area href="mode_8h-source.html" shape="rect" coords="876,108,943,135" alt=""> +<area href="xline_8h-source.html" shape="rect" coords="879,159,940,185" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="168,1020,253,1047" alt=""> </map> <p> @@ -55,6 +61,15 @@ Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__in <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="channels_8cpp.html#nspace">nspace</a> std</td></tr> +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a> (<a class="el" href="classchanrec.html">chanrec</a> *Ptr, <a class="el" href="classucrec.html">ucrec</a> &a, <a class="el" href="classuserrec.html">userrec</a> *user, int created)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *cn, const char *key, bool override)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *cname, const char *reason, bool local)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">kick_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *src, <a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *Ptr, char *reason)</td></tr> + <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classServerConfig.html">ServerConfig</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#Config">Config</a></td></tr> @@ -68,16 +83,10 @@ Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__in <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#startup_5Ftime">startup_time</a></td></tr> - -<tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#module_5Fnames">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="channels_8cpp.html#boundPortCount">boundPortCount</a></td></tr> - -<tr><td class="memItemLeft" nowrap align="right" valign="top">std::stringstream </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#config_5Ff">config_f</a></td></tr> - <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#TIME">TIME</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#chanlist">chanlist</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="classModeParameter.html">ModeParameter</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a></td></tr> </table> @@ -104,17 +113,43 @@ 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#l00053">53</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#l00055">55</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td> </tr> </table> -<hr><h2>Variable Documentation</h2> -<a class="anchor" name="boundPortCount"></a><!-- doxytag: member="channels.cpp::boundPortCount" ref="boundPortCount" args="" --><p> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29"></a><!-- doxytag: member="channels.cpp::add_channel" ref="add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29" args="(userrec *user, const char *cn, const char *key, bool override)" --><p> <table class="mdTable" 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="socket_8cpp.html#boundPortCount">boundPortCount</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a>* add_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>cn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>key</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>override</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> </tr> </table> </td> @@ -128,16 +163,225 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</a> <td> <p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00195">195</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00151">chanrec::bans</a>, <a class="el" href="channels_8h-source.html#l00147">chanrec::binarymodes</a>, <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="channels_8h-source.html#l00028">CM_INVITEONLY</a>, <a class="el" href="channels_8h-source.html#l00027">CM_NOEXTERNAL</a>, <a class="el" href="channels_8h-source.html#l00026">CM_TOPICLOCK</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="modules_8h-source.html#l00089">FOREACH_RESULT</a>, <a class="el" href="users_8cpp-source.html#l00072">userrec::GetFullHost()</a>, <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>, <a class="el" href="users_8cpp-source.html#l00096">userrec::IsInvited()</a>, <a class="el" href="channels_8h-source.html#l00143">chanrec::key</a>, <a class="el" href="channels_8h-source.html#l00138">chanrec::limit</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="users_8h-source.html#l00147">userrec::modes</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="users_8cpp-source.html#l00122">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00359">Server::JoinUserToChannel()</a>.<div class="fragment"><pre class="fragment"><a name="l00196"></a>00196 { +<a name="l00197"></a>00197 <span class="keywordflow">if</span> ((!user) || (!cn)) +<a name="l00198"></a>00198 { +<a name="l00199"></a>00199 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** add_channel was given an invalid parameter"</span>); +<a name="l00200"></a>00200 <span class="keywordflow">return</span> 0; +<a name="l00201"></a>00201 } +<a name="l00202"></a>00202 +<a name="l00203"></a>00203 <span class="keywordtype">int</span> created = 0; +<a name="l00204"></a>00204 <span class="keywordtype">char</span> cname[MAXBUF]; +<a name="l00205"></a>00205 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00206"></a>00206 strncpy(cname,cn,CHANMAX); +<a name="l00207"></a>00207 +<a name="l00208"></a>00208 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00209"></a>00209 +<a name="l00210"></a>00210 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00211"></a>00211 +<a name="l00212"></a>00212 <span class="keywordflow">if</span> (!Ptr) +<a name="l00213"></a>00213 { +<a name="l00214"></a>00214 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00215"></a>00215 { +<a name="l00216"></a>00216 MOD_RESULT = 0; +<a name="l00217"></a>00217 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,NULL,cname)); +<a name="l00218"></a>00218 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00219"></a>00219 <span class="keywordflow">return</span> NULL; +<a name="l00220"></a>00220 } +<a name="l00221"></a>00221 <span class="comment">/* create a new one */</span> +<a name="l00222"></a>00222 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname] = <span class="keyword">new</span> <a class="code" href="classchanrec.html">chanrec</a>(); +<a name="l00223"></a>00223 strlcpy(chanlist[cname]->name, cname,CHANMAX); +<a name="l00224"></a>00224 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->binarymodes = <a class="code" href="channels_8h.html#CM_5FTOPICLOCK">CM_TOPICLOCK</a> | <a class="code" href="channels_8h.html#CM_5FNOEXTERNAL">CM_NOEXTERNAL</a>; +<a name="l00225"></a>00225 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->created = <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00226"></a>00226 strcpy(chanlist[cname]->topic, <span class="stringliteral">""</span>); +<a name="l00227"></a>00227 strncpy(chanlist[cname]->setby, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,NICKMAX); +<a name="l00228"></a>00228 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->topicset = 0; +<a name="l00229"></a>00229 Ptr = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]; +<a name="l00230"></a>00230 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: created: %s"</span>,cname); +<a name="l00231"></a>00231 <span class="comment">/* set created to 2 to indicate user</span> +<a name="l00232"></a>00232 <span class="comment"> * is the first in the channel</span> +<a name="l00233"></a>00233 <span class="comment"> * and should be given ops */</span> +<a name="l00234"></a>00234 created = 2; +<a name="l00235"></a>00235 } +<a name="l00236"></a>00236 <span class="keywordflow">else</span> +<a name="l00237"></a>00237 { +<a name="l00238"></a>00238 <span class="comment">/* Already on the channel */</span> +<a name="l00239"></a>00239 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00240"></a>00240 <span class="keywordflow">return</span> NULL; +<a name="l00241"></a>00241 +<a name="l00242"></a>00242 <span class="comment">// remote users are allowed us to bypass channel modes</span> +<a name="l00243"></a>00243 <span class="comment">// and bans (used by servers)</span> +<a name="l00244"></a>00244 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00245"></a>00245 { +<a name="l00246"></a>00246 MOD_RESULT = 0; +<a name="l00247"></a>00247 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,Ptr,cname)); +<a name="l00248"></a>00248 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00249"></a>00249 { +<a name="l00250"></a>00250 <span class="keywordflow">return</span> NULL; +<a name="l00251"></a>00251 } +<a name="l00252"></a>00252 <span class="keywordflow">else</span> +<a name="l00253"></a>00253 { +<a name="l00254"></a>00254 <span class="keywordflow">if</span> (*Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>) +<a name="l00255"></a>00255 { +<a name="l00256"></a>00256 MOD_RESULT = 0; +<a name="l00257"></a>00257 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckKey(user, Ptr, key ? key : <span class="stringliteral">""</span>)); +<a name="l00258"></a>00258 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00259"></a>00259 { +<a name="l00260"></a>00260 <span class="keywordflow">if</span> (!key) +<a name="l00261"></a>00261 { +<a name="l00262"></a>00262 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: no key given in JOIN"</span>); +<a name="l00263"></a>00263 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Requires key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00264"></a>00264 <span class="keywordflow">return</span> NULL; +<a name="l00265"></a>00265 } +<a name="l00266"></a>00266 <span class="keywordflow">else</span> +<a name="l00267"></a>00267 { +<a name="l00268"></a>00268 <span class="keywordflow">if</span> (strcasecmp(key,Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>)) +<a name="l00269"></a>00269 { +<a name="l00270"></a>00270 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: bad key given in JOIN"</span>); +<a name="l00271"></a>00271 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Incorrect key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00272"></a>00272 <span class="keywordflow">return</span> NULL; +<a name="l00273"></a>00273 } +<a name="l00274"></a>00274 } +<a name="l00275"></a>00275 } +<a name="l00276"></a>00276 } +<a name="l00277"></a>00277 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#binarymodes">binarymodes</a> & <a class="code" href="channels_8h.html#CM_5FINVITEONLY">CM_INVITEONLY</a>) +<a name="l00278"></a>00278 { +<a name="l00279"></a>00279 MOD_RESULT = 0; +<a name="l00280"></a>00280 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckInvite(user, Ptr)); +<a name="l00281"></a>00281 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00282"></a>00282 { +<a name="l00283"></a>00283 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: channel is +i"</span>); +<a name="l00284"></a>00284 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">IsInvited</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00285"></a>00285 { +<a name="l00286"></a>00286 <span class="comment">/* user was invited to channel */</span> +<a name="l00287"></a>00287 <span class="comment">/* there may be an optional channel NOTICE here */</span> +<a name="l00288"></a>00288 } +<a name="l00289"></a>00289 <span class="keywordflow">else</span> +<a name="l00290"></a>00290 { +<a name="l00291"></a>00291 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"473 %s %s :Cannot join channel (Invite only)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00292"></a>00292 <span class="keywordflow">return</span> NULL; +<a name="l00293"></a>00293 } +<a name="l00294"></a>00294 } +<a name="l00295"></a>00295 user-><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">RemoveInvite</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00296"></a>00296 } +<a name="l00297"></a>00297 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#limit">limit</a>) +<a name="l00298"></a>00298 { +<a name="l00299"></a>00299 MOD_RESULT = 0; +<a name="l00300"></a>00300 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckLimit(user, Ptr)); +<a name="l00301"></a>00301 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00302"></a>00302 { +<a name="l00303"></a>00303 <span class="keywordflow">if</span> (usercount(Ptr) >= Ptr->limit) +<a name="l00304"></a>00304 { +<a name="l00305"></a>00305 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"471 %s %s :Cannot join channel (Channel is full)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr->name); +<a name="l00306"></a>00306 <span class="keywordflow">return</span> NULL; +<a name="l00307"></a>00307 } +<a name="l00308"></a>00308 } +<a name="l00309"></a>00309 } +<a name="l00310"></a>00310 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.size()) +<a name="l00311"></a>00311 { +<a name="l00312"></a>00312 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: about to walk banlist"</span>); +<a name="l00313"></a>00313 MOD_RESULT = 0; +<a name="l00314"></a>00314 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckBan(user, Ptr)); +<a name="l00315"></a>00315 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00316"></a>00316 { +<a name="l00317"></a>00317 <span class="keywordflow">for</span> (BanList::iterator i = Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.begin(); i != Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.end(); i++) +<a name="l00318"></a>00318 { +<a name="l00319"></a>00319 <span class="keywordflow">if</span> (match(user-><a class="code" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a>(),i->data)) +<a name="l00320"></a>00320 { +<a name="l00321"></a>00321 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"474 %s %s :Cannot join channel (You're banned)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00322"></a>00322 <span class="keywordflow">return</span> NULL; +<a name="l00323"></a>00323 } +<a name="l00324"></a>00324 } +<a name="l00325"></a>00325 } +<a name="l00326"></a>00326 } +<a name="l00327"></a>00327 } +<a name="l00328"></a>00328 } +<a name="l00329"></a>00329 <span class="keywordflow">else</span> +<a name="l00330"></a>00330 { +<a name="l00331"></a>00331 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Overridden checks"</span>); +<a name="l00332"></a>00332 } +<a name="l00333"></a>00333 created = 1; +<a name="l00334"></a>00334 } +<a name="l00335"></a>00335 +<a name="l00336"></a>00336 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Passed channel checks"</span>); +<a name="l00337"></a>00337 +<a name="l00338"></a>00338 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index =0; index < user->chans.size(); index++) +<a name="l00339"></a>00339 { +<a name="l00340"></a>00340 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[index].channel == NULL) +<a name="l00341"></a>00341 { +<a name="l00342"></a>00342 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,user-><a class="code" href="classuserrec.html#chans">chans</a>[index],user,created); +<a name="l00343"></a>00343 } +<a name="l00344"></a>00344 } +<a name="l00345"></a>00345 <span class="comment">/* XXX: If the user is an oper here, we can just extend their user->chans vector by one</span> +<a name="l00346"></a>00346 <span class="comment"> * and put the channel in here. Same for remote users which are not bound by</span> +<a name="l00347"></a>00347 <span class="comment"> * the channel limits. Otherwise, nope, youre boned.</span> +<a name="l00348"></a>00348 <span class="comment"> */</span> +<a name="l00349"></a>00349 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> < 0) +<a name="l00350"></a>00350 { +<a name="l00351"></a>00351 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00352"></a>00352 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00353"></a>00353 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00354"></a>00354 <span class="keywordflow">return</span> c; +<a name="l00355"></a>00355 } +<a name="l00356"></a>00356 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strchr(user-><a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="charliteral">'o'</span>)) +<a name="l00357"></a>00357 { +<a name="l00358"></a>00358 <span class="comment">/* Oper allows extension up to the OPERMAXCHANS value */</span> +<a name="l00359"></a>00359 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>.size() < OPERMAXCHANS) +<a name="l00360"></a>00360 { +<a name="l00361"></a>00361 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00362"></a>00362 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00363"></a>00363 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00364"></a>00364 <span class="keywordflow">return</span> c; +<a name="l00365"></a>00365 } +<a name="l00366"></a>00366 } +<a name="l00367"></a>00367 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: user channel max exceeded: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00368"></a>00368 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"405 %s %s :You are on too many channels"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, cname); +<a name="l00369"></a>00369 <span class="keywordflow">return</span> NULL; +<a name="l00370"></a>00370 } +</pre></div> +<p> </td> </tr> </table> -<a class="anchor" name="Config"></a><!-- doxytag: member="channels.cpp::Config" ref="Config" args="" --><p> +<a class="anchor" name="del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29"></a><!-- doxytag: member="channels.cpp::del_channel" ref="del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29" args="(userrec *user, const char *cname, const char *reason, bool local)" --><p> <table class="mdTable" 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="classServerConfig.html">ServerConfig</a>* <a class="el" href="users_8cpp.html#Config">Config</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a>* del_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>cname</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>local</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> </tr> </table> </td> @@ -151,16 +395,105 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</a> <td> <p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00401">401</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan()</a>, <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, and <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00364">Server::PartUserFromChannel()</a>.<div class="fragment"><pre class="fragment"><a name="l00402"></a>00402 { +<a name="l00403"></a>00403 <span class="keywordflow">if</span> ((!user) || (!cname)) +<a name="l00404"></a>00404 { +<a name="l00405"></a>00405 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** del_channel was given an invalid parameter"</span>); +<a name="l00406"></a>00406 <span class="keywordflow">return</span> NULL; +<a name="l00407"></a>00407 } +<a name="l00408"></a>00408 +<a name="l00409"></a>00409 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00410"></a>00410 +<a name="l00411"></a>00411 <span class="keywordflow">if</span> (!Ptr) +<a name="l00412"></a>00412 <span class="keywordflow">return</span> NULL; +<a name="l00413"></a>00413 +<a name="l00414"></a>00414 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserPart(user,Ptr); +<a name="l00415"></a>00415 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: removing: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00416"></a>00416 +<a name="l00417"></a>00417 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00418"></a>00418 { +<a name="l00419"></a>00419 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00420"></a>00420 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel == Ptr) +<a name="l00421"></a>00421 { +<a name="l00422"></a>00422 <span class="keywordflow">if</span> (reason) +<a name="l00423"></a>00423 { +<a name="l00424"></a>00424 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART %s :%s"</span>,Ptr->name, reason); +<a name="l00425"></a>00425 } +<a name="l00426"></a>00426 <span class="keywordflow">else</span> +<a name="l00427"></a>00427 { +<a name="l00428"></a>00428 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00429"></a>00429 } +<a name="l00430"></a>00430 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00431"></a>00431 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00432"></a>00432 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00433"></a>00433 <span class="keywordflow">break</span>; +<a name="l00434"></a>00434 } +<a name="l00435"></a>00435 } +<a name="l00436"></a>00436 +<a name="l00437"></a>00437 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00438"></a>00438 +<a name="l00439"></a>00439 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00440"></a>00440 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00441"></a>00441 { +<a name="l00442"></a>00442 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00443"></a>00443 +<a name="l00444"></a>00444 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00445"></a>00445 +<a name="l00446"></a>00446 <span class="comment">/* kill the record */</span> +<a name="l00447"></a>00447 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00448"></a>00448 { +<a name="l00449"></a>00449 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00450"></a>00450 <span class="keyword">delete</span> Ptr; +<a name="l00451"></a>00451 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00452"></a>00452 } +<a name="l00453"></a>00453 } +<a name="l00454"></a>00454 +<a name="l00455"></a>00455 <span class="keywordflow">return</span> NULL; +<a name="l00456"></a>00456 } +</pre></div> +<p> </td> </tr> </table> -<a class="anchor" name="config_5Ff"></a><!-- doxytag: member="channels.cpp::config_f" ref="config_5Ff" args="" --><p> +<a class="anchor" name="ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29"></a><!-- doxytag: member="channels.cpp::ForceChan" ref="ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29" args="(chanrec *Ptr, ucrec &a, userrec *user, int created)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">std::stringstream <a class="el" href="channels_8cpp.html#config_5Ff">config_f</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * ForceChan </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>Ptr</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classucrec.html">ucrec</a> & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> </tr> </table> </td> @@ -174,16 +507,74 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</a> <td> <p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00372">372</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00167">chanrec::AddUser()</a>, <a class="el" href="channels_8h-source.html#l00254">ucrec::channel</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="channels_8h-source.html#l00133">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00122">chanrec::topic</a>, <a class="el" href="channels_8h-source.html#l00129">chanrec::topicset</a>, <a class="el" href="channels_8h-source.html#l00249">ucrec::uc_modes</a>, <a class="el" href="channels_8h-source.html#l00232">UCMODE_OP</a>, <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00373"></a>00373 { +<a name="l00374"></a>00374 <span class="keywordflow">if</span> (created == 2) +<a name="l00375"></a>00375 { +<a name="l00376"></a>00376 <span class="comment">/* first user in is given ops */</span> +<a name="l00377"></a>00377 a.<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = <a class="code" href="channels_8h.html#UCMODE_5FOP">UCMODE_OP</a>; +<a name="l00378"></a>00378 } +<a name="l00379"></a>00379 <span class="keywordflow">else</span> +<a name="l00380"></a>00380 { +<a name="l00381"></a>00381 a.<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0; +<a name="l00382"></a>00382 } +<a name="l00383"></a>00383 a.<a class="code" href="classucrec.html#channel">channel</a> = Ptr; +<a name="l00384"></a>00384 Ptr-><a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">AddUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00385"></a>00385 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"JOIN :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00386"></a>00386 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Sent JOIN to client"</span>); +<a name="l00387"></a>00387 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00388"></a>00388 { +<a name="l00389"></a>00389 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"332 %s %s :%s"</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00390"></a>00390 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"333 %s %s %s %lu"</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, (<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00391"></a>00391 } +<a name="l00392"></a>00392 userlist(user,Ptr); +<a name="l00393"></a>00393 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user->fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, user->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00394"></a>00394 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserJoin(user,Ptr); +<a name="l00395"></a>00395 <span class="keywordflow">return</span> Ptr; +<a name="l00396"></a>00396 } +</pre></div> +<p> </td> </tr> </table> -<a class="anchor" name="custom_5Fmode_5Fparams"></a><!-- doxytag: member="channels.cpp::custom_mode_params" ref="custom_5Fmode_5Fparams" args="" --><p> +<a class="anchor" name="kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29"></a><!-- doxytag: member="channels.cpp::kick_channel" ref="kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29" args="(userrec *src, userrec *user, chanrec *Ptr, char *reason)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">std::vector<<a class="el" href="classModeParameter.html">ModeParameter</a>> <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a> </td> + <td class="md" nowrap valign="top">void kick_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>Ptr</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> </tr> </table> </td> @@ -199,18 +590,105 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</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>. +Definition at line <a class="el" href="channels_8cpp-source.html#l00459">459</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00040">AC_KICK</a>, <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>, <a class="el" href="modules_8h-source.html#l00038">ACR_DENY</a>, <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus()</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>, <a class="el" href="modules_8h-source.html#l00089">FOREACH_RESULT</a>, <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>, <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="users_8h-source.html#l00153">userrec::server</a>, <a class="el" href="users_8h-source.html#l00030">STATUS_HOP</a>, <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>.<div class="fragment"><pre class="fragment"><a name="l00460"></a>00460 { +<a name="l00461"></a>00461 <span class="keywordflow">if</span> ((!src) || (!user) || (!Ptr) || (!reason)) +<a name="l00462"></a>00462 { +<a name="l00463"></a>00463 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** kick_channel was given an invalid parameter"</span>); +<a name="l00464"></a>00464 <span class="keywordflow">return</span>; +<a name="l00465"></a>00465 } +<a name="l00466"></a>00466 +<a name="l00467"></a>00467 <span class="keywordflow">if</span> ((!Ptr) || (!user) || (!src)) +<a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span>; +<a name="l00470"></a>00470 } +<a name="l00471"></a>00471 +<a name="l00472"></a>00472 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kick_channel: removing: %s %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00473"></a>00473 +<a name="l00474"></a>00474 <span class="keywordflow">if</span> (!<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00475"></a>00475 { +<a name="l00476"></a>00476 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"441 %s %s %s :They are not on that channel"</span>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00477"></a>00477 <span class="keywordflow">return</span>; +<a name="l00478"></a>00478 } +<a name="l00479"></a>00479 +<a name="l00480"></a>00480 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00481"></a>00481 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnAccessCheck(src,user,Ptr,<a class="code" href="modules_8h.html#AC_5FKICK">AC_KICK</a>)); +<a name="l00482"></a>00482 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDENY">ACR_DENY</a>) && (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00483"></a>00483 <span class="keywordflow">return</span>; +<a name="l00484"></a>00484 +<a name="l00485"></a>00485 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>) || (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00486"></a>00486 { +<a name="l00487"></a>00487 <span class="keywordflow">if</span> ((<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) || (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(user,Ptr))) +<a name="l00488"></a>00488 { +<a name="l00489"></a>00489 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) == <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) +<a name="l00490"></a>00490 { +<a name="l00491"></a>00491 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be a channel operator"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00492"></a>00492 } +<a name="l00493"></a>00493 <span class="keywordflow">else</span> +<a name="l00494"></a>00494 { +<a name="l00495"></a>00495 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be at least a half-operator to change modes on this channel"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00496"></a>00496 } +<a name="l00497"></a>00497 +<a name="l00498"></a>00498 <span class="keywordflow">return</span>; +<a name="l00499"></a>00499 } +<a name="l00500"></a>00500 } +<a name="l00501"></a>00501 +<a name="l00502"></a>00502 <span class="keywordflow">if</span> (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>)) +<a name="l00503"></a>00503 { +<a name="l00504"></a>00504 MOD_RESULT = 0; +<a name="l00505"></a>00505 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreKick(src,user,Ptr,reason)); +<a name="l00506"></a>00506 <span class="keywordflow">if</span> (MOD_RESULT) +<a name="l00507"></a>00507 <span class="keywordflow">return</span>; +<a name="l00508"></a>00508 } +<a name="l00509"></a>00509 +<a name="l00510"></a>00510 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserKick(src,user,Ptr,reason); +<a name="l00511"></a>00511 +<a name="l00512"></a>00512 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00513"></a>00513 { +<a name="l00514"></a>00514 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00515"></a>00515 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel) +<a name="l00516"></a>00516 <span class="keywordflow">if</span> (!strcasecmp(user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00517"></a>00517 { +<a name="l00518"></a>00518 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,src,<span class="stringliteral">"KICK %s %s :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, reason); +<a name="l00519"></a>00519 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00520"></a>00520 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00521"></a>00521 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00522"></a>00522 <span class="keywordflow">break</span>; +<a name="l00523"></a>00523 } +<a name="l00524"></a>00524 } +<a name="l00525"></a>00525 +<a name="l00526"></a>00526 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00527"></a>00527 +<a name="l00528"></a>00528 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00529"></a>00529 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00530"></a>00530 { +<a name="l00531"></a>00531 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00532"></a>00532 +<a name="l00533"></a>00533 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00534"></a>00534 +<a name="l00535"></a>00535 <span class="comment">/* kill the record */</span> +<a name="l00536"></a>00536 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00537"></a>00537 { +<a name="l00538"></a>00538 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00539"></a>00539 <span class="keyword">delete</span> Ptr; +<a name="l00540"></a>00540 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00541"></a>00541 } +<a name="l00542"></a>00542 } +<a name="l00543"></a>00543 } +</pre></div> <p> -Referenced by <a class="el" href="channels_8cpp-source.html#l00146">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00110">chanrec::SetCustomModeParam()</a>. </td> + </td> </tr> </table> -<a class="anchor" name="factory"></a><!-- doxytag: member="channels.cpp::factory" ref="factory" args="" --><p> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="chanlist"></a><!-- doxytag: member="channels.cpp::chanlist" ref="chanlist" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">std::vector<<a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>*> factory </td> + <td class="md" nowrap valign="top"><a class="el" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> <a class="el" href="modules_8cpp.html#chanlist">chanlist</a> </td> </tr> </table> </td> @@ -224,16 +702,41 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00146">chanrec::Get <td> <p> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> + </tr> +</table> +<a class="anchor" name="Config"></a><!-- doxytag: member="channels.cpp::Config" ref="Config" args="" --><p> +<table class="mdTable" 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="classServerConfig.html">ServerConfig</a>* <a class="el" href="users_8cpp.html#Config">Config</a> </td> + </tr> + </table> </td> </tr> </table> -<a class="anchor" name="MODCOUNT"></a><!-- doxytag: member="channels.cpp::MODCOUNT" ref="MODCOUNT" args="" --><p> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="custom_5Fmode_5Fparams"></a><!-- doxytag: member="channels.cpp::custom_mode_params" ref="custom_5Fmode_5Fparams" args="" --><p> <table class="mdTable" 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#MODCOUNT">MODCOUNT</a> = -1 </td> + <td class="md" nowrap valign="top">std::vector<<a class="el" href="classModeParameter.html">ModeParameter</a>> <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a> </td> </tr> </table> </td> @@ -249,18 +752,18 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00146">chanrec::Get <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00938">938</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00147">chanrec::GetModeParameter()</a>, and <a class="el" href="channels_8cpp-source.html#l00111">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> -<a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="channels.cpp::module_names" ref="module_5Fnames" args="" --><p> +<a class="anchor" name="factory"></a><!-- doxytag: member="channels.cpp::factory" ref="factory" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">std::vector<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="channels_8cpp.html#module_5Fnames">module_names</a> </td> + <td class="md" nowrap valign="top">std::vector<<a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>*> factory </td> </tr> </table> </td> @@ -277,13 +780,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindM </td> </tr> </table> -<a class="anchor" name="modules"></a><!-- doxytag: member="channels.cpp::modules" ref="modules" args="" --><p> +<a class="anchor" name="MODCOUNT"></a><!-- doxytag: member="channels.cpp::MODCOUNT" ref="MODCOUNT" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">std::vector<<a class="el" href="classModule.html">Module</a>*> modules </td> + <td class="md" nowrap valign="top">int <a class="el" href="modules_8cpp.html#MODCOUNT">MODCOUNT</a> = -1 </td> </tr> </table> </td> @@ -299,16 +802,18 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindM <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindModule()</a>. </td> +Definition at line <a class="el" href="modules_8cpp-source.html#l00930">930</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#l00719">Server::FindModule()</a>. </td> </tr> </table> -<a class="anchor" name="startup_5Ftime"></a><!-- doxytag: member="channels.cpp::startup_time" ref="startup_5Ftime" args="" --><p> +<a class="anchor" name="modules"></a><!-- doxytag: member="channels.cpp::modules" ref="modules" args="" --><p> <table class="mdTable" 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#startup_5Ftime">startup_time</a> </td> + <td class="md" nowrap valign="top">std::vector<<a class="el" href="classModule.html">Module</a>*> modules </td> </tr> </table> </td> @@ -322,7 +827,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindM <td> <p> - </td> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00719">Server::FindModule()</a>. </td> </tr> </table> <a class="anchor" name="TIME"></a><!-- doxytag: member="channels.cpp::TIME" ref="TIME" args="" --><p> @@ -347,7 +854,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindM <p> <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td> </tr> </table> <a class="anchor" name="WHOWAS_5FMAX"></a><!-- doxytag: member="channels.cpp::WHOWAS_MAX" ref="WHOWAS_5FMAX" args="" --><p> @@ -356,7 +863,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userre <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#WHOWAS_5FMAX">WHOWAS_MAX</a> </td> + <td class="md" nowrap valign="top">int <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a> </td> </tr> </table> </td> @@ -379,7 +886,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userre <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#WHOWAS_5FSTALE">WHOWAS_STALE</a> </td> + <td class="md" nowrap valign="top">int <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a> </td> </tr> </table> </td> @@ -396,7 +903,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userre </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:14 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8cpp__incl.gif b/docs/module-doc/channels_8cpp__incl.gif Binary files differindex 37e28ff42..863abc3e5 100644 --- a/docs/module-doc/channels_8cpp__incl.gif +++ b/docs/module-doc/channels_8cpp__incl.gif diff --git a/docs/module-doc/channels_8cpp__incl.map b/docs/module-doc/channels_8cpp__incl.map index 66f731cbf..f6471abe1 100644 --- a/docs/module-doc/channels_8cpp__incl.map +++ b/docs/module-doc/channels_8cpp__incl.map @@ -1,8 +1,12 @@ base referer -rect $inspircd__io_8h-source.html 163,513 259,540 -rect $users_8h-source.html 324,159 388,185 -rect $ctables_8h-source.html 319,513 393,540 -rect $modules_8h-source.html 169,463 252,489 -rect $message_8h-source.html 168,209 253,236 -rect $mode_8h-source.html 177,311 244,337 -rect $xline_8h-source.html 180,159 241,185 +rect $inspircd_8h-source.html 580,665 660,692 +rect $inspircd__io_8h-source.html 712,615 808,641 +rect $globals_8h-source.html 872,767 947,793 +rect $users_8h-source.html 1009,716 1073,743 +rect $ctables_8h-source.html 452,868 527,895 +rect $modules_8h-source.html 315,767 397,793 +rect $commands_8h-source.html 860,361 959,388 +rect $message_8h-source.html 867,412 952,439 +rect $mode_8h-source.html 876,108 943,135 +rect $xline_8h-source.html 879,159 940,185 +rect $typedefs_8h-source.html 168,1020 253,1047 diff --git a/docs/module-doc/channels_8cpp__incl.md5 b/docs/module-doc/channels_8cpp__incl.md5 index 0f6924e90..319dd1c05 100644 --- a/docs/module-doc/channels_8cpp__incl.md5 +++ b/docs/module-doc/channels_8cpp__incl.md5 @@ -1 +1 @@ -a1941ab3cf03fba8030e6802191251a3
\ No newline at end of file +4f90f86ea2d42fe100213ae570a3e482
\ No newline at end of file diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index b97c331ba..d2ae71063 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -39,116 +39,122 @@ <a name="l00030"></a><a class="code" href="channels_8h.html#CM_5FSECRET">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_SECRET 16</span> <a name="l00031"></a><a class="code" href="channels_8h.html#CM_5FPRIVATE">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define CM_PRIVATE 32</span> <a name="l00032"></a>00032 <span class="preprocessor"></span> -<a name="l00036"></a><a class="code" href="classHostItem.html">00036</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -<a name="l00037"></a>00037 { -<a name="l00038"></a>00038 <span class="keyword">public</span>: -<a name="l00039"></a><a class="code" href="classHostItem.html#set_5Ftime">00039</a> time_t <a class="code" href="classHostItem.html#set_5Ftime">set_time</a>; -<a name="l00040"></a><a class="code" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">00040</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">set_by</a>[NICKMAX]; -<a name="l00041"></a><a class="code" href="classHostItem.html#data_5BMAXBUF_5D">00041</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#data_5BMAXBUF_5D">data</a>[MAXBUF]; -<a name="l00042"></a>00042 -<a name="l00043"></a><a class="code" href="classHostItem.html#HostItem_28_29">00043</a> <a class="code" href="classHostItem.html#HostItem_28_29">HostItem</a>() { <span class="comment">/* stub */</span> } -<a name="l00044"></a><a class="code" href="classHostItem.html#_7EHostItem_28_29">00044</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>() { <span class="comment">/* stub */</span> } -<a name="l00045"></a>00045 }; -<a name="l00046"></a>00046 -<a name="l00047"></a>00047 <span class="comment">// banlist is inherited from HostList mainly for readability</span> -<a name="l00048"></a>00048 <span class="comment">// reasons only</span> -<a name="l00049"></a>00049 -<a name="l00052"></a><a class="code" href="classBanItem.html">00052</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -<a name="l00053"></a>00053 { -<a name="l00054"></a>00054 }; -<a name="l00055"></a>00055 -<a name="l00056"></a>00056 <span class="comment">// same with this...</span> +<a name="l00033"></a>00033 <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a>; +<a name="l00034"></a>00034 +<a name="l00038"></a><a class="code" href="classHostItem.html">00038</a> <span class="keyword">class </span><a class="code" href="classHostItem.html">HostItem</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +<a name="l00039"></a>00039 { +<a name="l00040"></a>00040 <span class="keyword">public</span>: +<a name="l00041"></a><a class="code" href="classHostItem.html#set_5Ftime">00041</a> time_t <a class="code" href="classHostItem.html#set_5Ftime">set_time</a>; +<a name="l00042"></a><a class="code" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">00042</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">set_by</a>[NICKMAX]; +<a name="l00043"></a><a class="code" href="classHostItem.html#data_5BMAXBUF_5D">00043</a> <span class="keywordtype">char</span> <a class="code" href="classHostItem.html#data_5BMAXBUF_5D">data</a>[MAXBUF]; +<a name="l00044"></a>00044 +<a name="l00045"></a><a class="code" href="classHostItem.html#HostItem_28_29">00045</a> <a class="code" href="classHostItem.html#HostItem_28_29">HostItem</a>() { <span class="comment">/* stub */</span> } +<a name="l00046"></a><a class="code" href="classHostItem.html#_7EHostItem_28_29">00046</a> <span class="keyword">virtual</span> <a class="code" href="classHostItem.html#_7EHostItem_28_29">~HostItem</a>() { <span class="comment">/* stub */</span> } +<a name="l00047"></a>00047 }; +<a name="l00048"></a>00048 +<a name="l00049"></a>00049 <span class="comment">// banlist is inherited from HostList mainly for readability</span> +<a name="l00050"></a>00050 <span class="comment">// reasons only</span> +<a name="l00051"></a>00051 +<a name="l00054"></a><a class="code" href="classBanItem.html">00054</a> <span class="keyword">class </span><a class="code" href="classBanItem.html">BanItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +<a name="l00055"></a>00055 { +<a name="l00056"></a>00056 }; <a name="l00057"></a>00057 -<a name="l00060"></a><a class="code" href="classExemptItem.html">00060</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -<a name="l00061"></a>00061 { -<a name="l00062"></a>00062 }; -<a name="l00063"></a>00063 -<a name="l00064"></a>00064 <span class="comment">// and this...</span> +<a name="l00058"></a>00058 <span class="comment">// same with this...</span> +<a name="l00059"></a>00059 +<a name="l00062"></a><a class="code" href="classExemptItem.html">00062</a> <span class="keyword">class </span><a class="code" href="classExemptItem.html">ExemptItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +<a name="l00063"></a>00063 { +<a name="l00064"></a>00064 }; <a name="l00065"></a>00065 -<a name="l00068"></a><a class="code" href="classInviteItem.html">00068</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> -<a name="l00069"></a>00069 { -<a name="l00070"></a>00070 }; -<a name="l00071"></a>00071 -<a name="l00072"></a>00072 -<a name="l00077"></a><a class="code" href="classModeParameter.html">00077</a> <span class="keyword">class </span><a class="code" href="classModeParameter.html">ModeParameter</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -<a name="l00078"></a>00078 { -<a name="l00079"></a>00079 <span class="keyword">public</span>: -<a name="l00080"></a><a class="code" href="classModeParameter.html#mode">00080</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#mode">mode</a>; -<a name="l00081"></a><a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">00081</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>[MAXBUF]; -<a name="l00082"></a><a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">00082</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>[CHANMAX]; -<a name="l00083"></a>00083 }; -<a name="l00084"></a>00084 -<a name="l00087"></a><a class="code" href="channels_8h.html#BanList">00087</a> <span class="keyword">typedef</span> std::vector<BanItem> <a class="code" href="channels_8h.html#BanList">BanList</a>; -<a name="l00088"></a>00088 -<a name="l00091"></a><a class="code" href="channels_8h.html#ExemptList">00091</a> <span class="keyword">typedef</span> std::vector<ExemptItem> <a class="code" href="channels_8h.html#ExemptList">ExemptList</a>; -<a name="l00092"></a>00092 -<a name="l00095"></a><a class="code" href="channels_8h.html#InviteList">00095</a> <span class="keyword">typedef</span> std::vector<InviteItem> <a class="code" href="channels_8h.html#InviteList">InviteList</a>; -<a name="l00096"></a>00096 -<a name="l00101"></a><a class="code" href="classchanrec.html">00101</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> -<a name="l00102"></a>00102 { -<a name="l00103"></a>00103 <span class="keyword">public</span>: -<a name="l00106"></a><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">00106</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> -<a name="l00110"></a><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">00110</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span> -<a name="l00111"></a>00111 -<a name="l00115"></a><a class="code" href="classchanrec.html#internal_5Fuserlist">00115</a> std::vector<char*> <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; -<a name="l00116"></a>00116 -<a name="l00120"></a><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">00120</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>[MAXBUF]; -<a name="l00123"></a><a class="code" href="classchanrec.html#created">00123</a> time_t <a class="code" href="classchanrec.html#created">created</a>; -<a name="l00127"></a><a class="code" href="classchanrec.html#topicset">00127</a> time_t <a class="code" href="classchanrec.html#topicset">topicset</a>; -<a name="l00131"></a><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">00131</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>[NICKMAX]; -<a name="l00132"></a>00132 -<a name="l00136"></a><a class="code" href="classchanrec.html#limit">00136</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#limit">limit</a>; -<a name="l00137"></a>00137 -<a name="l00141"></a><a class="code" href="classchanrec.html#key_5B_33_32_5D">00141</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>[32]; -<a name="l00142"></a>00142 -<a name="l00145"></a><a class="code" href="classchanrec.html#binarymodes">00145</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#binarymodes">binarymodes</a>; -<a name="l00146"></a>00146 -<a name="l00149"></a><a class="code" href="classchanrec.html#bans">00149</a> <a class="code" href="channels_8h.html#BanList">BanList</a> <a class="code" href="classchanrec.html#bans">bans</a>; -<a name="l00150"></a>00150 -<a name="l00155"></a>00155 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on); -<a name="l00156"></a>00156 -<a name="l00162"></a>00162 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on); -<a name="l00163"></a>00163 -<a name="l00168"></a>00168 <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">IsCustomModeSet</a>(<span class="keywordtype">char</span> mode); -<a name="l00169"></a>00169 -<a name="l00180"></a>00180 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">GetModeParameter</a>(<span class="keywordtype">char</span> mode); -<a name="l00181"></a>00181 -<a name="l00189"></a>00189 <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#GetUserCounter_28_29">GetUserCounter</a>(); -<a name="l00190"></a>00190 -<a name="l00198"></a>00198 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">AddUser</a>(<span class="keywordtype">char</span>* castuser); -<a name="l00199"></a>00199 -<a name="l00207"></a>00207 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>(<span class="keywordtype">char</span>* castuser); -<a name="l00208"></a>00208 -<a name="l00218"></a>00218 std::vector<char*> *<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); -<a name="l00219"></a>00219 -<a name="l00222"></a>00222 <a class="code" href="classchanrec.html#chanrec_28_29">chanrec</a>(); -<a name="l00223"></a>00223 -<a name="l00224"></a><a class="code" href="classchanrec.html#_7Echanrec_28_29">00224</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#_7Echanrec_28_29">~chanrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00225"></a>00225 }; -<a name="l00226"></a>00226 -<a name="l00227"></a>00227 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> -<a name="l00228"></a>00228 <span class="comment"> * needs to come AFTER struct chanrec */</span> -<a name="l00229"></a>00229 -<a name="l00230"></a><a class="code" href="channels_8h.html#UCMODE_5FOP">00230</a> <span class="preprocessor">#define UCMODE_OP 1</span> -<a name="l00231"></a><a class="code" href="channels_8h.html#UCMODE_5FVOICE">00231</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> -<a name="l00232"></a><a class="code" href="channels_8h.html#UCMODE_5FHOP">00232</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> -<a name="l00233"></a><a class="code" href="channels_8h.html#UCMODE_5FPROTECT">00233</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> -<a name="l00234"></a><a class="code" href="channels_8h.html#UCMODE_5FFOUNDER">00234</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> -<a name="l00235"></a>00235 <span class="preprocessor"></span> -<a name="l00241"></a><a class="code" href="classucrec.html">00241</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> -<a name="l00242"></a>00242 { -<a name="l00243"></a>00243 <span class="keyword">public</span>: -<a name="l00247"></a><a class="code" href="classucrec.html#uc_5Fmodes">00247</a> <span class="keywordtype">char</span> <a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a>; -<a name="l00248"></a>00248 -<a name="l00252"></a><a class="code" href="classucrec.html#channel">00252</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#channel">channel</a>; -<a name="l00253"></a>00253 -<a name="l00254"></a><a class="code" href="classucrec.html#ucrec_28_29">00254</a> <a class="code" href="classucrec.html#ucrec_28_29">ucrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00255"></a><a class="code" href="classucrec.html#_7Eucrec_28_29">00255</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#_7Eucrec_28_29">~ucrec</a>() { <span class="comment">/* stub */</span> } -<a name="l00256"></a>00256 }; -<a name="l00257"></a>00257 -<a name="l00258"></a>00258 <span class="preprocessor">#endif</span> -<a name="l00259"></a>00259 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +<a name="l00066"></a>00066 <span class="comment">// and this...</span> +<a name="l00067"></a>00067 +<a name="l00070"></a><a class="code" href="classInviteItem.html">00070</a> <span class="keyword">class </span><a class="code" href="classInviteItem.html">InviteItem</a> : <span class="keyword">public</span> <a class="code" href="classHostItem.html">HostItem</a> +<a name="l00071"></a>00071 { +<a name="l00072"></a>00072 }; +<a name="l00073"></a>00073 +<a name="l00074"></a>00074 +<a name="l00079"></a><a class="code" href="classModeParameter.html">00079</a> <span class="keyword">class </span><a class="code" href="classModeParameter.html">ModeParameter</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +<a name="l00080"></a>00080 { +<a name="l00081"></a>00081 <span class="keyword">public</span>: +<a name="l00082"></a><a class="code" href="classModeParameter.html#mode">00082</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#mode">mode</a>; +<a name="l00083"></a><a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">00083</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>[MAXBUF]; +<a name="l00084"></a><a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">00084</a> <span class="keywordtype">char</span> <a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>[CHANMAX]; +<a name="l00085"></a>00085 }; +<a name="l00086"></a>00086 +<a name="l00089"></a><a class="code" href="channels_8h.html#BanList">00089</a> <span class="keyword">typedef</span> std::vector<BanItem> <a class="code" href="channels_8h.html#BanList">BanList</a>; +<a name="l00090"></a>00090 +<a name="l00093"></a><a class="code" href="channels_8h.html#ExemptList">00093</a> <span class="keyword">typedef</span> std::vector<ExemptItem> <a class="code" href="channels_8h.html#ExemptList">ExemptList</a>; +<a name="l00094"></a>00094 +<a name="l00097"></a><a class="code" href="channels_8h.html#InviteList">00097</a> <span class="keyword">typedef</span> std::vector<InviteItem> <a class="code" href="channels_8h.html#InviteList">InviteList</a>; +<a name="l00098"></a>00098 +<a name="l00103"></a><a class="code" href="classchanrec.html">00103</a> <span class="keyword">class </span><a class="code" href="classchanrec.html">chanrec</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> +<a name="l00104"></a>00104 { +<a name="l00105"></a>00105 <span class="keyword">public</span>: +<a name="l00108"></a><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">00108</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>[CHANMAX]; <span class="comment">/* channel name */</span> +<a name="l00112"></a><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">00112</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>[MAXMODES]; <span class="comment">/* modes handled by modules */</span> +<a name="l00113"></a>00113 +<a name="l00117"></a><a class="code" href="classchanrec.html#internal_5Fuserlist">00117</a> std::vector<char*> <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; +<a name="l00118"></a>00118 +<a name="l00122"></a><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">00122</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>[MAXBUF]; +<a name="l00125"></a><a class="code" href="classchanrec.html#created">00125</a> time_t <a class="code" href="classchanrec.html#created">created</a>; +<a name="l00129"></a><a class="code" href="classchanrec.html#topicset">00129</a> time_t <a class="code" href="classchanrec.html#topicset">topicset</a>; +<a name="l00133"></a><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">00133</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>[NICKMAX]; +<a name="l00134"></a>00134 +<a name="l00138"></a><a class="code" href="classchanrec.html#limit">00138</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classchanrec.html#limit">limit</a>; +<a name="l00139"></a>00139 +<a name="l00143"></a><a class="code" href="classchanrec.html#key_5B_33_32_5D">00143</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>[32]; +<a name="l00144"></a>00144 +<a name="l00147"></a><a class="code" href="classchanrec.html#binarymodes">00147</a> <span class="keywordtype">char</span> <a class="code" href="classchanrec.html#binarymodes">binarymodes</a>; +<a name="l00148"></a>00148 +<a name="l00151"></a><a class="code" href="classchanrec.html#bans">00151</a> <a class="code" href="channels_8h.html#BanList">BanList</a> <a class="code" href="classchanrec.html#bans">bans</a>; +<a name="l00152"></a>00152 +<a name="l00157"></a>00157 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on); +<a name="l00158"></a>00158 +<a name="l00164"></a>00164 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on); +<a name="l00165"></a>00165 +<a name="l00170"></a>00170 <span class="keywordtype">bool</span> <a class="code" href="classchanrec.html#IsCustomModeSet_28char_20mode_29">IsCustomModeSet</a>(<span class="keywordtype">char</span> mode); +<a name="l00171"></a>00171 +<a name="l00182"></a>00182 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classchanrec.html#GetModeParameter_28char_20mode_29">GetModeParameter</a>(<span class="keywordtype">char</span> mode); +<a name="l00183"></a>00183 +<a name="l00191"></a>00191 <span class="keywordtype">long</span> <a class="code" href="classchanrec.html#GetUserCounter_28_29">GetUserCounter</a>(); +<a name="l00192"></a>00192 +<a name="l00200"></a>00200 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#AddUser_28char_20_2Acastuser_29">AddUser</a>(<span class="keywordtype">char</span>* castuser); +<a name="l00201"></a>00201 +<a name="l00209"></a>00209 <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>(<span class="keywordtype">char</span>* castuser); +<a name="l00210"></a>00210 +<a name="l00220"></a>00220 std::vector<char*> *<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); +<a name="l00221"></a>00221 +<a name="l00224"></a>00224 <a class="code" href="classchanrec.html#chanrec_28_29">chanrec</a>(); +<a name="l00225"></a>00225 +<a name="l00226"></a><a class="code" href="classchanrec.html#_7Echanrec_28_29">00226</a> <span class="keyword">virtual</span> <a class="code" href="classchanrec.html#_7Echanrec_28_29">~chanrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00227"></a>00227 }; +<a name="l00228"></a>00228 +<a name="l00229"></a>00229 <span class="comment">/* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o</span> +<a name="l00230"></a>00230 <span class="comment"> * needs to come AFTER struct chanrec */</span> +<a name="l00231"></a>00231 +<a name="l00232"></a><a class="code" href="channels_8h.html#UCMODE_5FOP">00232</a> <span class="preprocessor">#define UCMODE_OP 1</span> +<a name="l00233"></a><a class="code" href="channels_8h.html#UCMODE_5FVOICE">00233</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_VOICE 2</span> +<a name="l00234"></a><a class="code" href="channels_8h.html#UCMODE_5FHOP">00234</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_HOP 4</span> +<a name="l00235"></a><a class="code" href="channels_8h.html#UCMODE_5FPROTECT">00235</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_PROTECT 8</span> +<a name="l00236"></a><a class="code" href="channels_8h.html#UCMODE_5FFOUNDER">00236</a> <span class="preprocessor"></span><span class="preprocessor">#define UCMODE_FOUNDER 16</span> +<a name="l00237"></a>00237 <span class="preprocessor"></span> +<a name="l00243"></a><a class="code" href="classucrec.html">00243</a> <span class="keyword">class </span><a class="code" href="classucrec.html">ucrec</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a> +<a name="l00244"></a>00244 { +<a name="l00245"></a>00245 <span class="keyword">public</span>: +<a name="l00249"></a><a class="code" href="classucrec.html#uc_5Fmodes">00249</a> <span class="keywordtype">char</span> <a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a>; +<a name="l00250"></a>00250 +<a name="l00254"></a><a class="code" href="classucrec.html#channel">00254</a> <a class="code" href="classchanrec.html">chanrec</a> *<a class="code" href="classucrec.html#channel">channel</a>; +<a name="l00255"></a>00255 +<a name="l00256"></a><a class="code" href="classucrec.html#ucrec_28_29">00256</a> <a class="code" href="classucrec.html#ucrec_28_29">ucrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00257"></a><a class="code" href="classucrec.html#_7Eucrec_28_29">00257</a> <span class="keyword">virtual</span> <a class="code" href="classucrec.html#_7Eucrec_28_29">~ucrec</a>() { <span class="comment">/* stub */</span> } +<a name="l00258"></a>00258 }; +<a name="l00259"></a>00259 +<a name="l00260"></a>00260 <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <span class="keyword">const</span> <span class="keywordtype">char</span>* cn, <span class="keyword">const</span> <span class="keywordtype">char</span>* key, <span class="keywordtype">bool</span> override); +<a name="l00261"></a>00261 <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason, <span class="keywordtype">bool</span> local); +<a name="l00262"></a>00262 <span class="keywordtype">void</span> <a class="code" href="channels_8cpp.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">kick_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *src,<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *Ptr, <span class="keywordtype">char</span>* reason); +<a name="l00263"></a>00263 +<a name="l00264"></a>00264 <span class="preprocessor">#endif</span> +<a name="l00265"></a>00265 <span class="preprocessor"></span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 70eddfacb..fe3e3e2fe 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -22,16 +22,15 @@ Include dependency graph for channels.h:<p><center><img src="channels_8h__incl.g <p> This graph shows which files directly or indirectly include this file:<p><center><img src="channels_8h__dep__incl.gif" border="0" usemap="#channels.hdep_map" alt=""></center> <map name="channels.hdep_map"> -<area href="users_8cpp-source.html" shape="rect" coords="423,57,503,84" alt=""> -<area href="users_8h-source.html" shape="rect" coords="144,260,208,287" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="261,57,360,84" alt=""> -<area href="message_8h-source.html" shape="rect" coords="268,361,353,388" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="277,311,344,337" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="268,108,353,135" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="280,463,341,489" alt=""> -<area href="channels_8cpp-source.html" shape="rect" coords="413,387,512,413" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="413,260,512,287" alt=""> -<area href="userprocess_8h-source.html" shape="rect" coords="259,260,363,287" alt=""> +<area href="users_8cpp-source.html" shape="rect" coords="407,83,487,109" alt=""> +<area href="users_8h-source.html" shape="rect" coords="144,257,208,284" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="257,57,356,84" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="269,159,344,185" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="404,209,489,236" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="267,108,347,135" alt=""> +<area href="message_8h-source.html" shape="rect" coords="264,311,349,337" alt=""> +<area href="mode_8h-source.html" shape="rect" coords="273,361,340,388" alt=""> +<area href="xline_8h-source.html" shape="rect" coords="276,463,337,489" alt=""> </map> <p> @@ -92,6 +91,13 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< <a class="el" href="classInviteItem.html">InviteItem</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8h.html#InviteList">InviteList</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds a complete invite list. <a href="#InviteList"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8h.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *cn, const char *key, bool override)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8h.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *cname, const char *reason, bool local)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="channels_8h.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">kick_channel</a> (<a class="el" href="classuserrec.html">userrec</a> *src, <a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *Ptr, char *reason)</td></tr> + </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="CM_5FINVITEONLY"></a><!-- doxytag: member="channels.h::CM_INVITEONLY" ref="CM_5FINVITEONLY" args="" --><p> @@ -116,7 +122,9 @@ This graph shows which files directly or indirectly include this file:<p><center <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00028">28</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00028">28</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#l00195">add_channel()</a>. </td> </tr> </table> <a class="anchor" name="CM_5FMODERATED"></a><!-- doxytag: member="channels.h::CM_MODERATED" ref="CM_5FMODERATED" args="" --><p> @@ -166,7 +174,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00029">29</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00027">27</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00027">27</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#l00195">add_channel()</a>. </td> </tr> </table> <a class="anchor" name="CM_5FPRIVATE"></a><!-- doxytag: member="channels.h::CM_PRIVATE" ref="CM_5FPRIVATE" args="" --><p> @@ -241,7 +251,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00030">30</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00026">26</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00026">26</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#l00195">add_channel()</a>. </td> </tr> </table> <a class="anchor" name="UCMODE_5FFOUNDER"></a><!-- doxytag: member="channels.h::UCMODE_FOUNDER" ref="UCMODE_5FFOUNDER" args="" --><p> @@ -266,7 +278,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00026">26</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00234">234</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00236">236</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="UCMODE_5FHOP"></a><!-- doxytag: member="channels.h::UCMODE_HOP" ref="UCMODE_5FHOP" args="" --><p> @@ -291,7 +303,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00234">234</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00232">232</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00234">234</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="UCMODE_5FOP"></a><!-- doxytag: member="channels.h::UCMODE_OP" ref="UCMODE_5FOP" args="" --><p> @@ -316,7 +328,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00232">232</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00230">230</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00232">232</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#l00372">ForceChan()</a>. </td> </tr> </table> <a class="anchor" name="UCMODE_5FPROTECT"></a><!-- doxytag: member="channels.h::UCMODE_PROTECT" ref="UCMODE_5FPROTECT" args="" --><p> @@ -341,7 +355,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00230">230</a> o <p> <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>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00235">235</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="UCMODE_5FVOICE"></a><!-- doxytag: member="channels.h::UCMODE_VOICE" ref="UCMODE_5FVOICE" args="" --><p> @@ -366,7 +380,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00233">233</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00231">231</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +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>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -394,7 +408,7 @@ Holds a complete ban list. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00087">87</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00089">89</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="ExemptList"></a><!-- doxytag: member="channels.h::ExemptList" ref="ExemptList" args="" --><p> @@ -421,7 +435,7 @@ Holds a complete exempt list. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00091">91</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00093">93</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="InviteList"></a><!-- doxytag: member="channels.h::InviteList" ref="InviteList" args="" --><p> @@ -448,10 +462,494 @@ Holds a complete invite list. <p> <p> -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> +Definition at line <a class="el" href="channels_8h-source.html#l00097">97</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> + </tr> +</table> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29"></a><!-- doxytag: member="channels.h::add_channel" ref="add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29" args="(userrec *user, const char *cn, const char *key, bool override)" --><p> +<table class="mdTable" 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="classchanrec.html">chanrec</a>* add_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>cn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>key</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>override</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00195">195</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8h-source.html#l00151">chanrec::bans</a>, <a class="el" href="channels_8h-source.html#l00147">chanrec::binarymodes</a>, <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="channels_8h-source.html#l00028">CM_INVITEONLY</a>, <a class="el" href="channels_8h-source.html#l00027">CM_NOEXTERNAL</a>, <a class="el" href="channels_8h-source.html#l00026">CM_TOPICLOCK</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="modules_8h-source.html#l00089">FOREACH_RESULT</a>, <a class="el" href="users_8cpp-source.html#l00072">userrec::GetFullHost()</a>, <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>, <a class="el" href="users_8cpp-source.html#l00096">userrec::IsInvited()</a>, <a class="el" href="channels_8h-source.html#l00143">chanrec::key</a>, <a class="el" href="channels_8h-source.html#l00138">chanrec::limit</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="users_8h-source.html#l00147">userrec::modes</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="users_8cpp-source.html#l00122">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00359">Server::JoinUserToChannel()</a>.<div class="fragment"><pre class="fragment"><a name="l00196"></a>00196 { +<a name="l00197"></a>00197 <span class="keywordflow">if</span> ((!user) || (!cn)) +<a name="l00198"></a>00198 { +<a name="l00199"></a>00199 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** add_channel was given an invalid parameter"</span>); +<a name="l00200"></a>00200 <span class="keywordflow">return</span> 0; +<a name="l00201"></a>00201 } +<a name="l00202"></a>00202 +<a name="l00203"></a>00203 <span class="keywordtype">int</span> created = 0; +<a name="l00204"></a>00204 <span class="keywordtype">char</span> cname[MAXBUF]; +<a name="l00205"></a>00205 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00206"></a>00206 strncpy(cname,cn,CHANMAX); +<a name="l00207"></a>00207 +<a name="l00208"></a>00208 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00209"></a>00209 +<a name="l00210"></a>00210 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00211"></a>00211 +<a name="l00212"></a>00212 <span class="keywordflow">if</span> (!Ptr) +<a name="l00213"></a>00213 { +<a name="l00214"></a>00214 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00215"></a>00215 { +<a name="l00216"></a>00216 MOD_RESULT = 0; +<a name="l00217"></a>00217 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,NULL,cname)); +<a name="l00218"></a>00218 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00219"></a>00219 <span class="keywordflow">return</span> NULL; +<a name="l00220"></a>00220 } +<a name="l00221"></a>00221 <span class="comment">/* create a new one */</span> +<a name="l00222"></a>00222 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname] = <span class="keyword">new</span> <a class="code" href="classchanrec.html">chanrec</a>(); +<a name="l00223"></a>00223 strlcpy(chanlist[cname]->name, cname,CHANMAX); +<a name="l00224"></a>00224 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->binarymodes = <a class="code" href="channels_8h.html#CM_5FTOPICLOCK">CM_TOPICLOCK</a> | <a class="code" href="channels_8h.html#CM_5FNOEXTERNAL">CM_NOEXTERNAL</a>; +<a name="l00225"></a>00225 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->created = <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00226"></a>00226 strcpy(chanlist[cname]->topic, <span class="stringliteral">""</span>); +<a name="l00227"></a>00227 strncpy(chanlist[cname]->setby, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,NICKMAX); +<a name="l00228"></a>00228 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]->topicset = 0; +<a name="l00229"></a>00229 Ptr = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>[cname]; +<a name="l00230"></a>00230 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: created: %s"</span>,cname); +<a name="l00231"></a>00231 <span class="comment">/* set created to 2 to indicate user</span> +<a name="l00232"></a>00232 <span class="comment"> * is the first in the channel</span> +<a name="l00233"></a>00233 <span class="comment"> * and should be given ops */</span> +<a name="l00234"></a>00234 created = 2; +<a name="l00235"></a>00235 } +<a name="l00236"></a>00236 <span class="keywordflow">else</span> +<a name="l00237"></a>00237 { +<a name="l00238"></a>00238 <span class="comment">/* Already on the channel */</span> +<a name="l00239"></a>00239 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00240"></a>00240 <span class="keywordflow">return</span> NULL; +<a name="l00241"></a>00241 +<a name="l00242"></a>00242 <span class="comment">// remote users are allowed us to bypass channel modes</span> +<a name="l00243"></a>00243 <span class="comment">// and bans (used by servers)</span> +<a name="l00244"></a>00244 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> > -1) +<a name="l00245"></a>00245 { +<a name="l00246"></a>00246 MOD_RESULT = 0; +<a name="l00247"></a>00247 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreJoin(user,Ptr,cname)); +<a name="l00248"></a>00248 <span class="keywordflow">if</span> (MOD_RESULT == 1) +<a name="l00249"></a>00249 { +<a name="l00250"></a>00250 <span class="keywordflow">return</span> NULL; +<a name="l00251"></a>00251 } +<a name="l00252"></a>00252 <span class="keywordflow">else</span> +<a name="l00253"></a>00253 { +<a name="l00254"></a>00254 <span class="keywordflow">if</span> (*Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>) +<a name="l00255"></a>00255 { +<a name="l00256"></a>00256 MOD_RESULT = 0; +<a name="l00257"></a>00257 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckKey(user, Ptr, key ? key : <span class="stringliteral">""</span>)); +<a name="l00258"></a>00258 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00259"></a>00259 { +<a name="l00260"></a>00260 <span class="keywordflow">if</span> (!key) +<a name="l00261"></a>00261 { +<a name="l00262"></a>00262 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: no key given in JOIN"</span>); +<a name="l00263"></a>00263 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Requires key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00264"></a>00264 <span class="keywordflow">return</span> NULL; +<a name="l00265"></a>00265 } +<a name="l00266"></a>00266 <span class="keywordflow">else</span> +<a name="l00267"></a>00267 { +<a name="l00268"></a>00268 <span class="keywordflow">if</span> (strcasecmp(key,Ptr-><a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>)) +<a name="l00269"></a>00269 { +<a name="l00270"></a>00270 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: bad key given in JOIN"</span>); +<a name="l00271"></a>00271 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"475 %s %s :Cannot join channel (Incorrect key)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00272"></a>00272 <span class="keywordflow">return</span> NULL; +<a name="l00273"></a>00273 } +<a name="l00274"></a>00274 } +<a name="l00275"></a>00275 } +<a name="l00276"></a>00276 } +<a name="l00277"></a>00277 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#binarymodes">binarymodes</a> & <a class="code" href="channels_8h.html#CM_5FINVITEONLY">CM_INVITEONLY</a>) +<a name="l00278"></a>00278 { +<a name="l00279"></a>00279 MOD_RESULT = 0; +<a name="l00280"></a>00280 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckInvite(user, Ptr)); +<a name="l00281"></a>00281 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00282"></a>00282 { +<a name="l00283"></a>00283 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: channel is +i"</span>); +<a name="l00284"></a>00284 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">IsInvited</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00285"></a>00285 { +<a name="l00286"></a>00286 <span class="comment">/* user was invited to channel */</span> +<a name="l00287"></a>00287 <span class="comment">/* there may be an optional channel NOTICE here */</span> +<a name="l00288"></a>00288 } +<a name="l00289"></a>00289 <span class="keywordflow">else</span> +<a name="l00290"></a>00290 { +<a name="l00291"></a>00291 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"473 %s %s :Cannot join channel (Invite only)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00292"></a>00292 <span class="keywordflow">return</span> NULL; +<a name="l00293"></a>00293 } +<a name="l00294"></a>00294 } +<a name="l00295"></a>00295 user-><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">RemoveInvite</a>(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00296"></a>00296 } +<a name="l00297"></a>00297 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#limit">limit</a>) +<a name="l00298"></a>00298 { +<a name="l00299"></a>00299 MOD_RESULT = 0; +<a name="l00300"></a>00300 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckLimit(user, Ptr)); +<a name="l00301"></a>00301 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00302"></a>00302 { +<a name="l00303"></a>00303 <span class="keywordflow">if</span> (usercount(Ptr) >= Ptr->limit) +<a name="l00304"></a>00304 { +<a name="l00305"></a>00305 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"471 %s %s :Cannot join channel (Channel is full)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr->name); +<a name="l00306"></a>00306 <span class="keywordflow">return</span> NULL; +<a name="l00307"></a>00307 } +<a name="l00308"></a>00308 } +<a name="l00309"></a>00309 } +<a name="l00310"></a>00310 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.size()) +<a name="l00311"></a>00311 { +<a name="l00312"></a>00312 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: about to walk banlist"</span>); +<a name="l00313"></a>00313 MOD_RESULT = 0; +<a name="l00314"></a>00314 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnCheckBan(user, Ptr)); +<a name="l00315"></a>00315 <span class="keywordflow">if</span> (!MOD_RESULT) +<a name="l00316"></a>00316 { +<a name="l00317"></a>00317 <span class="keywordflow">for</span> (BanList::iterator i = Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.begin(); i != Ptr-><a class="code" href="classchanrec.html#bans">bans</a>.end(); i++) +<a name="l00318"></a>00318 { +<a name="l00319"></a>00319 <span class="keywordflow">if</span> (match(user-><a class="code" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a>(),i->data)) +<a name="l00320"></a>00320 { +<a name="l00321"></a>00321 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"474 %s %s :Cannot join channel (You're banned)"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00322"></a>00322 <span class="keywordflow">return</span> NULL; +<a name="l00323"></a>00323 } +<a name="l00324"></a>00324 } +<a name="l00325"></a>00325 } +<a name="l00326"></a>00326 } +<a name="l00327"></a>00327 } +<a name="l00328"></a>00328 } +<a name="l00329"></a>00329 <span class="keywordflow">else</span> +<a name="l00330"></a>00330 { +<a name="l00331"></a>00331 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Overridden checks"</span>); +<a name="l00332"></a>00332 } +<a name="l00333"></a>00333 created = 1; +<a name="l00334"></a>00334 } +<a name="l00335"></a>00335 +<a name="l00336"></a>00336 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Passed channel checks"</span>); +<a name="l00337"></a>00337 +<a name="l00338"></a>00338 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index =0; index < user->chans.size(); index++) +<a name="l00339"></a>00339 { +<a name="l00340"></a>00340 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[index].channel == NULL) +<a name="l00341"></a>00341 { +<a name="l00342"></a>00342 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,user-><a class="code" href="classuserrec.html#chans">chans</a>[index],user,created); +<a name="l00343"></a>00343 } +<a name="l00344"></a>00344 } +<a name="l00345"></a>00345 <span class="comment">/* XXX: If the user is an oper here, we can just extend their user->chans vector by one</span> +<a name="l00346"></a>00346 <span class="comment"> * and put the channel in here. Same for remote users which are not bound by</span> +<a name="l00347"></a>00347 <span class="comment"> * the channel limits. Otherwise, nope, youre boned.</span> +<a name="l00348"></a>00348 <span class="comment"> */</span> +<a name="l00349"></a>00349 <span class="keywordflow">if</span> (user-><a class="code" href="classconnection.html#fd">fd</a> < 0) +<a name="l00350"></a>00350 { +<a name="l00351"></a>00351 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00352"></a>00352 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00353"></a>00353 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00354"></a>00354 <span class="keywordflow">return</span> c; +<a name="l00355"></a>00355 } +<a name="l00356"></a>00356 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strchr(user-><a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="charliteral">'o'</span>)) +<a name="l00357"></a>00357 { +<a name="l00358"></a>00358 <span class="comment">/* Oper allows extension up to the OPERMAXCHANS value */</span> +<a name="l00359"></a>00359 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>.size() < OPERMAXCHANS) +<a name="l00360"></a>00360 { +<a name="l00361"></a>00361 <a class="code" href="classucrec.html">ucrec</a> a; +<a name="l00362"></a>00362 <a class="code" href="classchanrec.html">chanrec</a>* c = <a class="code" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">ForceChan</a>(Ptr,a,user,created); +<a name="l00363"></a>00363 user-><a class="code" href="classuserrec.html#chans">chans</a>.push_back(a); +<a name="l00364"></a>00364 <span class="keywordflow">return</span> c; +<a name="l00365"></a>00365 } +<a name="l00366"></a>00366 } +<a name="l00367"></a>00367 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"add_channel: user channel max exceeded: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,cname); +<a name="l00368"></a>00368 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"405 %s %s :You are on too many channels"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, cname); +<a name="l00369"></a>00369 <span class="keywordflow">return</span> NULL; +<a name="l00370"></a>00370 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29"></a><!-- doxytag: member="channels.h::del_channel" ref="del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29" args="(userrec *user, const char *cname, const char *reason, bool local)" --><p> +<table class="mdTable" 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="classchanrec.html">chanrec</a>* del_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>cname</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>reason</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>local</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00401">401</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan()</a>, <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, and <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00364">Server::PartUserFromChannel()</a>.<div class="fragment"><pre class="fragment"><a name="l00402"></a>00402 { +<a name="l00403"></a>00403 <span class="keywordflow">if</span> ((!user) || (!cname)) +<a name="l00404"></a>00404 { +<a name="l00405"></a>00405 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** del_channel was given an invalid parameter"</span>); +<a name="l00406"></a>00406 <span class="keywordflow">return</span> NULL; +<a name="l00407"></a>00407 } +<a name="l00408"></a>00408 +<a name="l00409"></a>00409 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(cname); +<a name="l00410"></a>00410 +<a name="l00411"></a>00411 <span class="keywordflow">if</span> (!Ptr) +<a name="l00412"></a>00412 <span class="keywordflow">return</span> NULL; +<a name="l00413"></a>00413 +<a name="l00414"></a>00414 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserPart(user,Ptr); +<a name="l00415"></a>00415 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: removing: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00416"></a>00416 +<a name="l00417"></a>00417 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00418"></a>00418 { +<a name="l00419"></a>00419 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00420"></a>00420 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel == Ptr) +<a name="l00421"></a>00421 { +<a name="l00422"></a>00422 <span class="keywordflow">if</span> (reason) +<a name="l00423"></a>00423 { +<a name="l00424"></a>00424 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART %s :%s"</span>,Ptr->name, reason); +<a name="l00425"></a>00425 } +<a name="l00426"></a>00426 <span class="keywordflow">else</span> +<a name="l00427"></a>00427 { +<a name="l00428"></a>00428 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,user,<span class="stringliteral">"PART :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00429"></a>00429 } +<a name="l00430"></a>00430 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00431"></a>00431 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00432"></a>00432 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00433"></a>00433 <span class="keywordflow">break</span>; +<a name="l00434"></a>00434 } +<a name="l00435"></a>00435 } +<a name="l00436"></a>00436 +<a name="l00437"></a>00437 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00438"></a>00438 +<a name="l00439"></a>00439 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00440"></a>00440 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00441"></a>00441 { +<a name="l00442"></a>00442 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00443"></a>00443 +<a name="l00444"></a>00444 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00445"></a>00445 +<a name="l00446"></a>00446 <span class="comment">/* kill the record */</span> +<a name="l00447"></a>00447 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00448"></a>00448 { +<a name="l00449"></a>00449 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00450"></a>00450 <span class="keyword">delete</span> Ptr; +<a name="l00451"></a>00451 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00452"></a>00452 } +<a name="l00453"></a>00453 } +<a name="l00454"></a>00454 +<a name="l00455"></a>00455 <span class="keywordflow">return</span> NULL; +<a name="l00456"></a>00456 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29"></a><!-- doxytag: member="channels.h::kick_channel" ref="kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29" args="(userrec *src, userrec *user, chanrec *Ptr, char *reason)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void kick_channel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>Ptr</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>reason</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="channels_8cpp-source.html#l00459">459</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00040">AC_KICK</a>, <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>, <a class="el" href="modules_8h-source.html#l00038">ACR_DENY</a>, <a class="el" href="channels_8cpp.html#chanlist">chanlist</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus()</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd__io_8h-source.html#l00030">DEFAULT</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>, <a class="el" href="modules_8h-source.html#l00089">FOREACH_RESULT</a>, <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>, <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="users_8h-source.html#l00153">userrec::server</a>, <a class="el" href="users_8h-source.html#l00030">STATUS_HOP</a>, <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>.<div class="fragment"><pre class="fragment"><a name="l00460"></a>00460 { +<a name="l00461"></a>00461 <span class="keywordflow">if</span> ((!src) || (!user) || (!Ptr) || (!reason)) +<a name="l00462"></a>00462 { +<a name="l00463"></a>00463 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a>,<span class="stringliteral">"*** BUG *** kick_channel was given an invalid parameter"</span>); +<a name="l00464"></a>00464 <span class="keywordflow">return</span>; +<a name="l00465"></a>00465 } +<a name="l00466"></a>00466 +<a name="l00467"></a>00467 <span class="keywordflow">if</span> ((!Ptr) || (!user) || (!src)) +<a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span>; +<a name="l00470"></a>00470 } +<a name="l00471"></a>00471 +<a name="l00472"></a>00472 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kick_channel: removing: %s %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00473"></a>00473 +<a name="l00474"></a>00474 <span class="keywordflow">if</span> (!<a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(user,Ptr)) +<a name="l00475"></a>00475 { +<a name="l00476"></a>00476 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"441 %s %s %s :They are not on that channel"</span>,src-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00477"></a>00477 <span class="keywordflow">return</span>; +<a name="l00478"></a>00478 } +<a name="l00479"></a>00479 +<a name="l00480"></a>00480 <span class="keywordtype">int</span> MOD_RESULT = 0; +<a name="l00481"></a>00481 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnAccessCheck(src,user,Ptr,<a class="code" href="modules_8h.html#AC_5FKICK">AC_KICK</a>)); +<a name="l00482"></a>00482 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDENY">ACR_DENY</a>) && (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00483"></a>00483 <span class="keywordflow">return</span>; +<a name="l00484"></a>00484 +<a name="l00485"></a>00485 <span class="keywordflow">if</span> ((MOD_RESULT == <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>) || (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>))) +<a name="l00486"></a>00486 { +<a name="l00487"></a>00487 <span class="keywordflow">if</span> ((<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) || (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) < <a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(user,Ptr))) +<a name="l00488"></a>00488 { +<a name="l00489"></a>00489 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(src,Ptr) == <a class="code" href="users_8h.html#STATUS_5FHOP">STATUS_HOP</a>) +<a name="l00490"></a>00490 { +<a name="l00491"></a>00491 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be a channel operator"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00492"></a>00492 } +<a name="l00493"></a>00493 <span class="keywordflow">else</span> +<a name="l00494"></a>00494 { +<a name="l00495"></a>00495 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(src->fd,<span class="stringliteral">"482 %s %s :You must be at least a half-operator to change modes on this channel"</span>,src->nick, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00496"></a>00496 } +<a name="l00497"></a>00497 +<a name="l00498"></a>00498 <span class="keywordflow">return</span>; +<a name="l00499"></a>00499 } +<a name="l00500"></a>00500 } +<a name="l00501"></a>00501 +<a name="l00502"></a>00502 <span class="keywordflow">if</span> (!<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(src-><a class="code" href="classuserrec.html#server">server</a>)) +<a name="l00503"></a>00503 { +<a name="l00504"></a>00504 MOD_RESULT = 0; +<a name="l00505"></a>00505 <a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">FOREACH_RESULT</a>(OnUserPreKick(src,user,Ptr,reason)); +<a name="l00506"></a>00506 <span class="keywordflow">if</span> (MOD_RESULT) +<a name="l00507"></a>00507 <span class="keywordflow">return</span>; +<a name="l00508"></a>00508 } +<a name="l00509"></a>00509 +<a name="l00510"></a>00510 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnUserKick(src,user,Ptr,reason); +<a name="l00511"></a>00511 +<a name="l00512"></a>00512 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i =0; i < user->chans.size(); i++) +<a name="l00513"></a>00513 { +<a name="l00514"></a>00514 <span class="comment">/* zap it from the channel list of the user */</span> +<a name="l00515"></a>00515 <span class="keywordflow">if</span> (user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel) +<a name="l00516"></a>00516 <span class="keywordflow">if</span> (!strcasecmp(user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)) +<a name="l00517"></a>00517 { +<a name="l00518"></a>00518 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Ptr,src,<span class="stringliteral">"KICK %s %s :%s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, reason); +<a name="l00519"></a>00519 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].uc_modes = 0; +<a name="l00520"></a>00520 user-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel = NULL; +<a name="l00521"></a>00521 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: unlinked: %s %s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00522"></a>00522 <span class="keywordflow">break</span>; +<a name="l00523"></a>00523 } +<a name="l00524"></a>00524 } +<a name="l00525"></a>00525 +<a name="l00526"></a>00526 Ptr-><a class="code" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>((<span class="keywordtype">char</span>*)user); +<a name="l00527"></a>00527 +<a name="l00528"></a>00528 <span class="comment">/* if there are no users left on the channel */</span> +<a name="l00529"></a>00529 <span class="keywordflow">if</span> (!usercount(Ptr)) +<a name="l00530"></a>00530 { +<a name="l00531"></a>00531 chan_hash::iterator iter = <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.find(Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00532"></a>00532 +<a name="l00533"></a>00533 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroying channel: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00534"></a>00534 +<a name="l00535"></a>00535 <span class="comment">/* kill the record */</span> +<a name="l00536"></a>00536 <span class="keywordflow">if</span> (iter != <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.end()) +<a name="l00537"></a>00537 { +<a name="l00538"></a>00538 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"del_channel: destroyed: %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00539"></a>00539 <span class="keyword">delete</span> Ptr; +<a name="l00540"></a>00540 <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>.erase(iter); +<a name="l00541"></a>00541 } +<a name="l00542"></a>00542 } +<a name="l00543"></a>00543 } +</pre></div> +<p> + </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/channels_8h__dep__incl.gif b/docs/module-doc/channels_8h__dep__incl.gif Binary files differindex c40f195d0..44faae19a 100644 --- a/docs/module-doc/channels_8h__dep__incl.gif +++ b/docs/module-doc/channels_8h__dep__incl.gif diff --git a/docs/module-doc/channels_8h__dep__incl.map b/docs/module-doc/channels_8h__dep__incl.map index 639a4ae08..51a68abc7 100644 --- a/docs/module-doc/channels_8h__dep__incl.map +++ b/docs/module-doc/channels_8h__dep__incl.map @@ -1,11 +1,10 @@ base referer -rect $users_8cpp-source.html 423,57 503,84 -rect $users_8h-source.html 144,260 208,287 -rect $commands_8h-source.html 261,57 360,84 -rect $message_8h-source.html 268,361 353,388 -rect $mode_8h-source.html 277,311 344,337 -rect $typedefs_8h-source.html 268,108 353,135 -rect $xline_8h-source.html 280,463 341,489 -rect $channels_8cpp-source.html 413,387 512,413 -rect $modules_8cpp-source.html 413,260 512,287 -rect $userprocess_8h-source.html 259,260 363,287 +rect $users_8cpp-source.html 407,83 487,109 +rect $users_8h-source.html 144,257 208,284 +rect $commands_8h-source.html 257,57 356,84 +rect $globals_8h-source.html 269,159 344,185 +rect $typedefs_8h-source.html 404,209 489,236 +rect $inspircd_8h-source.html 267,108 347,135 +rect $message_8h-source.html 264,311 349,337 +rect $mode_8h-source.html 273,361 340,388 +rect $xline_8h-source.html 276,463 337,489 diff --git a/docs/module-doc/channels_8h__dep__incl.md5 b/docs/module-doc/channels_8h__dep__incl.md5 index 344d252bc..7cdd2a07a 100644 --- a/docs/module-doc/channels_8h__dep__incl.md5 +++ b/docs/module-doc/channels_8h__dep__incl.md5 @@ -1 +1 @@ -e01fe683fcd4d4c38b8d4f6b57a6a4ae
\ No newline at end of file +c1ac9086e017050822f2734a737f9114
\ No newline at end of file diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 083cbdaba..03b44986f 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classAdmin.html#Name">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#Nick">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:47 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index a42bdad48..88d159fe1 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -81,7 +81,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00125">125</a> of <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>.<div class="fragment"><pre class="fragment"><a name="l00171"></a>00171 : <a class="code" href="classAdmin.html#Name">Name</a>(name), <a class="code" href="classAdmin.html#Email">Email</a>(email), <a class="code" href="classAdmin.html#Nick">Nick</a>(nick) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00163">163</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00163"></a>00163 : <a class="code" href="classAdmin.html#Name">Name</a>(name), <a class="code" href="classAdmin.html#Email">Email</a>(email), <a class="code" href="classAdmin.html#Nick">Nick</a>(nick) { }; </pre></div> <p> </td> @@ -165,7 +165,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00128">128</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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 69799a6c7..15d99bd40 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Wed Dec 14 15:55:47 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index a05193b22..f9270f2c0 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -28,9 +28,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <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> +Definition at line <a class="el" href="channels_8h-source.html#l00054">54</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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBoolSet-members.html b/docs/module-doc/classBoolSet-members.html index 3b044c3fe..b16f5c2bb 100644 --- a/docs/module-doc/classBoolSet-members.html +++ b/docs/module-doc/classBoolSet-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">operator|</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classBoolSet.html#Set_28int_20number_29">Set</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classBoolSet.html#Unset_28int_20number_29">Unset</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classBoolSet.html b/docs/module-doc/classBoolSet.html index 067b3beb3..dfeab1879 100644 --- a/docs/module-doc/classBoolSet.html +++ b/docs/module-doc/classBoolSet.html @@ -405,7 +405,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00106">106</a> of fi </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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 06a8d7d5d..02f31cdb0 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -24,7 +24,7 @@ <tr class="memlist"><td><a class="el" href="classConfigReader.html#Verify_28_29">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#_7Eclassbase_28_29">~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#_7EConfigReader_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 24e0048aa..706de5241 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -102,16 +102,16 @@ 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#l00739">739</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00740"></a>00740 { -<a name="l00741"></a>00741 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00742"></a>00742 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00743"></a>00743 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00744"></a>00744 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); -<a name="l00745"></a>00745 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00746"></a>00746 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00747"></a>00747 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00731">731</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00732"></a>00732 { +<a name="l00733"></a>00733 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00734"></a>00734 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00735"></a>00735 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00736"></a>00736 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); +<a name="l00737"></a>00737 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00738"></a>00738 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00739"></a>00739 } </pre></div> <p> </td> @@ -146,16 +146,16 @@ 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#l00759">759</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#l00751">751</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00760"></a>00760 { -<a name="l00761"></a>00761 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00762"></a>00762 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00763"></a>00763 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00764"></a>00764 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); -<a name="l00765"></a>00765 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00766"></a>00766 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00767"></a>00767 }; +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="classServerConfig.html#ClearStack_28_29">ServerConfig::ClearStack()</a>, <a class="el" href="modules_8h-source.html#l01520">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig::LoadConf()</a>, and <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00752"></a>00752 { +<a name="l00753"></a>00753 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00754"></a>00754 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00755"></a>00755 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00756"></a>00756 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); +<a name="l00757"></a>00757 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00758"></a>00758 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00759"></a>00759 }; </pre></div> <p> </td> @@ -189,14 +189,14 @@ Default destructor. <p> This method destroys the ConfigReader class. <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#l00742">742</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="modules_8h-source.html#l01538">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00751"></a>00751 { -<a name="l00752"></a>00752 <span class="keywordflow">if</span> (this->cache) -<a name="l00753"></a>00753 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; -<a name="l00754"></a>00754 <span class="keywordflow">if</span> (this->errorlog) -<a name="l00755"></a>00755 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; -<a name="l00756"></a>00756 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="modules_8h-source.html#l01538">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00743"></a>00743 { +<a name="l00744"></a>00744 <span class="keywordflow">if</span> (this->cache) +<a name="l00745"></a>00745 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; +<a name="l00746"></a>00746 <span class="keywordflow">if</span> (this->errorlog) +<a name="l00747"></a>00747 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; +<a name="l00748"></a>00748 } </pre></div> <p> </td> @@ -241,38 +241,38 @@ 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#l00838">838</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00839"></a>00839 { -<a name="l00840"></a>00840 <span class="keywordflow">if</span> (bail) -<a name="l00841"></a>00841 { -<a name="l00842"></a>00842 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); -<a name="l00843"></a>00843 exit(0); -<a name="l00844"></a>00844 } -<a name="l00845"></a>00845 <span class="keywordflow">else</span> -<a name="l00846"></a>00846 { -<a name="l00847"></a>00847 <span class="keywordtype">char</span> dataline[1024]; -<a name="l00848"></a>00848 <span class="keywordflow">if</span> (user) -<a name="l00849"></a>00849 { -<a name="l00850"></a>00850 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00851"></a>00851 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00852"></a>00852 { -<a name="l00853"></a>00853 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00854"></a>00854 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); -<a name="l00855"></a>00855 } -<a name="l00856"></a>00856 } -<a name="l00857"></a>00857 <span class="keywordflow">else</span> -<a name="l00858"></a>00858 { -<a name="l00859"></a>00859 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00860"></a>00860 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00861"></a>00861 { -<a name="l00862"></a>00862 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00863"></a>00863 WriteOpers(dataline); -<a name="l00864"></a>00864 } -<a name="l00865"></a>00865 } -<a name="l00866"></a>00866 <span class="keywordflow">return</span>; -<a name="l00867"></a>00867 } -<a name="l00868"></a>00868 } +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>. +<p> +References <a class="el" href="modules_8h-source.html#l01538">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers()</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>.<div class="fragment"><pre class="fragment"><a name="l00831"></a>00831 { +<a name="l00832"></a>00832 <span class="keywordflow">if</span> (bail) +<a name="l00833"></a>00833 { +<a name="l00834"></a>00834 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); +<a name="l00835"></a>00835 exit(0); +<a name="l00836"></a>00836 } +<a name="l00837"></a>00837 <span class="keywordflow">else</span> +<a name="l00838"></a>00838 { +<a name="l00839"></a>00839 <span class="keywordtype">char</span> dataline[1024]; +<a name="l00840"></a>00840 <span class="keywordflow">if</span> (user) +<a name="l00841"></a>00841 { +<a name="l00842"></a>00842 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00843"></a>00843 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00844"></a>00844 { +<a name="l00845"></a>00845 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00846"></a>00846 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); +<a name="l00847"></a>00847 } +<a name="l00848"></a>00848 } +<a name="l00849"></a>00849 <span class="keywordflow">else</span> +<a name="l00850"></a>00850 { +<a name="l00851"></a>00851 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00852"></a>00852 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00853"></a>00853 { +<a name="l00854"></a>00854 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00855"></a>00855 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(dataline); +<a name="l00856"></a>00856 } +<a name="l00857"></a>00857 } +<a name="l00858"></a>00858 <span class="keywordflow">return</span>; +<a name="l00859"></a>00859 } +<a name="l00860"></a>00860 } </pre></div> <p> </td> @@ -307,11 +307,11 @@ 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#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">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#l00871">871</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#l00863">863</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">ServerConfig::EnumConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00872"></a>00872 { -<a name="l00873"></a>00873 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); -<a name="l00874"></a>00874 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">ServerConfig::EnumConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00864"></a>00864 { +<a name="l00865"></a>00865 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); +<a name="l00866"></a>00866 } </pre></div> <p> </td> @@ -355,11 +355,11 @@ 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#l00876">876</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#l00868">868</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig::EnumValues()</a>.<div class="fragment"><pre class="fragment"><a name="l00877"></a>00877 { -<a name="l00878"></a>00878 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); -<a name="l00879"></a>00879 } +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, and <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig::EnumValues()</a>.<div class="fragment"><pre class="fragment"><a name="l00869"></a>00869 { +<a name="l00870"></a>00870 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); +<a name="l00871"></a>00871 } </pre></div> <p> </td> @@ -393,13 +393,13 @@ 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#GetError_28_29">GetError()</a> resets the error flag back to 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00831">831</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#l00823">823</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01542">error</a>.<div class="fragment"><pre class="fragment"><a name="l00832"></a>00832 { -<a name="l00833"></a>00833 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; -<a name="l00834"></a>00834 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; -<a name="l00835"></a>00835 <span class="keywordflow">return</span> olderr; -<a name="l00836"></a>00836 } +References <a class="el" href="modules_8h-source.html#l01542">error</a>.<div class="fragment"><pre class="fragment"><a name="l00824"></a>00824 { +<a name="l00825"></a>00825 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; +<a name="l00826"></a>00826 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; +<a name="l00827"></a>00827 <span class="keywordflow">return</span> olderr; +<a name="l00828"></a>00828 } </pre></div> <p> </td> @@ -449,23 +449,23 @@ 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#l00785">785</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00786"></a>00786 { -<a name="l00787"></a>00787 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00788"></a>00788 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00789"></a>00789 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00790"></a>00790 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00791"></a>00791 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00792"></a>00792 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00793"></a>00793 <span class="keywordflow">if</span> (!res) -<a name="l00794"></a>00794 { -<a name="l00795"></a>00795 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00796"></a>00796 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00797"></a>00797 } -<a name="l00798"></a>00798 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; -<a name="l00799"></a>00799 <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>)); -<a name="l00800"></a>00800 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00777">777</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00778"></a>00778 { +<a name="l00779"></a>00779 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00780"></a>00780 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00781"></a>00781 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00782"></a>00782 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00783"></a>00783 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00784"></a>00784 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00785"></a>00785 <span class="keywordflow">if</span> (!res) +<a name="l00786"></a>00786 { +<a name="l00787"></a>00787 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00788"></a>00788 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00789"></a>00789 } +<a name="l00790"></a>00790 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; +<a name="l00791"></a>00791 <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>)); +<a name="l00792"></a>00792 } </pre></div> <p> </td> @@ -521,35 +521,35 @@ 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#GetError_28_29">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#GetError_28_29">GetError()</a> will return CONF_NOT_UNSIGNED <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00802">802</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01517">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01518">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00803"></a>00803 { -<a name="l00804"></a>00804 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00805"></a>00805 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00806"></a>00806 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00807"></a>00807 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00808"></a>00808 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00809"></a>00809 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00810"></a>00810 <span class="keywordflow">if</span> (!res) -<a name="l00811"></a>00811 { -<a name="l00812"></a>00812 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00813"></a>00813 <span class="keywordflow">return</span> 0; +Definition at line <a class="el" href="modules_8cpp-source.html#l00794">794</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01517">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01518">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00795"></a>00795 { +<a name="l00796"></a>00796 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00797"></a>00797 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00798"></a>00798 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00799"></a>00799 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00800"></a>00800 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00801"></a>00801 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00802"></a>00802 <span class="keywordflow">if</span> (!res) +<a name="l00803"></a>00803 { +<a name="l00804"></a>00804 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00805"></a>00805 <span class="keywordflow">return</span> 0; +<a name="l00806"></a>00806 } +<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00808"></a>00808 { +<a name="l00809"></a>00809 <span class="keywordflow">if</span> (!isdigit(val[i])) +<a name="l00810"></a>00810 { +<a name="l00811"></a>00811 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; +<a name="l00812"></a>00812 <span class="keywordflow">return</span> 0; +<a name="l00813"></a>00813 } <a name="l00814"></a>00814 } -<a name="l00815"></a>00815 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00815"></a>00815 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) <a name="l00816"></a>00816 { -<a name="l00817"></a>00817 <span class="keywordflow">if</span> (!isdigit(val[i])) -<a name="l00818"></a>00818 { -<a name="l00819"></a>00819 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; -<a name="l00820"></a>00820 <span class="keywordflow">return</span> 0; -<a name="l00821"></a>00821 } -<a name="l00822"></a>00822 } -<a name="l00823"></a>00823 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -<a name="l00824"></a>00824 { -<a name="l00825"></a>00825 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; -<a name="l00826"></a>00826 <span class="keywordflow">return</span> 0; -<a name="l00827"></a>00827 } -<a name="l00828"></a>00828 <span class="keywordflow">return</span> atoi(val); -<a name="l00829"></a>00829 } +<a name="l00817"></a>00817 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; +<a name="l00818"></a>00818 <span class="keywordflow">return</span> 0; +<a name="l00819"></a>00819 } +<a name="l00820"></a>00820 <span class="keywordflow">return</span> atoi(val); +<a name="l00821"></a>00821 } </pre></div> <p> </td> @@ -599,22 +599,22 @@ 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#l00769">769</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00770"></a>00770 { -<a name="l00771"></a>00771 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00772"></a>00772 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00773"></a>00773 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00774"></a>00774 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00775"></a>00775 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00776"></a>00776 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00777"></a>00777 <span class="keywordflow">if</span> (!res) -<a name="l00778"></a>00778 { -<a name="l00779"></a>00779 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00780"></a>00780 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00781"></a>00781 } -<a name="l00782"></a>00782 <span class="keywordflow">return</span> val; -<a name="l00783"></a>00783 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00761">761</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01537">cache</a>, <a class="el" href="modules_8h-source.html#l01519">CONF_VALUE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01542">error</a>, and <a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ServerConfig::ReadConf()</a>.<div class="fragment"><pre class="fragment"><a name="l00762"></a>00762 { +<a name="l00763"></a>00763 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00764"></a>00764 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00765"></a>00765 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00766"></a>00766 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00767"></a>00767 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00768"></a>00768 <span class="keywordtype">int</span> res = <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00769"></a>00769 <span class="keywordflow">if</span> (!res) +<a name="l00770"></a>00770 { +<a name="l00771"></a>00771 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00772"></a>00772 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00773"></a>00773 } +<a name="l00774"></a>00774 <span class="keywordflow">return</span> val; +<a name="l00775"></a>00775 } </pre></div> <p> </td> @@ -648,11 +648,11 @@ 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#l00881">881</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#l00873">873</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00882"></a>00882 { -<a name="l00883"></a>00883 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; -<a name="l00884"></a>00884 } +References <a class="el" href="modules_8h-source.html#l01541">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00874"></a>00874 { +<a name="l00875"></a>00875 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00876"></a>00876 } </pre></div> <p> </td> @@ -685,7 +685,7 @@ It will contain a pointer to the configuration file data with unneeded data (suc <p> Definition at line <a class="el" href="modules_8h-source.html#l01537">1537</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#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00871">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00876">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00785">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00769">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00750">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00863">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00868">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00777">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00794">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00761">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00742">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="error"></a><!-- doxytag: member="ConfigReader::error" ref="error" args="" --><p> @@ -712,7 +712,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01542">1542</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#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00831">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00785">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00769">ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00823">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00777">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00794">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00761">ReadValue()</a>. </td> </tr> </table> <a class="anchor" name="errorlog"></a><!-- doxytag: member="ConfigReader::errorlog" ref="errorlog" args="" --><p> @@ -739,7 +739,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader( <p> Definition at line <a class="el" href="modules_8h-source.html#l01538">1538</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#l00739">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00838">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00750">~ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00830">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00742">~ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="readerror"></a><!-- doxytag: member="ConfigReader::readerror" ref="readerror" args="" --><p> @@ -768,12 +768,12 @@ Used to store errors. <p> Definition at line <a class="el" href="modules_8h-source.html#l01541">1541</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#l00739">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00881">Verify()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00873">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 8526cd42f..fd25f56cd 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -19,7 +19,7 @@ <tr class="memlist"><td><a class="el" href="classConnectClass.html#threshold">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#type">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index eca316bed..a10520294 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -363,7 +363,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00053">53</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index a42729e56..efde00a13 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -36,7 +36,7 @@ <tr class="memlist"><td><a class="el" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">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#t">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#_7EDNS_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index 8e6422155..18811cb34 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -961,7 +961,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00041">41</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index 059ffbd77..bfb550091 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index 0e6a9d2bb..dd3975c00 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -59,7 +59,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00093">93</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html index 38fa1817c..e23790a4c 100644 --- a/docs/module-doc/classEvent-members.html +++ b/docs/module-doc/classEvent-members.html @@ -18,7 +18,7 @@ <tr class="memlist"><td><a class="el" href="classEvent.html#source">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html index 345726b9e..a7c7ae246 100644 --- a/docs/module-doc/classEvent.html +++ b/docs/module-doc/classEvent.html @@ -102,7 +102,7 @@ Create a new Event. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00202">202</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00202"></a>00202 : <a class="code" href="classEvent.html#data">data</a>(anydata), <a class="code" href="classEvent.html#source">source</a>(src), <a class="code" href="classEvent.html#id">id</a>(eventid) { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00194"></a>00194 : <a class="code" href="classEvent.html#data">data</a>(anydata), <a class="code" href="classEvent.html#source">source</a>(src), <a class="code" href="classEvent.html#id">id</a>(eventid) { }; </pre></div> <p> </td> @@ -137,11 +137,11 @@ Get the Event data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00204">204</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_8h-source.html#l00202">data</a>.<div class="fragment"><pre class="fragment"><a name="l00205"></a>00205 { -<a name="l00206"></a>00206 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; -<a name="l00207"></a>00207 } +References <a class="el" href="modules_8h-source.html#l00202">data</a>.<div class="fragment"><pre class="fragment"><a name="l00197"></a>00197 { +<a name="l00198"></a>00198 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; +<a name="l00199"></a>00199 } </pre></div> <p> </td> @@ -175,11 +175,11 @@ 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#l00220">220</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#l00212">212</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00211">id</a>.<div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 { -<a name="l00222"></a>00222 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; -<a name="l00223"></a>00223 } +References <a class="el" href="modules_8h-source.html#l00211">id</a>.<div class="fragment"><pre class="fragment"><a name="l00213"></a>00213 { +<a name="l00214"></a>00214 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; +<a name="l00215"></a>00215 } </pre></div> <p> </td> @@ -213,11 +213,11 @@ Get the event Source. <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#l00201">201</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00206">source</a>.<div class="fragment"><pre class="fragment"><a name="l00210"></a>00210 { -<a name="l00211"></a>00211 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; -<a name="l00212"></a>00212 } +References <a class="el" href="modules_8h-source.html#l00206">source</a>.<div class="fragment"><pre class="fragment"><a name="l00202"></a>00202 { +<a name="l00203"></a>00203 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; +<a name="l00204"></a>00204 } </pre></div> <p> </td> @@ -253,12 +253,12 @@ The return result of an <a class="el" href="classEvent.html#Send_28_29">Event::S <p> Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00214">214</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#l00206">206</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00215"></a>00215 { -<a name="l00216"></a>00216 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -<a name="l00217"></a>00217 <span class="keywordflow">return</span> NULL; -<a name="l00218"></a>00218 } +References <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00207"></a>00207 { +<a name="l00208"></a>00208 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +<a name="l00209"></a>00209 <span class="keywordflow">return</span> NULL; +<a name="l00210"></a>00210 } </pre></div> <p> </td> @@ -291,7 +291,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#l00202">202</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#l00204">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00196">GetData()</a>. </td> </tr> </table> <a class="anchor" name="id"></a><!-- doxytag: member="Event::id" ref="id" args="" --><p> @@ -320,7 +320,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#l00211">211</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#l00220">GetEventID()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00212">GetEventID()</a>. </td> </tr> </table> <a class="anchor" name="source"></a><!-- doxytag: member="Event::source" ref="source" args="" --><p> @@ -349,12 +349,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#l00206">206</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#l00209">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00201">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index 19c71af5a..e84efb986 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 7e9604702..8f2f1172d 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -28,9 +28,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <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> +Definition at line <a class="el" href="channels_8h-source.html#l00062">62</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 256a367de..b93cebf62 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classExtMode.html#params_5Fwhen_5Fon">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#type">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index b884de563..a270f0099 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -258,7 +258,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00240">240</a> of </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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index 605569d09..89894749f 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque< std::string > &list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 981e24c9d..8b4cc47e6 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -236,7 +236,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00055">55</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 59000b532..92dd85ddd 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">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#_7Eclassbase_28_29">~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#_7EFileReader_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 68ee50110..a0eff7f08 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -43,7 +43,7 @@ Inheritance diagram for FileReader:<p><center><img src="classFileReader__inherit <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the file in lines. <a href="#FileSize_28_29"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileReader.html#fc">fc</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileReader.html#fc">fc</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> @@ -82,8 +82,8 @@ 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#l00894">894</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00895"></a>00895 { -<a name="l00896"></a>00896 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00886">886</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00887"></a>00887 { +<a name="l00888"></a>00888 } </pre></div> <p> </td> @@ -118,13 +118,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00887">887</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#l00879">879</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00888"></a>00888 { -<a name="l00889"></a>00889 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00890"></a>00890 readfile(c,filename.c_str()); -<a name="l00891"></a>00891 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00892"></a>00892 } +References <a class="el" href="modules_8h-source.html#l01620">fc</a>, and <a class="el" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile()</a>.<div class="fragment"><pre class="fragment"><a name="l00880"></a>00880 { +<a name="l00881"></a>00881 <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00882"></a>00882 <a class="code" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a>(c,filename.c_str()); +<a name="l00883"></a>00883 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00884"></a>00884 } </pre></div> <p> </td> @@ -158,8 +158,8 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00906">906</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00907"></a>00907 { -<a name="l00908"></a>00908 } +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>.<div class="fragment"><pre class="fragment"><a name="l00899"></a>00899 { +<a name="l00900"></a>00900 } </pre></div> <p> </td> @@ -194,18 +194,18 @@ 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#l00910">910</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00911"></a>00911 { -<a name="l00912"></a>00912 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) -<a name="l00913"></a>00913 { -<a name="l00914"></a>00914 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -<a name="l00915"></a>00915 } -<a name="l00916"></a>00916 <span class="keywordflow">else</span> -<a name="l00917"></a>00917 { -<a name="l00918"></a>00918 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -<a name="l00919"></a>00919 } -<a name="l00920"></a>00920 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00902">902</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00903"></a>00903 { +<a name="l00904"></a>00904 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) +<a name="l00905"></a>00905 { +<a name="l00906"></a>00906 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +<a name="l00907"></a>00907 } +<a name="l00908"></a>00908 <span class="keywordflow">else</span> +<a name="l00909"></a>00909 { +<a name="l00910"></a>00910 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +<a name="l00911"></a>00911 } +<a name="l00912"></a>00912 } </pre></div> <p> </td> @@ -239,11 +239,11 @@ 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#l00929">929</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#l00921">921</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00930"></a>00930 { -<a name="l00931"></a>00931 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); -<a name="l00932"></a>00932 } +References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00922"></a>00922 { +<a name="l00923"></a>00923 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); +<a name="l00924"></a>00924 } </pre></div> <p> </td> @@ -278,13 +278,13 @@ 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#l00922">922</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#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#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00923"></a>00923 { -<a name="l00924"></a>00924 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) -<a name="l00925"></a>00925 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00926"></a>00926 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; -<a name="l00927"></a>00927 } +References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00915"></a>00915 { +<a name="l00916"></a>00916 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) +<a name="l00917"></a>00917 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00918"></a>00918 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; +<a name="l00919"></a>00919 } </pre></div> <p> </td> @@ -319,13 +319,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0. <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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00890">890</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00899"></a>00899 { -<a name="l00900"></a>00900 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00901"></a>00901 readfile(c,filename.c_str()); -<a name="l00902"></a>00902 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00903"></a>00903 } +References <a class="el" href="modules_8h-source.html#l01620">fc</a>, and <a class="el" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile()</a>.<div class="fragment"><pre class="fragment"><a name="l00891"></a>00891 { +<a name="l00892"></a>00892 <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00893"></a>00893 <a class="code" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a>(c,filename.c_str()); +<a name="l00894"></a>00894 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00895"></a>00895 } </pre></div> <p> </td> @@ -338,7 +338,7 @@ References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class= <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classFileReader.html#fc">FileReader::fc</a><code> [private]</code> </td> + <td class="md" nowrap valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classFileReader.html#fc">FileReader::fc</a><code> [private]</code> </td> </tr> </table> </td> @@ -356,12 +356,12 @@ References <a class="el" href="modules_8h-source.html#l01620">fc</a>.<div class= <p> Definition at line <a class="el" href="modules_8h-source.html#l01620">1620</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#l00910">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00887">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00929">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00922">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00898">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00902">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00879">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00921">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00914">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00890">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index 43c9572d7..19fa8dab8 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index dbc12a0c4..27a583304 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -62,7 +62,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00084">84</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 0c1672c7b..074136932 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 068f139c1..571b45330 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -43,7 +43,7 @@ This class contains a single element in a channel list, such as a banlist. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00036">36</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00038">38</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="HostItem_28_29"></a><!-- doxytag: member="HostItem::HostItem" ref="HostItem_28_29" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -70,7 +70,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00036">36</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00043">43</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00043"></a>00043 { <span class="comment">/* stub */</span> } +Definition at line <a class="el" href="channels_8h-source.html#l00045">45</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00045"></a>00045 { <span class="comment">/* stub */</span> } </pre></div> <p> </td> @@ -102,7 +102,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00043">43</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00044">44</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00044"></a>00044 { <span class="comment">/* stub */</span> } +Definition at line <a class="el" href="channels_8h-source.html#l00046">46</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00046"></a>00046 { <span class="comment">/* stub */</span> } </pre></div> <p> </td> @@ -131,7 +131,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00044">44</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00043">43</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="set_5Fby_5BNICKMAX_5D"></a><!-- doxytag: member="HostItem::set_by" ref="set_5Fby_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -156,7 +156,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00040">40</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00042">42</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> </tr> </table> <a class="anchor" name="set_5Ftime"></a><!-- doxytag: member="HostItem::set_time" ref="set_5Ftime" args="" --><p> @@ -181,12 +181,12 @@ Definition at line <a class="el" href="channels_8h-source.html#l00040">40</a> of <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00039">39</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00041">41</a> of file <a class="el" href="channels_8h-source.html">channels.h</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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInspIRCd-members.html b/docs/module-doc/classInspIRCd-members.html new file mode 100644 index 000000000..876bc4066 --- /dev/null +++ b/docs/module-doc/classInspIRCd-members.html @@ -0,0 +1,20 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 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.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>InspIRCd Member List</h1>This is the complete list of members for <a class="el" href="classInspIRCd.html">InspIRCd</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#erase_5Ffactory_28int_20j_29">erase_factory</a>(int j)</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#erase_5Fmodule_28int_20j_29">erase_module</a>(int j)</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td><code> [private]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29">InspIRCd</a>(int argc, char **argv)</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#LoadModule_28const_20char_20_2Afilename_29">LoadModule</a>(const char *filename)</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#Run_28_29">Run</a>()</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#startup_5Ftime">startup_time</a></td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classInspIRCd.html#UnloadModule_28const_20char_20_2Afilename_29">UnloadModule</a>(const char *filename)</td><td><a class="el" href="classInspIRCd.html">InspIRCd</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classInspIRCd.html b/docs/module-doc/classInspIRCd.html new file mode 100644 index 000000000..227dd7f1b --- /dev/null +++ b/docs/module-doc/classInspIRCd.html @@ -0,0 +1,246 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: InspIRCd Class Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>InspIRCd Class Reference</h1><!-- doxytag: class="InspIRCd" --><code>#include <<a class="el" href="inspircd_8h-source.html">inspircd.h</a>></code> +<p> +Collaboration diagram for InspIRCd:<p><center><img src="classInspIRCd__coll__graph.gif" border="0" usemap="#InspIRCd__coll__map" alt="Collaboration graph"></center> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classInspIRCd-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="classInspIRCd.html#LoadModule_28const_20char_20_2Afilename_29">LoadModule</a> (const char *filename)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#UnloadModule_28const_20char_20_2Afilename_29">UnloadModule</a> (const char *filename)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29">InspIRCd</a> (int argc, char **argv)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#Run_28_29">Run</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#startup_5Ftime">startup_time</a></td></tr> + +<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#erase_5Ffactory_28int_20j_29">erase_factory</a> (int j)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html#erase_5Fmodule_28int_20j_29">erase_module</a> (int j)</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00095">95</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29"></a><!-- doxytag: member="InspIRCd::InspIRCd" ref="InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29" args="(int argc, char **argv)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">InspIRCd::InspIRCd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>argc</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char ** </td> + <td class="mdname" nowrap> <em>argv</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="erase_5Ffactory_28int_20j_29"></a><!-- doxytag: member="InspIRCd::erase_factory" ref="erase_5Ffactory_28int_20j_29" args="(int j)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void InspIRCd::erase_factory </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>j</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="erase_5Fmodule_28int_20j_29"></a><!-- doxytag: member="InspIRCd::erase_module" ref="erase_5Fmodule_28int_20j_29" args="(int j)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void InspIRCd::erase_module </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>j</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="LoadModule_28const_20char_20_2Afilename_29"></a><!-- doxytag: member="InspIRCd::LoadModule" ref="LoadModule_28const_20char_20_2Afilename_29" args="(const char *filename)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool InspIRCd::LoadModule </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>filename</em> </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> +<a class="anchor" name="Run_28_29"></a><!-- doxytag: member="InspIRCd::Run" ref="Run_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int InspIRCd::Run </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> +<a class="anchor" name="UnloadModule_28const_20char_20_2Afilename_29"></a><!-- doxytag: member="InspIRCd::UnloadModule" ref="UnloadModule_28const_20char_20_2Afilename_29" args="(const char *filename)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool InspIRCd::UnloadModule </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>filename</em> </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><h2>Member Data Documentation</h2> +<a class="anchor" name="startup_5Ftime"></a><!-- doxytag: member="InspIRCd::startup_time" ref="startup_5Ftime" args="" --><p> +<table class="mdTable" 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="classInspIRCd.html#startup_5Ftime">InspIRCd::startup_time</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00103">103</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="inspircd_8h-source.html">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classInspIRCd__coll__graph.gif b/docs/module-doc/classInspIRCd__coll__graph.gif Binary files differnew file mode 100644 index 000000000..43cef99ee --- /dev/null +++ b/docs/module-doc/classInspIRCd__coll__graph.gif diff --git a/docs/module-doc/classInspIRCd__coll__graph.map b/docs/module-doc/classInspIRCd__coll__graph.map new file mode 100644 index 000000000..5a14779e7 --- /dev/null +++ b/docs/module-doc/classInspIRCd__coll__graph.map @@ -0,0 +1 @@ +base referer diff --git a/docs/module-doc/classInspIRCd__coll__graph.md5 b/docs/module-doc/classInspIRCd__coll__graph.md5 new file mode 100644 index 000000000..a144ffcc9 --- /dev/null +++ b/docs/module-doc/classInspIRCd__coll__graph.md5 @@ -0,0 +1 @@ +b3dafd7c4d84a4bd0d14f723f37928d7
\ No newline at end of file diff --git a/docs/module-doc/classInspSocket-members.html b/docs/module-doc/classInspSocket-members.html index 16d215b62..4636f9f16 100644 --- a/docs/module-doc/classInspSocket-members.html +++ b/docs/module-doc/classInspSocket-members.html @@ -39,7 +39,7 @@ <tr class="memlist"><td><a class="el" href="classInspSocket.html#timeout_5Fend">timeout_end</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a>(std::string data)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInspSocket.html b/docs/module-doc/classInspSocket.html index 7118cc2c1..17e451bec 100644 --- a/docs/module-doc/classInspSocket.html +++ b/docs/module-doc/classInspSocket.html @@ -273,25 +273,25 @@ This constructor is used to create a new socket, either listening for connection <p> Definition at line <a class="el" href="socket_8cpp-source.html#l00062">62</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socket_8h-source.html#l00078">addr</a>, <a class="el" href="socket_8h-source.html#l00084">addy</a>, <a class="el" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00141">Close()</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00054">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00113">IP</a>, <a class="el" href="socket_8cpp-source.html#l00265">OnError()</a>, <a class="el" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket()</a>, <a class="el" href="socket_8h-source.html#l00072">state</a>, <a class="el" href="socket_8h-source.html#l00097">timeout</a>, <a class="el" href="socket_8h-source.html#l00091">timeout_end</a>, and <a class="el" href="socketengine_8h-source.html#l00044">X_ESTAB_MODULE</a>.<div class="fragment"><pre class="fragment"><a name="l00063"></a>00063 { +References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socket_8h-source.html#l00078">addr</a>, <a class="el" href="socket_8h-source.html#l00084">addy</a>, <a class="el" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00141">Close()</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="inspircd_8h-source.html#l00049">ERROR</a>, <a class="el" href="socket_8h-source.html#l00054">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00113">IP</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="socket_8cpp-source.html#l00265">OnError()</a>, <a class="el" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket()</a>, <a class="el" href="socket_8h-source.html#l00072">state</a>, <a class="el" href="socket_8h-source.html#l00097">timeout</a>, <a class="el" href="socket_8h-source.html#l00091">timeout_end</a>, and <a class="el" href="socketengine_8h-source.html#l00044">X_ESTAB_MODULE</a>.<div class="fragment"><pre class="fragment"><a name="l00063"></a>00063 { <a name="l00064"></a>00064 <span class="keywordflow">if</span> (listening) { -<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a>()) == ERROR) +<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a>()) == <a class="code" href="inspircd_8h.html#ERROR">ERROR</a>) <a name="l00066"></a>00066 { <a name="l00067"></a>00067 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; <a name="l00068"></a>00068 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; <a name="l00069"></a>00069 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00070"></a>00070 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); +<a name="l00070"></a>00070 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); <a name="l00071"></a>00071 <span class="keywordflow">return</span>; <a name="l00072"></a>00072 } <a name="l00073"></a>00073 <span class="keywordflow">else</span> <a name="l00074"></a>00074 { -<a name="l00075"></a>00075 <span class="keywordflow">if</span> (<a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a>(this->fd,this->client,this->server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == ERROR) +<a name="l00075"></a>00075 <span class="keywordflow">if</span> (<a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a>(this->fd,this->client,this->server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == <a class="code" href="inspircd_8h.html#ERROR">ERROR</a>) <a name="l00076"></a>00076 { <a name="l00077"></a>00077 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); <a name="l00078"></a>00078 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; <a name="l00079"></a>00079 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; <a name="l00080"></a>00080 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); -<a name="l00081"></a>00081 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); +<a name="l00081"></a>00081 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); <a name="l00082"></a>00082 <span class="keywordflow">return</span>; <a name="l00083"></a>00083 } <a name="l00084"></a>00084 <span class="keywordflow">else</span> @@ -299,7 +299,7 @@ References <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngin <a name="l00086"></a>00086 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; <a name="l00087"></a>00087 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); <a name="l00088"></a>00088 <a class="code" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">socket_ref</a>[this-><a class="code" href="classInspSocket.html#fd">fd</a>] = <span class="keyword">this</span>; -<a name="l00089"></a>00089 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); +<a name="l00089"></a>00089 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); <a name="l00090"></a>00090 <span class="keywordflow">return</span>; <a name="l00091"></a>00091 } <a name="l00092"></a>00092 } @@ -919,7 +919,7 @@ Reads all pending bytes from the socket into a char* array which can be up to 16 <p> Definition at line <a class="el" href="socket_8cpp-source.html#l00158">158</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00106">ibuf</a>.<div class="fragment"><pre class="fragment"><a name="l00159"></a>00159 { +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00106">ibuf</a>, and <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>.<div class="fragment"><pre class="fragment"><a name="l00159"></a>00159 { <a name="l00160"></a>00160 <span class="keywordtype">int</span> n = recv(this->fd,this->ibuf,<span class="keyword">sizeof</span>(this->ibuf),0); <a name="l00161"></a>00161 <span class="keywordflow">if</span> (n > 0) <a name="l00162"></a>00162 { @@ -928,7 +928,7 @@ References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, an <a name="l00165"></a>00165 } <a name="l00166"></a>00166 <span class="keywordflow">else</span> <a name="l00167"></a>00167 { -<a name="l00168"></a>00168 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); +<a name="l00168"></a>00168 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); <a name="l00169"></a>00169 <span class="keywordflow">return</span> NULL; <a name="l00170"></a>00170 } <a name="l00171"></a>00171 } @@ -968,10 +968,10 @@ The core uses this to change socket states, and you should not call it directly. <p> Definition at line <a class="el" href="socket_8cpp-source.html#l00248">248</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00072">state</a>. +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, and <a class="el" href="socket_8h-source.html#l00072">state</a>. <p> Referenced by <a class="el" href="socket_8cpp-source.html#l00217">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { -<a name="l00250"></a>00250 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); +<a name="l00250"></a>00250 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); <a name="l00251"></a>00251 this-><a class="code" href="classInspSocket.html#state">state</a> = s; <a name="l00252"></a>00252 } </pre></div> @@ -1465,7 +1465,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket()</ </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="socket_8h-source.html">socket.h</a><li><a class="el" href="socket_8cpp-source.html">socket.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 2baba93c3..e9103c7a6 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classHostItem.html#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Wed Dec 14 15:55:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index ffdb356d1..37047e6ea 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -28,9 +28,9 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h <p> <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> +Definition at line <a class="el" href="channels_8h-source.html#l00070">70</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 Wed Dec 14 15:55:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index a96f81b00..0c8bc01f9 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -10,7 +10,7 @@ <tr class="memlist"><td><a class="el" href="classInvited.html#channel_5BCHANMAX_5D">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#classbase_28_29">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 311975774..9e1c20016 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -59,7 +59,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00115">userrec::Invite </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 Wed Dec 14 15:55:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index 81ea4c30e..0e58ade78 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index 967be95a3..17fa151f0 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -62,7 +62,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00073">73</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 Wed Dec 14 15:55:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index 83b9cd56f..67ec13862 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModeParameter.html#mode">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#parameter_5BMAXBUF_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:49 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index 1504087e2..1a7c0e835 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -35,7 +35,7 @@ for +L this would hold the channel name. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Member Data Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00079">79</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Member Data Documentation</h2> <a class="anchor" name="channel_5BCHANMAX_5D"></a><!-- doxytag: member="ModeParameter::channel" ref="channel_5BCHANMAX_5D" args="[CHANMAX]" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -58,9 +58,9 @@ Definition at line <a class="el" href="channels_8h-source.html#l00077">77</a> of <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00084">84</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#l00110">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00111">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a class="anchor" name="mode"></a><!-- doxytag: member="ModeParameter::mode" ref="mode" args="" --><p> @@ -85,9 +85,9 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00110">chanrec::Set <p> <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>. +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#l00110">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00111">chanrec::SetCustomModeParam()</a>. </td> </tr> </table> <a class="anchor" name="parameter_5BMAXBUF_5D"></a><!-- doxytag: member="ModeParameter::parameter" ref="parameter_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -112,14 +112,14 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00110">chanrec::Set <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00083">83</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#l00110">chanrec::SetCustomModeParam()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00111">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 Wed Dec 14 15:55:49 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 6afedb7df..08dcca923 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -89,7 +89,7 @@ <tr class="memlist"><td><a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">ProtoSendMode</a>(void *opaque, int target_type, void *target, std::string modeline)</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#_7Eclassbase_28_29">~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#_7EModule_28_29">~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 Wed Dec 14 15:55:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index da8947364..07293e12f 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -5,7 +5,7 @@ </head><body> <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<h1>Module Class Reference</h1><!-- doxytag: class="Module" --><!-- doxytag: inherits="classbase" -->Base class for all InspIRCd modules This class is the base class for InspIRCd modules. +<h1>Module Class Reference</h1><!-- doxytag: class="Module" --><!-- doxytag: inherits="classbase" -->Base class for all <a class="el" href="classInspIRCd.html">InspIRCd</a> modules This class is the base class for <a class="el" href="classInspIRCd.html">InspIRCd</a> modules. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="modules_8h-source.html">modules.h</a>></code> @@ -261,7 +261,7 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph. <tr><td class="mdescLeft"> </td><td class="mdescRight">Called immediately before any read() operation on a client socket in the core. <a href="#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> -Base class for all InspIRCd modules This class is the base class for InspIRCd modules. +Base class for all <a class="el" href="classInspIRCd.html">InspIRCd</a> modules This class is the base class for <a class="el" href="classInspIRCd.html">InspIRCd</a> modules. <p> All modules must inherit from this class, its methods will be called when irc server events occur. class inherited from module must be instantiated by the <a class="el" href="classModuleFactory.html">ModuleFactory</a> class (see relevent section) for the plugin to be initialised. <p> @@ -302,7 +302,7 @@ Default constructor Creates a module class. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00228">228</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00228"></a>00228 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00220">220</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00220"></a>00220 { } </pre></div> <p> </td> @@ -336,7 +336,7 @@ Default destructor destroys a module class. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00229">229</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00229"></a>00229 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00221">221</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 { } </pre></div> <p> </td> @@ -371,9 +371,9 @@ 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#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version::Version</a> <p> -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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00232">232</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00053">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } +References <a class="el" href="modules_8h-source.html#l00053">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); } </pre></div> <p> </td> @@ -413,7 +413,7 @@ The module should modify the 005 numeric if needed to indicate its features. <dl </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00250">250</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00250"></a>00250 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 { }; </pre></div> <p> </td> @@ -488,9 +488,9 @@ This function is called before many functions which check a users status on a ch </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00249">249</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#l00241">241</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>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; +References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<div class="fragment"><pre class="fragment"><a name="l00241"></a>00241 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; </pre></div> <p> </td> @@ -548,7 +548,7 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being <dl compact><dt><b>Returns:</b></dt><dd>1 to block the ban, 0 to continue as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00275"></a>00275 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00267">267</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00267"></a>00267 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -612,7 +612,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00301"></a>00301 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00293"></a>00293 { }; </pre></div> <p> </td> @@ -676,7 +676,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00297"></a>00297 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00289">289</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 { }; </pre></div> <p> </td> @@ -740,7 +740,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00299"></a>00299 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00291">291</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00291"></a>00291 { }; </pre></div> <p> </td> @@ -804,7 +804,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00292">292</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00292"></a>00292 { }; </pre></div> <p> </td> @@ -868,7 +868,7 @@ This method is triggered after the line is added. <dl compact><dt><b>Parameters: </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00298"></a>00298 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00290">290</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00290"></a>00290 { }; </pre></div> <p> </td> @@ -908,7 +908,7 @@ This timer can be used to control timed features. Its period is not accurate eno </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00254">254</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00254"></a>00254 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 { }; </pre></div> <p> </td> @@ -958,7 +958,7 @@ This event triggers after the host has been set. <dl compact><dt><b>Parameters:< </dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00295"></a>00295 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00287"></a>00287 { }; </pre></div> <p> </td> @@ -1009,7 +1009,7 @@ return 1 to deny the name change, or 0 to allow it. <dl compact><dt><b>Parameter <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the GECOS change, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00268">268</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00268"></a>00268 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00260">260</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1060,7 +1060,7 @@ Return 1 to deny the host change, or 0 to allow it. <dl compact><dt><b>Parameter <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the host change, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00267">267</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00267"></a>00267 { <span class="keywordflow">return</span> 0; }; +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>.<div class="fragment"><pre class="fragment"><a name="l00259"></a>00259 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1110,7 +1110,7 @@ This event triggers after the name has been set. <dl compact><dt><b>Parameters:< </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00296"></a>00296 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00288"></a>00288 { }; </pre></div> <p> </td> @@ -1161,7 +1161,7 @@ This method will always be called for each join, wether or not the user actually <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00265">265</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00265"></a>00265 { <span class="keywordflow">return</span> 0; }; +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>.<div class="fragment"><pre class="fragment"><a name="l00257"></a>00257 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1212,7 +1212,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00262">262</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00262"></a>00262 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00254">254</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00254"></a>00254 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1269,7 +1269,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00263">263</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00263"></a>00263 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00255">255</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1320,7 +1320,7 @@ This method will always be called for each join, wether or not the channel is ac <dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00264">264</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00264"></a>00264 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00256">256</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00256"></a>00256 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1361,7 +1361,7 @@ For example a module which implements ident lookups will continue to return fals <dl compact><dt><b>Returns:</b></dt><dd>true to indicate readiness, false if otherwise</dd></dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00257"></a>00257 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00249">249</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; </pre></div> <p> </td> @@ -1411,7 +1411,7 @@ This method is called once for every user and channel on the network, so that wh </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00307"></a>00307 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00299"></a>00299 { }; </pre></div> <p> </td> @@ -1475,7 +1475,7 @@ Please see src/modules/m_swhois.cpp for a working example of how to use this met </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00292">292</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00292"></a>00292 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00284">284</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00284"></a>00284 { }; </pre></div> <p> </td> @@ -1533,7 +1533,7 @@ Return a non-zero value to 'eat' the mode change and prevent the ban from being <dl compact><dt><b>Returns:</b></dt><dd>1 to block the unban, 0 to continue as normal</dd></dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00276"></a>00276 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00268">268</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00268"></a>00268 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -1583,7 +1583,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00306"></a>00306 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00298"></a>00298 { }; </pre></div> <p> </td> @@ -1633,7 +1633,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00302"></a>00302 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 { }; </pre></div> <p> </td> @@ -1683,7 +1683,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00304"></a>00304 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00296"></a>00296 { }; </pre></div> <p> </td> @@ -1733,7 +1733,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00305"></a>00305 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00297"></a>00297 { }; </pre></div> <p> </td> @@ -1783,7 +1783,7 @@ This method is triggered after the line is deleted. <dl compact><dt><b>Parameter </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00303"></a>00303 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00295"></a>00295 { }; </pre></div> <p> </td> @@ -1823,7 +1823,7 @@ Please see the documentation of <a class="el" href="classEvent.html#Send_28_29"> </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00270">270</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00270"></a>00270 { <span class="keywordflow">return</span>; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00262">262</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00262"></a>00262 { <span class="keywordflow">return</span>; }; </pre></div> <p> </td> @@ -1901,7 +1901,7 @@ The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00238"></a>00238 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +Definition at line <a class="el" href="modules_8cpp-source.html#l00230">230</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00230"></a>00230 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </pre></div> <p> </td> @@ -1951,7 +1951,7 @@ You may change or define the description given in <a class="el" href="namespacei </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00286">286</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00286"></a>00286 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00278">278</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00278"></a>00278 { }; </pre></div> <p> </td> @@ -1991,7 +1991,7 @@ This event is informational only. You should not change any user information in </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00274">274</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00274"></a>00274 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00266">266</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00266"></a>00266 { }; </pre></div> <p> </td> @@ -2031,7 +2031,7 @@ You cannot override this and prevent it from happening as it is already happened </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00273">273</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00273"></a>00273 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00265">265</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00265"></a>00265 { }; </pre></div> <p> </td> @@ -2073,7 +2073,7 @@ The userrec will contain the information of the user who typed the command. Modu </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00234"></a>00234 { }; </pre></div> <p> </td> @@ -2131,7 +2131,7 @@ If a client is killed by a server, e.g. a nickname collision or protocol error, <dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kill, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00251">251</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00243">243</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00243"></a>00243 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2181,7 +2181,7 @@ mod will contain a pointer to the module, and string will contain its name, for </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00252"></a>00252 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00244">244</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00244"></a>00244 { }; </pre></div> <p> </td> @@ -2239,7 +2239,7 @@ Return 1 to deny the topic change, or 0 to allow it. <dl compact><dt><b>Paramete </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00269"></a>00269 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00261">261</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00261"></a>00261 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2303,7 +2303,7 @@ The text variable contains the remainder of the mode string after the target, e. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00239">239</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00239"></a>00239 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00231">231</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00231"></a>00231 { }; </pre></div> <p> </td> @@ -2353,7 +2353,7 @@ The userrec will contain the oper mode 'o' as this function is called after any </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00241">241</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00241"></a>00241 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00233">233</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00233"></a>00233 { }; </pre></div> <p> </td> @@ -2404,7 +2404,7 @@ The password field (from the config file) is in 'password' and is to be compared <dl compact><dt><b>Returns:</b></dt><dd>1 to match the passwords, 0 to do nothing</dd></dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00272"></a>00272 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00264">264</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00264"></a>00264 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2461,7 +2461,7 @@ To block topic changes you must use OnLocalTopicChange instead. <dl compact><dt> </dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00285"></a>00285 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00277">277</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00277"></a>00277 { }; </pre></div> <p> </td> @@ -2526,7 +2526,7 @@ This event occurs for all registered commands, wether they are registered in the <dl compact><dt><b>Returns:</b></dt><dd>1 to block the command, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00256">256</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00256"></a>00256 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00248">248</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2605,7 +2605,7 @@ Return 1 from this function to block the mode character from being processed ent <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the mode, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00261">261</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00261"></a>00261 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00253">253</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00253"></a>00253 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2662,7 +2662,7 @@ This is intended for raw socket processing (e.g. modules which wrap the tcp conn </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00277">277</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00277"></a>00277 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00269"></a>00269 { }; </pre></div> <p> </td> @@ -2702,7 +2702,7 @@ When this event is called, shutdown() has not yet been called on the socket. <dl </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00279">279</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00279"></a>00279 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00271"></a>00271 { }; </pre></div> <p> </td> @@ -2767,7 +2767,7 @@ This occurs AFTER the select() or poll() so there is always data waiting to be r <dl compact><dt><b>Returns:</b></dt><dd>nonzero if the event was handled, in which case readresult must be valid on exit</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00280">280</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00280"></a>00280 { <span class="keywordflow">return</span> 0; }; +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>.<div class="fragment"><pre class="fragment"><a name="l00272"></a>00272 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2825,7 +2825,7 @@ Because this event is a low level event no user information is associated with i <dl compact><dt><b>Returns:</b></dt><dd>Number of characters actually written or 0 if you didn't handle the operation</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00278">278</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00278"></a>00278 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00270">270</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00270"></a>00270 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -2865,7 +2865,7 @@ This method is called prior to a /REHASH or when a SIGHUP is received from the o </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00235">235</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00235"></a>00235 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00227">227</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00227"></a>00227 { } </pre></div> <p> </td> @@ -2922,7 +2922,7 @@ Called when an oper wants to disconnect a remote user via KILL. </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00283"></a>00283 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00275"></a>00275 { }; </pre></div> <p> </td> @@ -2962,9 +2962,9 @@ Please see the documentation of <a class="el" href="classRequest.html#Send_28_29 </dl> <p> -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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00263">263</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#l00190">Request::Send()</a>.<div class="fragment"><pre class="fragment"><a name="l00271"></a>00271 { <span class="keywordflow">return</span> NULL; }; +Referenced by <a class="el" href="modules_8cpp-source.html#l00182">Request::Send()</a>.<div class="fragment"><pre class="fragment"><a name="l00263"></a>00263 { <span class="keywordflow">return</span> NULL; }; </pre></div> <p> </td> @@ -3021,7 +3021,7 @@ For example, when a /MODE channel +b (without any other parameters) is called, i </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00255">255</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00247"></a>00247 { }; </pre></div> <p> </td> @@ -3078,7 +3078,7 @@ This method is the lowest level of handler available to a module. It will be cal </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00236">236</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00236"></a>00236 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00228">228</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00228"></a>00228 { } </pre></div> <p> </td> @@ -3118,7 +3118,7 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00266">266</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00266"></a>00266 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00258"></a>00258 { }; </pre></div> <p> </td> @@ -3177,7 +3177,7 @@ For a good example of how to use this function, please see src/modules/m_chanpro </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00288"></a>00288 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00280">280</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00280"></a>00280 { }; </pre></div> <p> </td> @@ -3231,7 +3231,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00290">290</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00290"></a>00290 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00282">282</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00282"></a>00282 { }; </pre></div> <p> </td> @@ -3288,7 +3288,7 @@ When this function is called, it will be called from the module which implements </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00287"></a>00287 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00279">279</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00279"></a>00279 { }; </pre></div> <p> </td> @@ -3342,7 +3342,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00287">287</a> <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00291">291</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00291"></a>00291 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00283"></a>00283 { }; </pre></div> <p> </td> @@ -3392,7 +3392,7 @@ mod will contain a pointer to the module, and string will contain its name, for </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00253">253</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00253"></a>00253 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00245">245</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00245"></a>00245 { }; </pre></div> <p> </td> @@ -3432,7 +3432,7 @@ The details of the connecting user are available to you in the parameter userrec </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00230">230</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00230"></a>00230 { } +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>.<div class="fragment"><pre class="fragment"><a name="l00222"></a>00222 { } </pre></div> <p> </td> @@ -3472,7 +3472,7 @@ The details of the exiting user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00232">232</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00224">224</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00224"></a>00224 { } </pre></div> <p> </td> @@ -3529,7 +3529,7 @@ You cannot prevent the invite from occuring using this function, to do that, use </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00284">284</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00284"></a>00284 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00276"></a>00276 { }; </pre></div> <p> </td> @@ -3579,7 +3579,7 @@ The details of the joining user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00233">233</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00233"></a>00233 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00225">225</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00225"></a>00225 { } </pre></div> <p> </td> @@ -3643,7 +3643,7 @@ If this method is called, the kick is already underway and cannot be prevented, </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00260">260</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00252"></a>00252 { }; </pre></div> <p> </td> @@ -3707,7 +3707,7 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00281"></a>00281 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00273">273</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00273"></a>00273 { }; </pre></div> <p> </td> @@ -3771,7 +3771,7 @@ The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00282">282</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00282"></a>00282 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00274">274</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00274"></a>00274 { }; </pre></div> <p> </td> @@ -3821,7 +3821,7 @@ The details of the leaving user are available to you in the parameter userrec *u </dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00234"></a>00234 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00226">226</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00226"></a>00226 { } </pre></div> <p> </td> @@ -3871,7 +3871,7 @@ This can be used to track users after nickchanges have been applied. Please note </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00248">248</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 { }; </pre></div> <p> </td> @@ -3929,7 +3929,7 @@ Returning 1 from this function stops the process immediately, causing no output <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the invite, 0 to allow</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00244">244</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00244"></a>00244 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00236">236</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00236"></a>00236 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -3988,7 +3988,7 @@ If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be <dl compact><dt><b>Returns:</b></dt><dd>1 To prevent the join, 0 to allow it.</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00237">237</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00237"></a>00237 { <span class="keywordflow">return</span> 0; } +Definition at line <a class="el" href="modules_8cpp-source.html#l00229">229</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00229"></a>00229 { <span class="keywordflow">return</span> 0; } </pre></div> <p> </td> @@ -4053,7 +4053,7 @@ Returning a value of 1 from this function stops the process immediately, causing <dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kick, 0 to allow it</dd></dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00259"></a>00259 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00251">251</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4118,7 +4118,7 @@ Returning any nonzero value from this function stops the process immediately, ca <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00245">245</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00245"></a>00245 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00237">237</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00237"></a>00237 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4169,7 +4169,7 @@ This can be used to implement Q-lines etc. Please note that although you can see <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the change, 0 to allow</dd></dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00247"></a>00247 { <span class="keywordflow">return</span> 0; }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00239">239</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00239"></a>00239 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4234,7 +4234,7 @@ Returning any nonzero value from this function stops the process immediately, ca <dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl> <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>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 { <span class="keywordflow">return</span> 0; }; +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>.<div class="fragment"><pre class="fragment"><a name="l00238"></a>00238 { <span class="keywordflow">return</span> 0; }; </pre></div> <p> </td> @@ -4284,7 +4284,7 @@ The details of the exiting user are available to you in the parameter userrec *u </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00231">231</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00231"></a>00231 { } +Definition at line <a class="el" href="modules_8cpp-source.html#l00223">223</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00223"></a>00223 { } </pre></div> <p> </td> @@ -4324,7 +4324,7 @@ before the user is sent the MOTD etc). Modules can use this method if they are p </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00258"></a>00258 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00250">250</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00250"></a>00250 { }; </pre></div> <p> </td> @@ -4374,7 +4374,7 @@ Called after every WALLOPS command. </dl> <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00286">286</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00286"></a>00286 { }; </pre></div> <p> </td> @@ -4424,7 +4424,7 @@ The source parameter contains the details of the user who issued the WHOIS comma </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00243">243</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00243"></a>00243 { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00235">235</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00235"></a>00235 { }; </pre></div> <p> </td> @@ -4496,7 +4496,7 @@ More documentation to follow soon. Please see src/modules/m_swhois.cpp for examp </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00293"></a>00293 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00285"></a>00285 { }; </pre></div> <p> </td> @@ -4562,7 +4562,7 @@ More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for </dl> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00289">289</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 { }; +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>.<div class="fragment"><pre class="fragment"><a name="l00281"></a>00281 { }; </pre></div> <p> </td> @@ -4570,7 +4570,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00289">289</a> </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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 7525c56fc..afd2289f8 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -12,7 +12,7 @@ <tr class="memlist"><td><a class="el" href="classModuleFactory.html#ModuleFactory_28_29">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#_7Eclassbase_28_29">~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#_7EModuleFactory_28_29">~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 Wed Dec 14 15:55:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index b85431e98..95f29051f 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -134,7 +134,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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html index c6b0fe1f9..78b120d70 100644 --- a/docs/module-doc/classModuleMessage-members.html +++ b/docs/module-doc/classModuleMessage-members.html @@ -11,7 +11,7 @@ <tr class="memlist"><td><a class="el" href="classModuleMessage.html#Send_28_29_3D_30">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html index 314d2a5be..411534828 100644 --- a/docs/module-doc/classModuleMessage.html +++ b/docs/module-doc/classModuleMessage.html @@ -101,7 +101,7 @@ Implemented in <a class="el" href="classRequest.html#Send_28_29">Request</a>, an </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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index 943dc5c4e..bbdcd1341 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index e40dfe340..f867bb102 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -92,7 +92,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00119">119</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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html index 9db0d82ad..e031e42ba 100644 --- a/docs/module-doc/classRequest-members.html +++ b/docs/module-doc/classRequest-members.html @@ -18,7 +18,7 @@ <tr class="memlist"><td><a class="el" href="classRequest.html#source">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:50 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html index bab6382ae..2ccfadc1e 100644 --- a/docs/module-doc/classRequest.html +++ b/docs/module-doc/classRequest.html @@ -102,7 +102,7 @@ Create a new Request. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00173">173</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00173"></a>00173 : <a class="code" href="classRequest.html#data">data</a>(anydata), <a class="code" href="classRequest.html#source">source</a>(src), <a class="code" href="classRequest.html#dest">dest</a>(dst) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00165">165</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00165"></a>00165 : <a class="code" href="classRequest.html#data">data</a>(anydata), <a class="code" href="classRequest.html#source">source</a>(src), <a class="code" href="classRequest.html#dest">dest</a>(dst) { }; </pre></div> <p> </td> @@ -137,11 +137,11 @@ Fetch the Request data. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00175">175</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#l00167">167</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00162">data</a>.<div class="fragment"><pre class="fragment"><a name="l00176"></a>00176 { -<a name="l00177"></a>00177 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; -<a name="l00178"></a>00178 } +References <a class="el" href="modules_8h-source.html#l00162">data</a>.<div class="fragment"><pre class="fragment"><a name="l00168"></a>00168 { +<a name="l00169"></a>00169 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; +<a name="l00170"></a>00170 } </pre></div> <p> </td> @@ -175,11 +175,11 @@ Fetch the request destination (should be 'this' in the receiving module). <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>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00177">177</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l00169">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00186"></a>00186 { -<a name="l00187"></a>00187 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; -<a name="l00188"></a>00188 } +References <a class="el" href="modules_8h-source.html#l00169">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00178"></a>00178 { +<a name="l00179"></a>00179 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; +<a name="l00180"></a>00180 } </pre></div> <p> </td> @@ -213,11 +213,11 @@ Fetch the request source. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00180">180</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#l00172">172</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">source</a>.<div class="fragment"><pre class="fragment"><a name="l00181"></a>00181 { -<a name="l00182"></a>00182 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; -<a name="l00183"></a>00183 } +References <a class="el" href="modules_8h-source.html#l00166">source</a>.<div class="fragment"><pre class="fragment"><a name="l00173"></a>00173 { +<a name="l00174"></a>00174 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; +<a name="l00175"></a>00175 } </pre></div> <p> </td> @@ -253,18 +253,18 @@ Upon returning the result will be arbitary data returned by the module you sent <p> Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleMessage</a>. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00190">190</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l00169">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00271">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00191"></a>00191 { -<a name="l00192"></a>00192 <span class="keywordflow">if</span> (this->dest) -<a name="l00193"></a>00193 { -<a name="l00194"></a>00194 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); -<a name="l00195"></a>00195 } -<a name="l00196"></a>00196 <span class="keywordflow">else</span> -<a name="l00197"></a>00197 { -<a name="l00198"></a>00198 <span class="keywordflow">return</span> NULL; -<a name="l00199"></a>00199 } -<a name="l00200"></a>00200 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l00169">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00263">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00183"></a>00183 { +<a name="l00184"></a>00184 <span class="keywordflow">if</span> (this->dest) +<a name="l00185"></a>00185 { +<a name="l00186"></a>00186 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); +<a name="l00187"></a>00187 } +<a name="l00188"></a>00188 <span class="keywordflow">else</span> +<a name="l00189"></a>00189 { +<a name="l00190"></a>00190 <span class="keywordflow">return</span> NULL; +<a name="l00191"></a>00191 } +<a name="l00192"></a>00192 } </pre></div> <p> </td> @@ -297,7 +297,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#l00162">162</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#l00175">GetData()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00167">GetData()</a>. </td> </tr> </table> <a class="anchor" name="dest"></a><!-- doxytag: member="Request::dest" ref="dest" args="" --><p> @@ -326,7 +326,7 @@ The single destination of the Request. <p> Definition at line <a class="el" href="modules_8h-source.html#l00169">169</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#l00185">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00190">Send()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00177">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00182">Send()</a>. </td> </tr> </table> <a class="anchor" name="source"></a><!-- doxytag: member="Request::source" ref="source" args="" --><p> @@ -355,12 +355,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#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#l00180">GetSource()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00172">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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 20ed4fe2c..b099d44b0 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -68,7 +68,7 @@ <tr class="memlist"><td><a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">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#_7Eclassbase_28_29">~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#_7EServer_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 065d3386c..67c35d924 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -102,7 +102,7 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph. <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classServer.html#AddExtendedListMode_28char_20modechar_29">AddExtendedListMode</a> (char modechar)</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. <a href="#AddExtendedListMode_28char_20modechar_29"></a><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#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</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#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">AddCommand</a> (char *cmd, <a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> f, char flags, int minparams, char *source)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a command to the command table. <a href="#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29"></a><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#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> @@ -233,8 +233,8 @@ Default constructor. <p> Creates a Server object. <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00314"></a>00314 { -<a name="l00315"></a>00315 } +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>.<div class="fragment"><pre class="fragment"><a name="l00306"></a>00306 { +<a name="l00307"></a>00307 } </pre></div> <p> </td> @@ -268,8 +268,8 @@ Default destructor. <p> Destroys a Server object. <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00318"></a>00318 { -<a name="l00319"></a>00319 } +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>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 { +<a name="l00311"></a>00311 } </pre></div> <p> </td> @@ -290,7 +290,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> - <td class="md" nowrap>handlerfunc </td> + <td class="md" nowrap><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> </td> <td class="mdname" nowrap> <em>f</em>, </td> </tr> <tr> @@ -334,11 +334,11 @@ 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#handle_5Fkill_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">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#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#l00411">411</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00420"></a>00420 { -<a name="l00421"></a>00421 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); -<a name="l00422"></a>00422 } +References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00412"></a>00412 { +<a name="l00413"></a>00413 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); +<a name="l00414"></a>00414 } </pre></div> <p> </td> @@ -394,11 +394,11 @@ 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#CalcDuration_28std_3A_3Astring_20duration_29">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#l00663">663</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#l00655">655</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00664"></a>00664 { -<a name="l00665"></a>00665 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00666"></a>00666 } +References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00656"></a>00656 { +<a name="l00657"></a>00657 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00658"></a>00658 } </pre></div> <p> </td> @@ -436,16 +436,16 @@ This call is used to implement modes like +q and +a. The characteristics of thes (2) They always take exactly one parameter when being added or removed<p> (3) They can be set multiple times, usually on users in channels<p> (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. +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 <a class="el" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Server::Find</a> 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#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#l00579">579</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00152">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00588"></a>00588 { -<a name="l00589"></a>00589 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -<a name="l00590"></a>00590 <span class="keywordflow">if</span> (res) -<a name="l00591"></a>00591 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); -<a name="l00592"></a>00592 <span class="keywordflow">return</span> res; -<a name="l00593"></a>00593 } +References <a class="el" href="modules_8cpp-source.html#l00134">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00144">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00580"></a>00580 { +<a name="l00581"></a>00581 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +<a name="l00582"></a>00582 <span class="keywordflow">if</span> (res) +<a name="l00583"></a>00583 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); +<a name="l00584"></a>00584 <span class="keywordflow">return</span> res; +<a name="l00585"></a>00585 } </pre></div> <p> </td> @@ -507,34 +507,34 @@ 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#l00559">559</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00142">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>.<div class="fragment"><pre class="fragment"><a name="l00560"></a>00560 { -<a name="l00561"></a>00561 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -<a name="l00562"></a>00562 { -<a name="l00563"></a>00563 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) -<a name="l00564"></a>00564 { -<a name="l00565"></a>00565 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -<a name="l00566"></a>00566 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00567"></a>00567 } -<a name="l00568"></a>00568 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) -<a name="l00569"></a>00569 { -<a name="l00570"></a>00570 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -<a name="l00571"></a>00571 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00572"></a>00572 } -<a name="l00573"></a>00573 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -<a name="l00574"></a>00574 { -<a name="l00575"></a>00575 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -<a name="l00576"></a>00576 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00577"></a>00577 } -<a name="l00578"></a>00578 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -<a name="l00579"></a>00579 } -<a name="l00580"></a>00580 <span class="keywordflow">else</span> -<a name="l00581"></a>00581 { -<a name="l00582"></a>00582 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -<a name="l00583"></a>00583 } -<a name="l00584"></a>00584 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00585"></a>00585 } +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> +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00134">DoAddExtendedMode()</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</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>.<div class="fragment"><pre class="fragment"><a name="l00552"></a>00552 { +<a name="l00553"></a>00553 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +<a name="l00554"></a>00554 { +<a name="l00555"></a>00555 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) +<a name="l00556"></a>00556 { +<a name="l00557"></a>00557 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +<a name="l00558"></a>00558 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00559"></a>00559 } +<a name="l00560"></a>00560 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) +<a name="l00561"></a>00561 { +<a name="l00562"></a>00562 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +<a name="l00563"></a>00563 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00564"></a>00564 } +<a name="l00565"></a>00565 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +<a name="l00566"></a>00566 { +<a name="l00567"></a>00567 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +<a name="l00568"></a>00568 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00569"></a>00569 } +<a name="l00570"></a>00570 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +<a name="l00571"></a>00571 } +<a name="l00572"></a>00572 <span class="keywordflow">else</span> +<a name="l00573"></a>00573 { +<a name="l00574"></a>00574 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +<a name="l00575"></a>00575 } +<a name="l00576"></a>00576 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00577"></a>00577 } </pre></div> <p> </td> @@ -590,11 +590,11 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00643">643</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#l00635">635</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00644"></a>00644 { -<a name="l00645"></a>00645 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00646"></a>00646 } +References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00636"></a>00636 { +<a name="l00637"></a>00637 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00638"></a>00638 } </pre></div> <p> </td> @@ -650,11 +650,11 @@ 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#CalcDuration_28std_3A_3Astring_20duration_29">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#l00658">658</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#l00650">650</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00659"></a>00659 { -<a name="l00660"></a>00660 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00661"></a>00661 } +References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00651"></a>00651 { +<a name="l00652"></a>00652 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00653"></a>00653 } </pre></div> <p> </td> @@ -710,11 +710,11 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00648">648</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#l00640">640</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00649"></a>00649 { -<a name="l00650"></a>00650 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); -<a name="l00651"></a>00651 } +References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00641"></a>00641 { +<a name="l00642"></a>00642 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str()); +<a name="l00643"></a>00643 } </pre></div> <p> </td> @@ -749,11 +749,11 @@ Adds a class derived from <a class="el" href="classInspSocket.html">InspSocket</ <p> <p> -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>. +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> -References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00322"></a>00322 { -<a name="l00323"></a>00323 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); -<a name="l00324"></a>00324 } +References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00314"></a>00314 { +<a name="l00315"></a>00315 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); +<a name="l00316"></a>00316 } </pre></div> <p> </td> @@ -809,11 +809,11 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf <p> The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00653">653</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#l00645">645</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00654"></a>00654 { -<a name="l00655"></a>00655 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); -<a name="l00656"></a>00656 } +References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00646"></a>00646 { +<a name="l00647"></a>00647 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str()); +<a name="l00648"></a>00648 } </pre></div> <p> </td> @@ -848,11 +848,11 @@ 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#l00693">693</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#l00685">685</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00694"></a>00694 { -<a name="l00695"></a>00695 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); -<a name="l00696"></a>00696 } +References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00686"></a>00686 { +<a name="l00687"></a>00687 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); +<a name="l00688"></a>00688 } </pre></div> <p> </td> @@ -909,9 +909,11 @@ Calls the handler for a command, either implemented by the core or by another mo You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <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#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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#l00404">404</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00405"></a>00405 { -<a name="l00406"></a>00406 call_handler(commandname.c_str(),parameters,pcnt,user); -<a name="l00407"></a>00407 } +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>. +<p> +References <a class="el" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">call_handler()</a>.<div class="fragment"><pre class="fragment"><a name="l00397"></a>00397 { +<a name="l00398"></a>00398 <a class="code" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">call_handler</a>(commandname.c_str(),parameters,pcnt,user); +<a name="l00399"></a>00399 } </pre></div> <p> </td> @@ -955,11 +957,11 @@ 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#l00502">502</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#l00494">494</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00503"></a>00503 { -<a name="l00504"></a>00504 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); -<a name="l00505"></a>00505 } +References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00495"></a>00495 { +<a name="l00496"></a>00496 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); +<a name="l00497"></a>00497 } </pre></div> <p> </td> @@ -1003,11 +1005,11 @@ 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#l00497">497</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#l00489">489</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00498"></a>00498 { -<a name="l00499"></a>00499 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); -<a name="l00500"></a>00500 } +References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00490"></a>00490 { +<a name="l00491"></a>00491 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); +<a name="l00492"></a>00492 } </pre></div> <p> </td> @@ -1051,9 +1053,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#l00389">389</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00390"></a>00390 { -<a name="l00391"></a>00391 force_nickchange(user,nickname.c_str()); -<a name="l00392"></a>00392 } +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> +References <a class="el" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">force_nickchange()</a>.<div class="fragment"><pre class="fragment"><a name="l00382"></a>00382 { +<a name="l00383"></a>00383 <a class="code" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">force_nickchange</a>(user,nickname.c_str()); +<a name="l00384"></a>00384 } </pre></div> <p> </td> @@ -1097,11 +1101,11 @@ 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#l00527">527</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#l00519">519</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00528"></a>00528 { -<a name="l00529"></a>00529 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); -<a name="l00530"></a>00530 } +References <a class="el" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00520"></a>00520 { +<a name="l00521"></a>00521 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); +<a name="l00522"></a>00522 } </pre></div> <p> </td> @@ -1145,11 +1149,11 @@ 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#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a> method. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00475">475</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> -References <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00476"></a>00476 { -<a name="l00477"></a>00477 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); -<a name="l00478"></a>00478 } +References <a class="el" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span> (<a class="code" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); +<a name="l00470"></a>00470 } </pre></div> <p> </td> @@ -1184,9 +1188,9 @@ 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#l00595">595</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00596"></a>00596 { -<a name="l00597"></a>00597 <span class="keywordflow">return</span> usercount(c); -<a name="l00598"></a>00598 } +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>.<div class="fragment"><pre class="fragment"><a name="l00588"></a>00588 { +<a name="l00589"></a>00589 <span class="keywordflow">return</span> usercount(c); +<a name="l00590"></a>00590 } </pre></div> <p> </td> @@ -1221,11 +1225,11 @@ Deletes a local E-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00688">688</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#l00680">680</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00689"></a>00689 { -<a name="l00690"></a>00690 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); -<a name="l00691"></a>00691 } +References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00681"></a>00681 { +<a name="l00682"></a>00682 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); +<a name="l00683"></a>00683 } </pre></div> <p> </td> @@ -1260,11 +1264,11 @@ Deletes a G-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00668">668</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#l00660">660</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00669"></a>00669 { -<a name="l00670"></a>00670 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); -<a name="l00671"></a>00671 } +References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00661"></a>00661 { +<a name="l00662"></a>00662 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); +<a name="l00663"></a>00663 } </pre></div> <p> </td> @@ -1299,11 +1303,11 @@ Deletes a local K-Line. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00683">683</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#l00675">675</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00684"></a>00684 { -<a name="l00685"></a>00685 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); -<a name="l00686"></a>00686 } +References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00676"></a>00676 { +<a name="l00677"></a>00677 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); +<a name="l00678"></a>00678 } </pre></div> <p> </td> @@ -1338,11 +1342,11 @@ Deletes a Q-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00673">673</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#l00665">665</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00674"></a>00674 { -<a name="l00675"></a>00675 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); -<a name="l00676"></a>00676 } +References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00666"></a>00666 { +<a name="l00667"></a>00667 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); +<a name="l00668"></a>00668 } </pre></div> <p> </td> @@ -1377,18 +1381,18 @@ Deletes a class derived from <a class="el" href="classInspSocket.html">InspSocke <p> <p> -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>. +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> -References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00338"></a>00338 { -<a name="l00339"></a>00339 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) -<a name="l00340"></a>00340 { -<a name="l00341"></a>00341 <span class="keywordflow">if</span> (*a == sock) -<a name="l00342"></a>00342 { -<a name="l00343"></a>00343 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); -<a name="l00344"></a>00344 <span class="keywordflow">return</span>; -<a name="l00345"></a>00345 } -<a name="l00346"></a>00346 } -<a name="l00347"></a>00347 } +References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00330"></a>00330 { +<a name="l00331"></a>00331 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) +<a name="l00332"></a>00332 { +<a name="l00333"></a>00333 <span class="keywordflow">if</span> (*a == sock) +<a name="l00334"></a>00334 { +<a name="l00335"></a>00335 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); +<a name="l00336"></a>00336 <span class="keywordflow">return</span>; +<a name="l00337"></a>00337 } +<a name="l00338"></a>00338 } +<a name="l00339"></a>00339 } </pre></div> <p> </td> @@ -1423,11 +1427,11 @@ Deletes a Z-Line from all servers on the mesh. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00678">678</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#l00670">670</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00679"></a>00679 { -<a name="l00680"></a>00680 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); -<a name="l00681"></a>00681 } +References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00671"></a>00671 { +<a name="l00672"></a>00672 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); +<a name="l00673"></a>00673 } </pre></div> <p> </td> @@ -1462,9 +1466,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#l00522">522</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00523"></a>00523 { -<a name="l00524"></a>00524 <span class="keywordflow">return</span> FindChan(channel.c_str()); -<a name="l00525"></a>00525 } +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>. +<p> +References <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan()</a>.<div class="fragment"><pre class="fragment"><a name="l00515"></a>00515 { +<a name="l00516"></a>00516 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(channel.c_str()); +<a name="l00517"></a>00517 } </pre></div> <p> </td> @@ -1499,9 +1505,9 @@ 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#l00517">517</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00518"></a>00518 { -<a name="l00519"></a>00519 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); -<a name="l00520"></a>00520 } +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>.<div class="fragment"><pre class="fragment"><a name="l00510"></a>00510 { +<a name="l00511"></a>00511 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); +<a name="l00512"></a>00512 } </pre></div> <p> </td> @@ -1536,18 +1542,18 @@ 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#l00727">727</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8cpp-source.html#l00938">MODCOUNT</a>, <a class="el" href="inspircd__io_8h-source.html#l00247">ServerConfig::module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00728"></a>00728 { -<a name="l00729"></a>00729 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) -<a name="l00730"></a>00730 { -<a name="l00731"></a>00731 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#module_5Fnames">module_names</a>[i] == name) -<a name="l00732"></a>00732 { -<a name="l00733"></a>00733 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; -<a name="l00734"></a>00734 } -<a name="l00735"></a>00735 } -<a name="l00736"></a>00736 <span class="keywordflow">return</span> NULL; -<a name="l00737"></a>00737 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00719">719</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00930">MODCOUNT</a>, <a class="el" href="inspircd__io_8h-source.html#l00247">ServerConfig::module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00720"></a>00720 { +<a name="l00721"></a>00721 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) +<a name="l00722"></a>00722 { +<a name="l00723"></a>00723 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#module_5Fnames">module_names</a>[i] == name) +<a name="l00724"></a>00724 { +<a name="l00725"></a>00725 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; +<a name="l00726"></a>00726 } +<a name="l00727"></a>00727 } +<a name="l00728"></a>00728 <span class="keywordflow">return</span> NULL; +<a name="l00729"></a>00729 } </pre></div> <p> </td> @@ -1582,9 +1588,11 @@ 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#l00512">512</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00513"></a>00513 { -<a name="l00514"></a>00514 <span class="keywordflow">return</span> Find(nick); -<a name="l00515"></a>00515 } +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>. +<p> +References <a class="el" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Find()</a>.<div class="fragment"><pre class="fragment"><a name="l00505"></a>00505 { +<a name="l00506"></a>00506 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Find</a>(nick); +<a name="l00507"></a>00507 } </pre></div> <p> </td> @@ -1618,9 +1626,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#Nick">Admin::Nick</a>, <a class="el" href="classAdmin.html#Email">Admin::Email</a> and <a class="el" href="classAdmin.html#Name">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#l00552">552</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00553"></a>00553 { -<a name="l00554"></a>00554 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -<a name="l00555"></a>00555 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00544">544</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="inspircd__io_8h-source.html#l00089">ServerConfig::AdminEmail</a>, <a class="el" href="inspircd__io_8h-source.html#l00084">ServerConfig::AdminName</a>, and <a class="el" href="inspircd__io_8h-source.html#l00094">ServerConfig::AdminNick</a>.<div class="fragment"><pre class="fragment"><a name="l00545"></a>00545 { +<a name="l00546"></a>00546 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#AdminName_5BMAXBUF_5D">AdminName</a>,<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#AdminEmail_5BMAXBUF_5D">AdminEmail</a>,<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#AdminNick_5BMAXBUF_5D">AdminNick</a>); +<a name="l00547"></a>00547 } </pre></div> <p> </td> @@ -1654,9 +1664,9 @@ Obtains a pointer to the server's <a class="el" href="classServerConfig.html">Se <p> The <a class="el" href="classServerConfig.html">ServerConfig</a> object contains most of the configuration data of the IRC server, as read from the config file by the core. <p> -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>.<div class="fragment"><pre class="fragment"><a name="l00333"></a>00333 { -<a name="l00334"></a>00334 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>; -<a name="l00335"></a>00335 } +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>.<div class="fragment"><pre class="fragment"><a name="l00325"></a>00325 { +<a name="l00326"></a>00326 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>; +<a name="l00327"></a>00327 } </pre></div> <p> </td> @@ -1690,9 +1700,11 @@ Returns the network name, global to all linked servers. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00542">542</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00543"></a>00543 { -<a name="l00544"></a>00544 <span class="keywordflow">return</span> getnetworkname(); -<a name="l00545"></a>00545 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00534">534</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="inspircd__io_8h-source.html#l00074">ServerConfig::Network</a>.<div class="fragment"><pre class="fragment"><a name="l00535"></a>00535 { +<a name="l00536"></a>00536 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#Network_5BMAXBUF_5D">Network</a>; +<a name="l00537"></a>00537 } </pre></div> <p> </td> @@ -1726,9 +1738,11 @@ Returns the server description string of the local server. <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00547">547</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00548"></a>00548 { -<a name="l00549"></a>00549 <span class="keywordflow">return</span> getserverdesc(); -<a name="l00550"></a>00550 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00539">539</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="inspircd__io_8h-source.html#l00079">ServerConfig::ServerDesc</a>.<div class="fragment"><pre class="fragment"><a name="l00540"></a>00540 { +<a name="l00541"></a>00541 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a>; +<a name="l00542"></a>00542 } </pre></div> <p> </td> @@ -1762,9 +1776,11 @@ 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#l00537">537</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00538"></a>00538 { -<a name="l00539"></a>00539 <span class="keywordflow">return</span> getservername(); -<a name="l00540"></a>00540 } +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="inspircd__io_8h-source.html#l00068">ServerConfig::ServerName</a>.<div class="fragment"><pre class="fragment"><a name="l00530"></a>00530 { +<a name="l00531"></a>00531 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>; +<a name="l00532"></a>00532 } </pre></div> <p> </td> @@ -1799,19 +1815,19 @@ 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#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00186">chanrec::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00378"></a>00378 { -<a name="l00379"></a>00379 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; -<a name="l00380"></a>00380 userl.clear(); -<a name="l00381"></a>00381 std::vector<char*> *list = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); -<a name="l00382"></a>00382 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -<a name="l00383"></a>00383 { -<a name="l00384"></a>00384 <span class="keywordtype">char</span>* o = *i; -<a name="l00385"></a>00385 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -<a name="l00386"></a>00386 } -<a name="l00387"></a>00387 <span class="keywordflow">return</span> userl; -<a name="l00388"></a>00388 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00187">chanrec::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00370"></a>00370 { +<a name="l00371"></a>00371 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; +<a name="l00372"></a>00372 userl.clear(); +<a name="l00373"></a>00373 std::vector<char*> *list = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); +<a name="l00374"></a>00374 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +<a name="l00375"></a>00375 { +<a name="l00376"></a>00376 <span class="keywordtype">char</span>* o = *i; +<a name="l00377"></a>00377 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +<a name="l00378"></a>00378 } +<a name="l00379"></a>00379 <span class="keywordflow">return</span> userl; +<a name="l00380"></a>00380 } </pre></div> <p> </td> @@ -1846,11 +1862,11 @@ 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#l00507">507</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#l00499">499</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00508"></a>00508 { -<a name="l00509"></a>00509 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); -<a name="l00510"></a>00510 } +References <a class="el" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00500"></a>00500 { +<a name="l00501"></a>00501 <span class="keywordflow">return</span> (<a class="code" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); +<a name="l00502"></a>00502 } </pre></div> <p> </td> @@ -1894,11 +1910,11 @@ 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#l00532">532</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#l00524">524</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00533"></a>00533 { -<a name="l00534"></a>00534 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); -<a name="l00535"></a>00535 } +References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00525"></a>00525 { +<a name="l00526"></a>00526 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); +<a name="l00527"></a>00527 } </pre></div> <p> </td> @@ -1933,11 +1949,11 @@ 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#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#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00400"></a>00400 { -<a name="l00401"></a>00401 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); -<a name="l00402"></a>00402 } +References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00392"></a>00392 { +<a name="l00393"></a>00393 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); +<a name="l00394"></a>00394 } </pre></div> <p> </td> @@ -1972,33 +1988,33 @@ 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#l00698">698</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00699"></a>00699 { -<a name="l00700"></a>00700 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -<a name="l00701"></a>00701 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -<a name="l00702"></a>00702 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00703"></a>00703 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -<a name="l00704"></a>00704 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00705"></a>00705 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00706"></a>00706 <span class="keywordflow">if</span> (dest[i] < 32) -<a name="l00707"></a>00707 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00708"></a>00708 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00709"></a>00709 <span class="keywordflow">if</span> (dest[i] > 126) -<a name="l00710"></a>00710 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00711"></a>00711 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; -<a name="l00712"></a>00712 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00713"></a>00713 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -<a name="l00714"></a>00714 c++; -<a name="l00715"></a>00715 <span class="keywordflow">if</span> (c>1) -<a name="l00716"></a>00716 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00717"></a>00717 c = 0; -<a name="l00718"></a>00718 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00719"></a>00719 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -<a name="l00720"></a>00720 c++; -<a name="l00721"></a>00721 <span class="keywordflow">if</span> (c>1) -<a name="l00722"></a>00722 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00723"></a>00723 -<a name="l00724"></a>00724 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00725"></a>00725 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00690">690</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00691"></a>00691 { +<a name="l00692"></a>00692 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +<a name="l00693"></a>00693 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +<a name="l00694"></a>00694 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00695"></a>00695 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +<a name="l00696"></a>00696 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00697"></a>00697 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00698"></a>00698 <span class="keywordflow">if</span> (dest[i] < 32) +<a name="l00699"></a>00699 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00700"></a>00700 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00701"></a>00701 <span class="keywordflow">if</span> (dest[i] > 126) +<a name="l00702"></a>00702 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00703"></a>00703 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; +<a name="l00704"></a>00704 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00705"></a>00705 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +<a name="l00706"></a>00706 c++; +<a name="l00707"></a>00707 <span class="keywordflow">if</span> (c>1) +<a name="l00708"></a>00708 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00709"></a>00709 c = 0; +<a name="l00710"></a>00710 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00711"></a>00711 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +<a name="l00712"></a>00712 c++; +<a name="l00713"></a>00713 <span class="keywordflow">if</span> (c>1) +<a name="l00714"></a>00714 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00715"></a>00715 +<a name="l00716"></a>00716 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00717"></a>00717 } </pre></div> <p> </td> @@ -2046,9 +2062,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00698">698</a> <p> <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>.<div class="fragment"><pre class="fragment"><a name="l00410"></a>00410 { -<a name="l00411"></a>00411 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); -<a name="l00412"></a>00412 } +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>. +<p> +References <a class="el" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">is_valid_cmd()</a>.<div class="fragment"><pre class="fragment"><a name="l00402"></a>00402 { +<a name="l00403"></a>00403 <span class="keywordflow">return</span> <a class="code" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">is_valid_cmd</a>(commandname.c_str(), pcnt, user); +<a name="l00404"></a>00404 } </pre></div> <p> </td> @@ -2098,9 +2116,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#l00367">367</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00368"></a>00368 { -<a name="l00369"></a>00369 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -<a name="l00370"></a>00370 } +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> +References <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00360"></a>00360 { +<a name="l00361"></a>00361 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a>(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +<a name="l00362"></a>00362 } </pre></div> <p> </td> @@ -2144,9 +2164,11 @@ 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#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00415"></a>00415 { -<a name="l00416"></a>00416 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00417"></a>00417 } +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>. +<p> +References <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>.<div class="fragment"><pre class="fragment"><a name="l00407"></a>00407 { +<a name="l00408"></a>00408 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(level,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00409"></a>00409 } </pre></div> <p> </td> @@ -2190,12 +2212,12 @@ 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#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00355"></a>00355 { -<a name="l00356"></a>00356 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -<a name="l00357"></a>00357 strlcpy(literal,sliteral.c_str(),MAXBUF); -<a name="l00358"></a>00358 strlcpy(pattern,spattern.c_str(),MAXBUF); -<a name="l00359"></a>00359 <span class="keywordflow">return</span> match(literal,pattern); -<a name="l00360"></a>00360 } +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>.<div class="fragment"><pre class="fragment"><a name="l00347"></a>00347 { +<a name="l00348"></a>00348 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +<a name="l00349"></a>00349 strlcpy(literal,sliteral.c_str(),MAXBUF); +<a name="l00350"></a>00350 strlcpy(pattern,spattern.c_str(),MAXBUF); +<a name="l00351"></a>00351 <span class="keywordflow">return</span> match(literal,pattern); +<a name="l00352"></a>00352 } </pre></div> <p> </td> @@ -2245,9 +2267,11 @@ 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#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00373"></a>00373 { -<a name="l00374"></a>00374 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -<a name="l00375"></a>00375 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00365"></a>00365 { +<a name="l00366"></a>00366 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a>(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +<a name="l00367"></a>00367 } </pre></div> <p> </td> @@ -2297,36 +2321,36 @@ 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#l00613">613</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00232">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">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>.<div class="fragment"><pre class="fragment"><a name="l00614"></a>00614 { -<a name="l00615"></a>00615 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00616"></a>00616 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00617"></a>00617 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00618"></a>00618 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00619"></a>00619 kill_link(alive,message.c_str()); -<a name="l00620"></a>00620 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; -<a name="l00621"></a>00621 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < zombie->chans.size(); i++) -<a name="l00622"></a>00622 { -<a name="l00623"></a>00623 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel != NULL) -<a name="l00624"></a>00624 { -<a name="l00625"></a>00625 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name) -<a name="l00626"></a>00626 { -<a name="l00627"></a>00627 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel; -<a name="l00628"></a>00628 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00629"></a>00629 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) -<a name="l00630"></a>00630 { -<a name="l00631"></a>00631 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); -<a name="l00632"></a>00632 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); -<a name="l00633"></a>00633 } -<a name="l00634"></a>00634 userlist(zombie,Ptr); -<a name="l00635"></a>00635 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00636"></a>00636 -<a name="l00637"></a>00637 } -<a name="l00638"></a>00638 } -<a name="l00639"></a>00639 } -<a name="l00640"></a>00640 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00641"></a>00641 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00605">605</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00232">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, <a class="el" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link()</a>, <a class="el" href="channels_8h-source.html#l00108">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00133">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00122">chanrec::topic</a>, <a class="el" href="channels_8h-source.html#l00129">chanrec::topicset</a>, <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write()</a>, <a class="el" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom()</a>, and <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>.<div class="fragment"><pre class="fragment"><a name="l00606"></a>00606 { +<a name="l00607"></a>00607 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00608"></a>00608 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00609"></a>00609 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00610"></a>00610 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00611"></a>00611 <a class="code" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a>(alive,message.c_str()); +<a name="l00612"></a>00612 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; +<a name="l00613"></a>00613 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < zombie->chans.size(); i++) +<a name="l00614"></a>00614 { +<a name="l00615"></a>00615 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel != NULL) +<a name="l00616"></a>00616 { +<a name="l00617"></a>00617 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name) +<a name="l00618"></a>00618 { +<a name="l00619"></a>00619 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel; +<a name="l00620"></a>00620 <a class="code" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00621"></a>00621 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00622"></a>00622 { +<a name="l00623"></a>00623 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00624"></a>00624 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00625"></a>00625 } +<a name="l00626"></a>00626 userlist(zombie,Ptr); +<a name="l00627"></a>00627 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00628"></a>00628 +<a name="l00629"></a>00629 } +<a name="l00630"></a>00630 } +<a name="l00631"></a>00631 } +<a name="l00632"></a>00632 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00633"></a>00633 } </pre></div> <p> </td> @@ -2372,9 +2396,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#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00395"></a>00395 { -<a name="l00396"></a>00396 kill_link(user,reason.c_str()); -<a name="l00397"></a>00397 } +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> +References <a class="el" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link()</a>.<div class="fragment"><pre class="fragment"><a name="l00387"></a>00387 { +<a name="l00388"></a>00388 <a class="code" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a>(user,reason.c_str()); +<a name="l00389"></a>00389 } </pre></div> <p> </td> @@ -2406,12 +2432,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00394">394</a> <p> <p> -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>. +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="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">ServerConfig::Read()</a>.<div class="fragment"><pre class="fragment"><a name="l00327"></a>00327 { -<a name="l00328"></a>00328 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); -<a name="l00329"></a>00329 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keyword">false</span>,NULL); -<a name="l00330"></a>00330 } +References <a class="el" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">ServerConfig::Read()</a>, and <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers()</a>.<div class="fragment"><pre class="fragment"><a name="l00319"></a>00319 { +<a name="l00320"></a>00320 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** Rehashing config file"</span>); +<a name="l00321"></a>00321 <a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keyword">false</span>,NULL); +<a name="l00322"></a>00322 } </pre></div> <p> </td> @@ -2455,9 +2481,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#l00429">429</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00430"></a>00430 { -<a name="l00431"></a>00431 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00432"></a>00432 } +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>. +<p> +References <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write()</a>.<div class="fragment"><pre class="fragment"><a name="l00422"></a>00422 { +<a name="l00423"></a>00423 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00424"></a>00424 } </pre></div> <p> </td> @@ -2513,16 +2541,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#l00463">463</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00464"></a>00464 { -<a name="l00465"></a>00465 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00466"></a>00466 { -<a name="l00467"></a>00467 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00468"></a>00468 } -<a name="l00469"></a>00469 <span class="keywordflow">else</span> -<a name="l00470"></a>00470 { -<a name="l00471"></a>00471 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00472"></a>00472 } -<a name="l00473"></a>00473 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00455">455</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">ChanExceptSender()</a>, and <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel()</a>.<div class="fragment"><pre class="fragment"><a name="l00456"></a>00456 { +<a name="l00457"></a>00457 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00458"></a>00458 { +<a name="l00459"></a>00459 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00460"></a>00460 } +<a name="l00461"></a>00461 <span class="keywordflow">else</span> +<a name="l00462"></a>00462 { +<a name="l00463"></a>00463 <a class="code" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">ChanExceptSender</a>(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00464"></a>00464 } +<a name="l00465"></a>00465 } </pre></div> <p> </td> @@ -2572,9 +2602,9 @@ 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#l00458">458</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00459"></a>00459 { -<a name="l00460"></a>00460 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -<a name="l00461"></a>00461 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00450">450</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00451"></a>00451 { +<a name="l00452"></a>00452 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +<a name="l00453"></a>00453 } </pre></div> <p> </td> @@ -2624,16 +2654,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#l00480">480</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00481"></a>00481 { -<a name="l00482"></a>00482 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00483"></a>00483 { -<a name="l00484"></a>00484 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00485"></a>00485 } -<a name="l00486"></a>00486 <span class="keywordflow">else</span> -<a name="l00487"></a>00487 { -<a name="l00488"></a>00488 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00489"></a>00489 } -<a name="l00490"></a>00490 } +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> +References <a class="el" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommon()</a>, and <a class="el" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommonExcept()</a>.<div class="fragment"><pre class="fragment"><a name="l00473"></a>00473 { +<a name="l00474"></a>00474 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00475"></a>00475 { +<a name="l00476"></a>00476 <a class="code" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommon</a>(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00477"></a>00477 } +<a name="l00478"></a>00478 <span class="keywordflow">else</span> +<a name="l00479"></a>00479 { +<a name="l00480"></a>00480 <a class="code" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommonExcept</a>(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00481"></a>00481 } +<a name="l00482"></a>00482 } </pre></div> <p> </td> @@ -2683,9 +2715,11 @@ 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#l00439">439</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00440"></a>00440 { -<a name="l00441"></a>00441 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00442"></a>00442 } +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>. +<p> +References <a class="el" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom()</a>.<div class="fragment"><pre class="fragment"><a name="l00432"></a>00432 { +<a name="l00433"></a>00433 <a class="code" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a>(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00434"></a>00434 } </pre></div> <p> </td> @@ -2742,11 +2776,11 @@ 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#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#l00416">416</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00425"></a>00425 { -<a name="l00426"></a>00426 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); -<a name="l00427"></a>00427 } +References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00417"></a>00417 { +<a name="l00418"></a>00418 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); +<a name="l00419"></a>00419 } </pre></div> <p> </td> @@ -2781,9 +2815,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#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00350"></a>00350 { -<a name="l00351"></a>00351 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00352"></a>00352 } +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> +References <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers()</a>.<div class="fragment"><pre class="fragment"><a name="l00342"></a>00342 { +<a name="l00343"></a>00343 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00344"></a>00344 } </pre></div> <p> </td> @@ -2827,9 +2863,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#l00434">434</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00435"></a>00435 { -<a name="l00436"></a>00436 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00437"></a>00437 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00426">426</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ()</a>.<div class="fragment"><pre class="fragment"><a name="l00427"></a>00427 { +<a name="l00428"></a>00428 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00429"></a>00429 } </pre></div> <p> </td> @@ -2883,20 +2921,20 @@ 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#l00444">444</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>.<div class="fragment"><pre class="fragment"><a name="l00445"></a>00445 { -<a name="l00446"></a>00446 <span class="keywordflow">if</span> (!Source) -<a name="l00447"></a>00447 { -<a name="l00448"></a>00448 <span class="comment">// if source is NULL, then the message originates from the local server</span> -<a name="l00449"></a>00449 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -<a name="l00450"></a>00450 } -<a name="l00451"></a>00451 <span class="keywordflow">else</span> -<a name="l00452"></a>00452 { -<a name="l00453"></a>00453 <span class="comment">// otherwise it comes from the user specified</span> -<a name="l00454"></a>00454 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00455"></a>00455 } -<a name="l00456"></a>00456 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00436">436</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write()</a>, and <a class="el" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">WriteTo()</a>.<div class="fragment"><pre class="fragment"><a name="l00437"></a>00437 { +<a name="l00438"></a>00438 <span class="keywordflow">if</span> (!Source) +<a name="l00439"></a>00439 { +<a name="l00440"></a>00440 <span class="comment">// if source is NULL, then the message originates from the local server</span> +<a name="l00441"></a>00441 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +<a name="l00442"></a>00442 } +<a name="l00443"></a>00443 <span class="keywordflow">else</span> +<a name="l00444"></a>00444 { +<a name="l00445"></a>00445 <span class="comment">// otherwise it comes from the user specified</span> +<a name="l00446"></a>00446 <a class="code" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">WriteTo</a>(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00447"></a>00447 } +<a name="l00448"></a>00448 } </pre></div> <p> </td> @@ -2948,9 +2986,9 @@ 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#l00362">362</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00363"></a>00363 { -<a name="l00364"></a>00364 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00365"></a>00365 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00355"></a>00355 { +<a name="l00356"></a>00356 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00357"></a>00357 } </pre></div> <p> </td> @@ -2994,9 +3032,11 @@ 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#l00492">492</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00493"></a>00493 { -<a name="l00494"></a>00494 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00495"></a>00495 } +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="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteWallOps()</a>.<div class="fragment"><pre class="fragment"><a name="l00485"></a>00485 { +<a name="l00486"></a>00486 <a class="code" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteWallOps</a>(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00487"></a>00487 } </pre></div> <p> </td> @@ -3040,18 +3080,18 @@ 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#l00601">601</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="users_8cpp-source.html#l00232">userrec::ClearBuffer()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, and <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>.<div class="fragment"><pre class="fragment"><a name="l00602"></a>00602 { -<a name="l00603"></a>00603 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00604"></a>00604 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00605"></a>00605 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00606"></a>00606 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); -<a name="l00607"></a>00607 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); -<a name="l00608"></a>00608 shutdown(old_fd,2); -<a name="l00609"></a>00609 close(old_fd); -<a name="l00610"></a>00610 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00611"></a>00611 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00593">593</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="users_8cpp-source.html#l00232">userrec::ClearBuffer()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, and <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write()</a>.<div class="fragment"><pre class="fragment"><a name="l00594"></a>00594 { +<a name="l00595"></a>00595 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00596"></a>00596 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00597"></a>00597 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00598"></a>00598 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); +<a name="l00599"></a>00599 <a class="code" href="modules_8cpp.html#SE">SE</a>-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); +<a name="l00600"></a>00600 shutdown(old_fd,2); +<a name="l00601"></a>00601 close(old_fd); +<a name="l00602"></a>00602 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00603"></a>00603 } </pre></div> <p> </td> @@ -3059,7 +3099,7 @@ References <a class="el" href="users_8cpp-source.html#l00232">userrec::ClearBuff </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 Wed Dec 14 15:55:50 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServerConfig-members.html b/docs/module-doc/classServerConfig-members.html index 5e30ba1de..6ef03ed50 100644 --- a/docs/module-doc/classServerConfig-members.html +++ b/docs/module-doc/classServerConfig-members.html @@ -44,19 +44,20 @@ <tr class="memlist"><td><a class="el" href="classServerConfig.html#Network_5BMAXBUF_5D">Network</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#nofork">nofork</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#PID_5B_31_30_32_34_5D">PID</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classServerConfig.html#ports_5B_32_35_35_5D">ports</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#PrefixQuit_5BMAXBUF_5D">PrefixQuit</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(bool bail, userrec *user)</td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(std::stringstream *config_f, const char *tag, const char *var, int index, char *result)</td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#restartpass_5BMAXBUF_5D">restartpass</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> - <tr class="memlist"><td><a class="el" href="classServerConfig.html#RULES">RULES</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">rules</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classServerConfig.html#RULES">RULES</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a>()</td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#SoftLimit">SoftLimit</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classServerConfig.html#unlimitcore">unlimitcore</a></td><td><a class="el" href="classServerConfig.html">ServerConfig</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServerConfig.html b/docs/module-doc/classServerConfig.html index c359b2c7d..037f117b4 100644 --- a/docs/module-doc/classServerConfig.html +++ b/docs/module-doc/classServerConfig.html @@ -16,7 +16,7 @@ Inheritance diagram for ServerConfig:<p><center><img src="classServerConfig__inh </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for ServerConfig:<p><center><img src="classServerConfig__coll__graph.gif" border="0" usemap="#ServerConfig__coll__map" alt="Collaboration graph"></center> <map name="ServerConfig__coll__map"> -<area href="classclassbase.html" shape="rect" coords="38,11,118,37" alt=""> +<area href="classclassbase.html" shape="rect" coords="38,12,118,39" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classServerConfig-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> @@ -128,10 +128,10 @@ Inheritance diagram for ServerConfig:<p><center><img src="classServerConfig__inh <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#addrs_5BMAXBUF_5D_5B_32_35_35_5D">addrs</a> [MAXBUF][255]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A list of IP addresses the server is listening on. <a href="#addrs_5BMAXBUF_5D_5B_32_35_35_5D"></a><br></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MOTD">MOTD</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#MOTD">MOTD</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The MOTD file, cached in a file_cache type. <a href="#MOTD"></a><br></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#RULES">RULES</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#RULES">RULES</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The RULES file, cached in a file_cache type. <a href="#RULES"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#PID_5B_31_30_32_34_5D">PID</a> [1024]</td></tr> @@ -146,6 +146,9 @@ Inheritance diagram for ServerConfig:<p><center><img src="classServerConfig__inh <tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#module_5Fnames">module_names</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A list of module names (names only, no paths) which are currently loaded by the server. <a href="#module_5Fnames"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#ports_5B_32_35_35_5D">ports</a> [255]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">A list of ports which the server is listening on. <a href="#ports_5B_32_35_35_5D"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classServerConfig.html#fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29">fgets_safe</a> (char *buffer, size_t maxsize, FILE *&file)</td></tr> @@ -222,7 +225,7 @@ Clears the include stack in preperation for a <a class="el" href="classServerCon <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29"></a><!-- doxytag: member="ServerConfig::ConfProcess" ref="ConfProcess_28char_20_2Abuffer_2C_20long_20linenumber_2C_20std_3A_3Astringstream_20_2Aerrorstream_2C_20bool_20_26error_2C_20std_3A_3Astring_20filename_29" args="(char *buffer, long linenumber, std::stringstream *errorstream, bool &error, std::string filename)" --><p> @@ -412,7 +415,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00144">userrec::HasPer <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00871">ConfigReader::Enumerate()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00863">ConfigReader::Enumerate()</a>. </td> </tr> </table> <a class="anchor" name="EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29"></a><!-- doxytag: member="ServerConfig::EnumValues" ref="EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29" args="(std::stringstream *config, const char *tag, int index)" --><p> @@ -457,7 +460,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00871">ConfigReader: <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00876">ConfigReader::EnumerateValues()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00868">ConfigReader::EnumerateValues()</a>. </td> </tr> </table> <a class="anchor" name="fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29"></a><!-- doxytag: member="ServerConfig::fgets_safe" ref="fgets_5Fsafe_28char_20_2Abuffer_2C_20size_5Ft_20maxsize_2C_20FILE_20_2A_26file_29" args="(char *buffer, size_t maxsize, FILE *&file)" --><p> @@ -547,7 +550,7 @@ it can read both windows and UNIX style linefeeds transparently. </td> <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="Read_28bool_20bail_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="ServerConfig::Read" ref="Read_28bool_20bail_2C_20userrec_20_2Auser_29" args="(bool bail, userrec *user)" --><p> @@ -588,7 +591,7 @@ Read the entire configuration into memory and initialize this class. <p> All other methods should be used only by the core. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00326">Server::RehashServer()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00318">Server::RehashServer()</a>. </td> </tr> </table> <a class="anchor" name="ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29"></a><!-- doxytag: member="ServerConfig::ReadConf" ref="ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29" args="(std::stringstream *config_f, const char *tag, const char *var, int index, char *result)" --><p> @@ -645,7 +648,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00326">Server::Rehas <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00785">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00769">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00777">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00794">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00761">ConfigReader::ReadValue()</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> @@ -700,7 +703,9 @@ Holds the email address of the admin, for output in the /ADMIN command. <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00089">89</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00089">89</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00544">Server::GetAdmin()</a>. </td> </tr> </table> <a class="anchor" name="AdminName_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::AdminName" ref="AdminName_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -727,7 +732,9 @@ Holds the admin's name, for output in the /ADMIN command. <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00084">84</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00084">84</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00544">Server::GetAdmin()</a>. </td> </tr> </table> <a class="anchor" name="AdminNick_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::AdminNick" ref="AdminNick_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -754,7 +761,9 @@ Holds the admin's nickname, for output in the /ADMIN command. <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00094">94</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00094">94</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00544">Server::GetAdmin()</a>. </td> </tr> </table> <a class="anchor" name="AllowHalfop"></a><!-- doxytag: member="ServerConfig::AllowHalfop" ref="AllowHalfop" args="" --><p> @@ -1217,7 +1226,7 @@ A list of module names (names only, no paths) which are currently loaded by the <p> Definition at line <a class="el" href="inspircd__io_8h-source.html#l00247">247</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindModule()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00719">Server::FindModule()</a>. </td> </tr> </table> <a class="anchor" name="MOTD"></a><!-- doxytag: member="ServerConfig::MOTD" ref="MOTD" args="" --><p> @@ -1226,7 +1235,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00727">Server::FindM <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#MOTD">ServerConfig::MOTD</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#MOTD">ServerConfig::MOTD</a> </td> </tr> </table> </td> @@ -1350,7 +1359,9 @@ Definition at line <a class="el" href="inspircd__io_8h-source.html#l00182">182</ <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00074">74</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00074">74</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00534">Server::GetNetworkName()</a>. </td> </tr> </table> <a class="anchor" name="nofork"></a><!-- doxytag: member="ServerConfig::nofork" ref="nofork" args="" --><p> @@ -1407,6 +1418,33 @@ The full pathname and filename of the PID file as defined in the configuration. Definition at line <a class="el" href="inspircd__io_8h-source.html#l00229">229</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> </tr> </table> +<a class="anchor" name="ports_5B_32_35_35_5D"></a><!-- doxytag: member="ServerConfig::ports" ref="ports_5B_32_35_35_5D" args="[255]" --><p> +<table class="mdTable" 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="classServerConfig.html#ports_5B_32_35_35_5D">ServerConfig::ports</a>[255] </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> +A list of ports which the server is listening on. +<p> + +<p> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00251">251</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> + </tr> +</table> <a class="anchor" name="PrefixQuit_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::PrefixQuit" ref="PrefixQuit_5BMAXBUF_5D" args="[MAXBUF]" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -1467,7 +1505,7 @@ Definition at line <a class="el" href="inspircd__io_8h-source.html#l00102">102</ <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#RULES">ServerConfig::RULES</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> <a class="el" href="classServerConfig.html#RULES">ServerConfig::RULES</a> </td> </tr> </table> </td> @@ -1539,7 +1577,9 @@ Holds the description of the local server as defined by the administrator. <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00079">79</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00079">79</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00539">Server::GetServerDescription()</a>. </td> </tr> </table> <a class="anchor" name="ServerName_5BMAXBUF_5D"></a><!-- doxytag: member="ServerConfig::ServerName" ref="ServerName_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -1568,7 +1608,7 @@ Holds the server name of the local server as defined by the administrator. <p> Definition at line <a class="el" href="inspircd__io_8h-source.html#l00068">68</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00529">Server::GetServerName()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td> </tr> </table> <a class="anchor" name="SoftLimit"></a><!-- doxytag: member="ServerConfig::SoftLimit" ref="SoftLimit" args="" --><p> @@ -1627,7 +1667,7 @@ Definition at line <a class="el" href="inspircd__io_8h-source.html#l00166">166</ </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classServerConfig__coll__graph.gif b/docs/module-doc/classServerConfig__coll__graph.gif Binary files differindex 299c2a369..96bfe068b 100644 --- a/docs/module-doc/classServerConfig__coll__graph.gif +++ b/docs/module-doc/classServerConfig__coll__graph.gif diff --git a/docs/module-doc/classServerConfig__coll__graph.map b/docs/module-doc/classServerConfig__coll__graph.map index 026a524ee..aca75f307 100644 --- a/docs/module-doc/classServerConfig__coll__graph.map +++ b/docs/module-doc/classServerConfig__coll__graph.map @@ -1,2 +1,2 @@ base referer -rect $classclassbase.html 38,11 118,37 +rect $classclassbase.html 38,12 118,39 diff --git a/docs/module-doc/classServerConfig__coll__graph.md5 b/docs/module-doc/classServerConfig__coll__graph.md5 index 7c238fb05..8b64681f9 100644 --- a/docs/module-doc/classServerConfig__coll__graph.md5 +++ b/docs/module-doc/classServerConfig__coll__graph.md5 @@ -1 +1 @@ -2e10a0ef0c4d0446b103d1c843d9b249
\ No newline at end of file +ccb417531b2d5c8c500f80e926167613
\ No newline at end of file diff --git a/docs/module-doc/classSocketEngine-members.html b/docs/module-doc/classSocketEngine-members.html index a19d6103a..7ba725cfc 100644 --- a/docs/module-doc/classSocketEngine-members.html +++ b/docs/module-doc/classSocketEngine-members.html @@ -17,7 +17,7 @@ <tr class="memlist"><td><a class="el" href="classSocketEngine.html#ts">ts</a></td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td><code> [private]</code></td></tr> <tr class="memlist"><td><a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">Wait</a>(std::vector< int > &fdlist)</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">~SocketEngine</a>()</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classSocketEngine.html b/docs/module-doc/classSocketEngine.html index 772f60752..ee8167bb8 100644 --- a/docs/module-doc/classSocketEngine.html +++ b/docs/module-doc/classSocketEngine.html @@ -83,8 +83,8 @@ Please note that if there is a catastrophic failure (for example, you try and en <p> Definition at line <a class="el" href="socketengine_8cpp-source.html#l00035">35</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>.<div class="fragment"><pre class="fragment"><a name="l00036"></a>00036 { -<a name="l00037"></a>00037 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, and <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>.<div class="fragment"><pre class="fragment"><a name="l00036"></a>00036 { +<a name="l00037"></a>00037 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); <a name="l00038"></a>00038 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = epoll_create(65535); <a name="l00040"></a>00040 <span class="preprocessor">#endif</span> @@ -127,8 +127,8 @@ Destructor The destructor transparently tidies up any resources used by the sock <p> Definition at line <a class="el" href="socketengine_8cpp-source.html#l00046">46</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>.<div class="fragment"><pre class="fragment"><a name="l00047"></a>00047 { -<a name="l00048"></a>00048 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, and <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>.<div class="fragment"><pre class="fragment"><a name="l00047"></a>00047 { +<a name="l00048"></a>00048 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); <a name="l00049"></a>00049 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00050"></a>00050 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); <a name="l00051"></a>00051 <span class="preprocessor">#endif</span> @@ -188,7 +188,7 @@ You must provide a type (see the consts in <a class="el" href="socketengine_8h.h <p> Definition at line <a class="el" href="socketengine_8cpp-source.html#l00065">65</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. <p> Referenced by <a class="el" href="socket_8cpp-source.html#l00053">InspSocket::InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00066"></a>00066 { <a name="l00067"></a>00067 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) @@ -197,30 +197,30 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00053">InspSocket::In <a name="l00070"></a>00070 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = type; <a name="l00071"></a>00071 <span class="keywordflow">if</span> (readable) <a name="l00072"></a>00072 { -<a name="l00073"></a>00073 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); +<a name="l00073"></a>00073 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); <a name="l00074"></a>00074 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] |= <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>; <a name="l00075"></a>00075 } -<a name="l00076"></a>00076 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); +<a name="l00076"></a>00076 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); <a name="l00077"></a>00077 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; -<a name="l00079"></a>00079 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00079"></a>00079 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); <a name="l00080"></a>00080 readable ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; <a name="l00081"></a>00081 ev.data.fd = fd; <a name="l00082"></a>00082 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_ADD, fd, &ev); <a name="l00083"></a>00083 <span class="keywordflow">if</span> (i < 0) <a name="l00084"></a>00084 { -<a name="l00085"></a>00085 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); +<a name="l00085"></a>00085 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); <a name="l00086"></a>00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00087"></a>00087 } <a name="l00088"></a>00088 <span class="preprocessor">#endif</span> <a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> <a name="l00090"></a>00090 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -<a name="l00091"></a>00091 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00091"></a>00091 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); <a name="l00092"></a>00092 EV_SET(&ke, fd, readable ? EVFILT_READ : EVFILT_WRITE, EV_ADD, 0, 0, NULL); <a name="l00093"></a>00093 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); <a name="l00094"></a>00094 <span class="keywordflow">if</span> (i == -1) <a name="l00095"></a>00095 { -<a name="l00096"></a>00096 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); +<a name="l00096"></a>00096 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); <a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00098"></a>00098 } <a name="l00099"></a>00099 <span class="preprocessor">#endif</span> @@ -262,10 +262,10 @@ Delete a file descriptor f rom the engine This function call deletes a file desc <p> Definition at line <a class="el" href="socketengine_8cpp-source.html#l00103">103</a> of file <a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="socketengine_8h-source.html#l00069">EngineHandle</a>, <a class="el" href="socketengine_8h-source.html#l00068">fds</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="socketengine_8cpp-source.html#l00033">ref</a>, and <a class="el" href="socketengine_8h-source.html#l00055">X_READBIT</a>. <p> -Referenced by <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Poll()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { -<a name="l00105"></a>00105 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); +Referenced by <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Poll()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { +<a name="l00105"></a>00105 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); <a name="l00106"></a>00106 <a name="l00107"></a>00107 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) <a name="l00108"></a>00108 <span class="keywordflow">return</span> <span class="keyword">false</span>; @@ -276,7 +276,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Po <a name="l00113"></a>00113 <span class="keywordflow">if</span> (*i == fd) <a name="l00114"></a>00114 { <a name="l00115"></a>00115 <a class="code" href="classSocketEngine.html#fds">fds</a>.erase(i); -<a name="l00116"></a>00116 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); +<a name="l00116"></a>00116 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); <a name="l00117"></a>00117 found = <span class="keyword">true</span>; <a name="l00118"></a>00118 <span class="keywordflow">break</span>; <a name="l00119"></a>00119 } @@ -287,7 +287,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Po <a name="l00124"></a>00124 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); <a name="l00125"></a>00125 <span class="keywordflow">if</span> (i == -1) <a name="l00126"></a>00126 { -<a name="l00127"></a>00127 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); +<a name="l00127"></a>00127 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); <a name="l00128"></a>00128 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00129"></a>00129 } <a name="l00130"></a>00130 <span class="preprocessor">#endif</span> @@ -298,7 +298,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00217">InspSocket::Po <a name="l00135"></a>00135 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_DEL, fd, &ev); <a name="l00136"></a>00136 <span class="keywordflow">if</span> (i < 0) <a name="l00137"></a>00137 { -<a name="l00138"></a>00138 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); +<a name="l00138"></a>00138 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); <a name="l00139"></a>00139 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00140"></a>00140 } <a name="l00141"></a>00141 <span class="preprocessor">#endif</span> @@ -589,7 +589,7 @@ Referenced by <a class="el" href="socketengine_8cpp-source.html#l00146">Wait()</ </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="socketengine_8h-source.html">socketengine.h</a><li><a class="el" href="socketengine_8cpp-source.html">socketengine.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 807f49cea..40a66249f 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ <tr class="memlist"><td><a class="el" href="classVersion.html#Revision">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#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 245964d99..2b39d5d5b 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -97,7 +97,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00113">113</a> of <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00167">167</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00167"></a>00167 : <a class="code" href="classVersion.html#Major">Major</a>(major), <a class="code" href="classVersion.html#Minor">Minor</a>(minor), <a class="code" href="classVersion.html#Revision">Revision</a>(revision), <a class="code" href="classVersion.html#Build">Build</a>(build), <a class="code" href="classVersion.html#Flags">Flags</a>(flags) { }; +Definition at line <a class="el" href="modules_8cpp-source.html#l00159">159</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00159"></a>00159 : <a class="code" href="classVersion.html#Major">Major</a>(major), <a class="code" href="classVersion.html#Minor">Minor</a>(minor), <a class="code" href="classVersion.html#Revision">Revision</a>(revision), <a class="code" href="classVersion.html#Build">Build</a>(build), <a class="code" href="classVersion.html#Flags">Flags</a>(flags) { }; </pre></div> <p> </td> @@ -231,7 +231,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00116">116</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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html index d7492b9e1..59a557a52 100644 --- a/docs/module-doc/classWhoWasUser-members.html +++ b/docs/module-doc/classWhoWasUser-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classWhoWasUser.html#nick_5BNICKMAX_5D">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#server_5B_32_35_36_5D">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#signon">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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html index 31b53e3e2..5eb8091ac 100644 --- a/docs/module-doc/classWhoWasUser.html +++ b/docs/module-doc/classWhoWasUser.html @@ -212,7 +212,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00341">341</a> of f </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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index d17c0a1c6..e31a65ea8 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -14,7 +14,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index 813b8cac1..4d4260822 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -185,7 +185,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00053">53</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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index 2e483c05d..0fc18f1ee 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -16,7 +16,7 @@ <tr class="memlist"><td><a class="el" href="classXLine.html#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index 769ce9807..bdc481060 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -92,7 +92,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00108">108</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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 3cc7f0f90..bcca4f16a 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -34,7 +34,7 @@ <tr class="memlist"><td><a class="el" href="classchanrec.html#topicset">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#_7Echanrec_28_29">~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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index eaa2780f0..97d321cf6 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -94,7 +94,7 @@ This class represents a channel, and contains its name, modes, time created, top <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00101">101</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00103">103</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="chanrec_28_29"></a><!-- doxytag: member="chanrec::chanrec" ref="chanrec_28_29" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -123,18 +123,18 @@ Creates a channel record and initialises it with default values. <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>. +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>. <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>.<div class="fragment"><pre class="fragment"><a name="l00074"></a>00074 { -<a name="l00075"></a>00075 strcpy(<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,<span class="stringliteral">""</span>); -<a name="l00076"></a>00076 strcpy(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,<span class="stringliteral">""</span>); -<a name="l00077"></a>00077 strcpy(<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>,<span class="stringliteral">""</span>); -<a name="l00078"></a>00078 strcpy(<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>,<span class="stringliteral">""</span>); -<a name="l00079"></a>00079 strcpy(<a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>,<span class="stringliteral">""</span>); -<a name="l00080"></a>00080 <a class="code" href="classchanrec.html#created">created</a> = <a class="code" href="classchanrec.html#topicset">topicset</a> = <a class="code" href="classchanrec.html#limit">limit</a> = 0; -<a name="l00081"></a>00081 <a class="code" href="classchanrec.html#binarymodes">binarymodes</a> = 0; -<a name="l00082"></a>00082 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.clear(); -<a name="l00083"></a>00083 } +References <a class="el" href="channels_8h-source.html#l00147">binarymodes</a>, <a class="el" href="channels_8h-source.html#l00125">created</a>, <a class="el" href="channels_8h-source.html#l00112">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00117">internal_userlist</a>, <a class="el" href="channels_8h-source.html#l00143">key</a>, <a class="el" href="channels_8h-source.html#l00138">limit</a>, <a class="el" href="channels_8h-source.html#l00108">name</a>, <a class="el" href="channels_8h-source.html#l00133">setby</a>, <a class="el" href="channels_8h-source.html#l00122">topic</a>, and <a class="el" href="channels_8h-source.html#l00129">topicset</a>.<div class="fragment"><pre class="fragment"><a name="l00075"></a>00075 { +<a name="l00076"></a>00076 strcpy(<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>,<span class="stringliteral">""</span>); +<a name="l00077"></a>00077 strcpy(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,<span class="stringliteral">""</span>); +<a name="l00078"></a>00078 strcpy(<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>,<span class="stringliteral">""</span>); +<a name="l00079"></a>00079 strcpy(<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>,<span class="stringliteral">""</span>); +<a name="l00080"></a>00080 strcpy(<a class="code" href="classchanrec.html#key_5B_33_32_5D">key</a>,<span class="stringliteral">""</span>); +<a name="l00081"></a>00081 <a class="code" href="classchanrec.html#created">created</a> = <a class="code" href="classchanrec.html#topicset">topicset</a> = <a class="code" href="classchanrec.html#limit">limit</a> = 0; +<a name="l00082"></a>00082 <a class="code" href="classchanrec.html#binarymodes">binarymodes</a> = 0; +<a name="l00083"></a>00083 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.clear(); +<a name="l00084"></a>00084 } </pre></div> <p> </td> @@ -166,7 +166,7 @@ References <a class="el" href="channels_8h-source.html#l00145">binarymodes</a>, <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00224">224</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00224"></a>00224 { <span class="comment">/* stub */</span> } +Definition at line <a class="el" href="channels_8h-source.html#l00226">226</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00226"></a>00226 { <span class="comment">/* stub */</span> } </pre></div> <p> </td> @@ -207,12 +207,14 @@ Add a user pointer to the internal reference list. </dl> 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. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00166">166</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#l00167">167</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>.<div class="fragment"><pre class="fragment"><a name="l00167"></a>00167 { -<a name="l00168"></a>00168 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.push_back(castuser); -<a name="l00169"></a>00169 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); -<a name="l00170"></a>00170 } +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00117">internal_userlist</a>, and <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>.<div class="fragment"><pre class="fragment"><a name="l00168"></a>00168 { +<a name="l00169"></a>00169 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.push_back(castuser); +<a name="l00170"></a>00170 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Added casted user to channel's internal list"</span>); +<a name="l00171"></a>00171 } </pre></div> <p> </td> @@ -252,20 +254,22 @@ Delete a user pointer to the internal reference list. </dl> 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. <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00172">172</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">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>.<div class="fragment"><pre class="fragment"><a name="l00173"></a>00173 { -<a name="l00174"></a>00174 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.end(); a++) -<a name="l00175"></a>00175 { -<a name="l00176"></a>00176 <span class="keywordflow">if</span> (*a == castuser) -<a name="l00177"></a>00177 { -<a name="l00178"></a>00178 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); -<a name="l00179"></a>00179 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.erase(a); -<a name="l00180"></a>00180 <span class="keywordflow">return</span>; -<a name="l00181"></a>00181 } -<a name="l00182"></a>00182 } -<a name="l00183"></a>00183 log(<a class="code" href="inspircd__io_8h.html#DEBUG">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#name_5BCHANMAX_5D">name</a>); -<a name="l00184"></a>00184 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00173">173</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00117">internal_userlist</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, and <a class="el" href="channels_8h-source.html#l00108">name</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00174"></a>00174 { +<a name="l00175"></a>00175 <span class="keywordflow">for</span> (std::vector<char*>::iterator a = <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.begin(); a < <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.end(); a++) +<a name="l00176"></a>00176 { +<a name="l00177"></a>00177 <span class="keywordflow">if</span> (*a == castuser) +<a name="l00178"></a>00178 { +<a name="l00179"></a>00179 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removed casted user from channel's internal list"</span>); +<a name="l00180"></a>00180 <a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>.erase(a); +<a name="l00181"></a>00181 <span class="keywordflow">return</span>; +<a name="l00182"></a>00182 } +<a name="l00183"></a>00183 } +<a name="l00184"></a>00184 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">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#name_5BCHANMAX_5D">name</a>); +<a name="l00185"></a>00185 } </pre></div> <p> </td> @@ -307,21 +311,21 @@ For example if "+L #foo" is set, and you pass this method 'L', it will return 'f <dl compact><dt><b>Returns:</b></dt><dd>The parameter for this mode is returned, or an empty string</dd></dl> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00146">146</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. -<p> -References <a class="el" href="channels_8cpp-source.html#l00071">custom_mode_params</a>.<div class="fragment"><pre class="fragment"><a name="l00147"></a>00147 { -<a name="l00148"></a>00148 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) -<a name="l00149"></a>00149 { -<a name="l00150"></a>00150 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) -<a name="l00151"></a>00151 { -<a name="l00152"></a>00152 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -<a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <span class="keywordflow">return</span> i->parameter; -<a name="l00155"></a>00155 } -<a name="l00156"></a>00156 } -<a name="l00157"></a>00157 } -<a name="l00158"></a>00158 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00159"></a>00159 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00147">147</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. +<p> +References <a class="el" href="channels_8cpp-source.html#l00070">custom_mode_params</a>.<div class="fragment"><pre class="fragment"><a name="l00148"></a>00148 { +<a name="l00149"></a>00149 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) +<a name="l00150"></a>00150 { +<a name="l00151"></a>00151 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) +<a name="l00152"></a>00152 { +<a name="l00153"></a>00153 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +<a name="l00154"></a>00154 { +<a name="l00155"></a>00155 <span class="keywordflow">return</span> i->parameter; +<a name="l00156"></a>00156 } +<a name="l00157"></a>00157 } +<a name="l00158"></a>00158 } +<a name="l00159"></a>00159 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00160"></a>00160 } </pre></div> <p> </td> @@ -356,9 +360,9 @@ Obtain the channel "user counter" This returns the channel reference counter, wh <dl compact><dt><b>Returns:</b></dt><dd>The number of users on this channel</dd></dl> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00161">161</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00162"></a>00162 { -<a name="l00163"></a>00163 <span class="keywordflow">return</span> (this->internal_userlist.size()); -<a name="l00164"></a>00164 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00162">162</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00163"></a>00163 { +<a name="l00164"></a>00164 <span class="keywordflow">return</span> (this->internal_userlist.size()); +<a name="l00165"></a>00165 } </pre></div> <p> </td> @@ -394,13 +398,13 @@ These are used for rapid comparison to determine channel membership for PRIVMSG, <dl compact><dt><b>Returns:</b></dt><dd>This function returns a vector of userrec pointers, each of which has been casted to char* to prevent circular references</dd></dl> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00186">186</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#l00187">187</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>. +References <a class="el" href="channels_8h-source.html#l00117">internal_userlist</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00377">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00187"></a>00187 { -<a name="l00188"></a>00188 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; -<a name="l00189"></a>00189 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00369">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00188"></a>00188 { +<a name="l00189"></a>00189 <span class="keywordflow">return</span> &<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>; +<a name="l00190"></a>00190 } </pre></div> <p> </td> @@ -441,9 +445,9 @@ Returns true if a custom mode is set on a channel. <dl compact><dt><b>Returns:</b></dt><dd>True if the custom mode is set, false if otherwise</dd></dl> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00141">141</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00142"></a>00142 { -<a name="l00143"></a>00143 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode)); -<a name="l00144"></a>00144 } +Definition at line <a class="el" href="channels_8cpp-source.html#l00142">142</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00143"></a>00143 { +<a name="l00144"></a>00144 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode)); +<a name="l00145"></a>00145 } </pre></div> <p> </td> @@ -493,30 +497,30 @@ Sets or unsets a custom mode in the channels info. </dl> <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>. -<p> -References <a class="el" href="channels_8h-source.html#l00110">custom_modes</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00110">SetCustomModeParam()</a>.<div class="fragment"><pre class="fragment"><a name="l00086"></a>00086 { -<a name="l00087"></a>00087 <span class="keywordflow">if</span> (mode_on) { -<a name="l00088"></a>00088 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; -<a name="l00089"></a>00089 m[0] = mode; -<a name="l00090"></a>00090 m[1] = <span class="charliteral">'\0'</span>; -<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) -<a name="l00092"></a>00092 { -<a name="l00093"></a>00093 strlcat(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,m,MAXMODES); -<a name="l00094"></a>00094 } -<a name="l00095"></a>00095 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); -<a name="l00096"></a>00096 } -<a name="l00097"></a>00097 <span class="keywordflow">else</span> { -<a name="l00098"></a>00098 -<a name="l00099"></a>00099 <a class="code" href="namespaceirc.html#string">std::string</a> a = this-><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>; -<a name="l00100"></a>00100 <span class="keywordtype">int</span> pos = a.find(mode); -<a name="l00101"></a>00101 a.erase(pos,1); -<a name="l00102"></a>00102 strncpy(this->custom_modes,a.c_str(),MAXMODES); -<a name="l00103"></a>00103 -<a name="l00104"></a>00104 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); -<a name="l00105"></a>00105 this-><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); -<a name="l00106"></a>00106 } -<a name="l00107"></a>00107 } +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>. +<p> +References <a class="el" href="channels_8h-source.html#l00112">custom_modes</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, and <a class="el" href="channels_8cpp-source.html#l00111">SetCustomModeParam()</a>.<div class="fragment"><pre class="fragment"><a name="l00087"></a>00087 { +<a name="l00088"></a>00088 <span class="keywordflow">if</span> (mode_on) { +<a name="l00089"></a>00089 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3]; +<a name="l00090"></a>00090 m[0] = mode; +<a name="l00091"></a>00091 m[1] = <span class="charliteral">'\0'</span>; +<a name="l00092"></a>00092 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +<a name="l00093"></a>00093 { +<a name="l00094"></a>00094 strlcat(<a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>,m,MAXMODES); +<a name="l00095"></a>00095 } +<a name="l00096"></a>00096 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c set"</span>,mode); +<a name="l00097"></a>00097 } +<a name="l00098"></a>00098 <span class="keywordflow">else</span> { +<a name="l00099"></a>00099 +<a name="l00100"></a>00100 <a class="code" href="namespaceirc.html#string">std::string</a> a = this-><a class="code" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">custom_modes</a>; +<a name="l00101"></a>00101 <span class="keywordtype">int</span> pos = a.find(mode); +<a name="l00102"></a>00102 a.erase(pos,1); +<a name="l00103"></a>00103 strncpy(this->custom_modes,a.c_str(),MAXMODES); +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes); +<a name="l00106"></a>00106 this-><a class="code" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>); +<a name="l00107"></a>00107 } +<a name="l00108"></a>00108 } </pre></div> <p> </td> @@ -573,39 +577,39 @@ Sets or unsets the parameters for a custom mode in a channels info. </dl> <p> -Definition at line <a class="el" href="channels_8cpp-source.html#l00110">110</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#l00071">custom_mode_params</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">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#l00085">SetCustomMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00111"></a>00111 { -<a name="l00112"></a>00112 -<a name="l00113"></a>00113 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); -<a name="l00114"></a>00114 <a class="code" href="classModeParameter.html">ModeParameter</a> M; -<a name="l00115"></a>00115 M.<a class="code" href="classModeParameter.html#mode">mode</a> = mode; -<a name="l00116"></a>00116 strlcpy(M.<a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>,this->name,CHANMAX); -<a name="l00117"></a>00117 strlcpy(M.<a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>,parameter,MAXBUF); -<a name="l00118"></a>00118 <span class="keywordflow">if</span> (mode_on) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); -<a name="l00121"></a>00121 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.push_back(M); -<a name="l00122"></a>00122 } -<a name="l00123"></a>00123 <span class="keywordflow">else</span> -<a name="l00124"></a>00124 { -<a name="l00125"></a>00125 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) -<a name="l00126"></a>00126 { -<a name="l00127"></a>00127 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) -<a name="l00128"></a>00128 { -<a name="l00129"></a>00129 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) -<a name="l00130"></a>00130 { -<a name="l00131"></a>00131 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); -<a name="l00132"></a>00132 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.erase(i); -<a name="l00133"></a>00133 <span class="keywordflow">return</span>; -<a name="l00134"></a>00134 } -<a name="l00135"></a>00135 } -<a name="l00136"></a>00136 } -<a name="l00137"></a>00137 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); -<a name="l00138"></a>00138 } -<a name="l00139"></a>00139 } +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>. +<p> +References <a class="el" href="channels_8h-source.html#l00084">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00070">custom_mode_params</a>, <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, <a class="el" href="channels_8h-source.html#l00082">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00083">ModeParameter::parameter</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00086">SetCustomMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00112"></a>00112 { +<a name="l00113"></a>00113 +<a name="l00114"></a>00114 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SetCustomModeParam called"</span>); +<a name="l00115"></a>00115 <a class="code" href="classModeParameter.html">ModeParameter</a> M; +<a name="l00116"></a>00116 M.<a class="code" href="classModeParameter.html#mode">mode</a> = mode; +<a name="l00117"></a>00117 strlcpy(M.<a class="code" href="classModeParameter.html#channel_5BCHANMAX_5D">channel</a>,this->name,CHANMAX); +<a name="l00118"></a>00118 strlcpy(M.<a class="code" href="classModeParameter.html#parameter_5BMAXBUF_5D">parameter</a>,parameter,MAXBUF); +<a name="l00119"></a>00119 <span class="keywordflow">if</span> (mode_on) +<a name="l00120"></a>00120 { +<a name="l00121"></a>00121 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter); +<a name="l00122"></a>00122 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.push_back(M); +<a name="l00123"></a>00123 } +<a name="l00124"></a>00124 <span class="keywordflow">else</span> +<a name="l00125"></a>00125 { +<a name="l00126"></a>00126 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.size()) +<a name="l00127"></a>00127 { +<a name="l00128"></a>00128 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.end(); i++) +<a name="l00129"></a>00129 { +<a name="l00130"></a>00130 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +<a name="l00131"></a>00131 { +<a name="l00132"></a>00132 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter); +<a name="l00133"></a>00133 <a class="code" href="channels_8cpp.html#custom_5Fmode_5Fparams">custom_mode_params</a>.erase(i); +<a name="l00134"></a>00134 <span class="keywordflow">return</span>; +<a name="l00135"></a>00135 } +<a name="l00136"></a>00136 } +<a name="l00137"></a>00137 } +<a name="l00138"></a>00138 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>); +<a name="l00139"></a>00139 } +<a name="l00140"></a>00140 } </pre></div> <p> </td> @@ -636,7 +640,9 @@ The list of all bans set on the channel. <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00149">149</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00151">151</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#l00195">add_channel()</a>. </td> </tr> </table> <a class="anchor" name="binarymodes"></a><!-- doxytag: member="chanrec::binarymodes" ref="binarymodes" args="" --><p> @@ -663,9 +669,9 @@ Contains a bitmask of the CM_* builtin (RFC) binary mode symbols. <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00147">147</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#l00073">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>. </td> </tr> </table> <a class="anchor" name="created"></a><!-- doxytag: member="chanrec::created" ref="created" args="" --><p> @@ -692,9 +698,9 @@ Creation time. <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00125">125</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#l00073">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>. </td> </tr> </table> <a class="anchor" name="custom_5Fmodes_5BMAXMODES_5D"></a><!-- doxytag: member="chanrec::custom_modes" ref="custom_5Fmodes_5BMAXMODES_5D" args="[MAXMODES]" --><p> @@ -721,9 +727,9 @@ Custom modes for the channel. <p> 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>. +Definition at line <a class="el" href="channels_8h-source.html#l00112">112</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#l00073">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00085">SetCustomMode()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00086">SetCustomMode()</a>. </td> </tr> </table> <a class="anchor" name="internal_5Fuserlist"></a><!-- doxytag: member="chanrec::internal_userlist" ref="internal_5Fuserlist" args="" --><p> @@ -750,9 +756,9 @@ User list (casted to char*'s to stop forward declaration stuff) (chicken and egg <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00117">117</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#l00166">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00073">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00172">DelUser()</a>, and <a class="el" href="channels_8cpp-source.html#l00186">GetUsers()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00167">AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00173">DelUser()</a>, and <a class="el" href="channels_8cpp-source.html#l00187">GetUsers()</a>. </td> </tr> </table> <a class="anchor" name="key_5B_33_32_5D"></a><!-- doxytag: member="chanrec::key" ref="key_5B_33_32_5D" args="[32]" --><p> @@ -779,9 +785,9 @@ Contains the channel key. <p> 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>. +Definition at line <a class="el" href="channels_8h-source.html#l00143">143</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#l00073">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>. </td> </tr> </table> <a class="anchor" name="limit"></a><!-- doxytag: member="chanrec::limit" ref="limit" args="" --><p> @@ -808,9 +814,9 @@ Contains the channel user limit. <p> 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>. +Definition at line <a class="el" href="channels_8h-source.html#l00138">138</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#l00073">chanrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>. </td> </tr> </table> <a class="anchor" name="name_5BCHANMAX_5D"></a><!-- doxytag: member="chanrec::name" ref="name_5BCHANMAX_5D" args="[CHANMAX]" --><p> @@ -837,9 +843,9 @@ The channels name. <p> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00108">108</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#l00073">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00172">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00173">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="setby_5BNICKMAX_5D"></a><!-- doxytag: member="chanrec::setby" ref="setby_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -866,9 +872,9 @@ The last user to set the topic. <p> 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>. +Definition at line <a class="el" href="channels_8h-source.html#l00133">133</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#l00073">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="topic_5BMAXBUF_5D"></a><!-- doxytag: member="chanrec::topic" ref="topic_5BMAXBUF_5D" args="[MAXBUF]" --><p> @@ -895,9 +901,9 @@ Channel topic. <p> 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>. +Definition at line <a class="el" href="channels_8h-source.html#l00122">122</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#l00073">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>. </td> </tr> </table> <a class="anchor" name="topicset"></a><!-- doxytag: member="chanrec::topicset" ref="topicset" args="" --><p> @@ -924,14 +930,14 @@ Time topic was set. <p> If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#created">chanrec::created</a> <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>. +Definition at line <a class="el" href="channels_8h-source.html#l00129">129</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#l00073">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00074">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, and <a class="el" href="modules_8cpp-source.html#l00605">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 501d7adb1..a24bd7491 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -9,7 +9,7 @@ <tr class="memlist"><td><a class="el" href="classclassbase.html#age">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#classbase_28_29">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index db3b992fd..795db3524 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -150,7 +150,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00040">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 1d7a72aae..fbdbbbb15 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -20,7 +20,7 @@ <tr class="memlist"><td><a class="el" href="classcommand__t.html#total_5Fbytes">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#use_5Fcount">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#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 51c0d9577..49f4c942a 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -26,7 +26,7 @@ Inheritance diagram for command_t:<p><center><img src="classcommand__t__inherit_ <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classcommand__t.html#command_5BMAXBUF_5D">command</a> [MAXBUF]</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Command name. <a href="#command_5BMAXBUF_5D"></a><br></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top">handlerfunc * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcommand__t.html#handler_5Ffunction">handler_function</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcommand__t.html#handler_5Ffunction">handler_function</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Handler function as in typedef. <a href="#handler_5Ffunction"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classcommand__t.html#flags_5Fneeded">flags_needed</a></td></tr> @@ -111,7 +111,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00037">37</a> of <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">handlerfunc* <a class="el" href="classcommand__t.html#handler_5Ffunction">command_t::handler_function</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a>* <a class="el" href="classcommand__t.html#handler_5Ffunction">command_t::handler_function</a> </td> </tr> </table> </td> @@ -242,7 +242,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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index cdf28dcb6..f52b9977f 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -28,7 +28,7 @@ <tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">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#signon">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index bf0ea2c46..cdaa102c2 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -258,7 +258,7 @@ File descriptor of the connection. <p> Definition at line <a class="el" href="connection_8h-source.html#l00042">42</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. <p> -Referenced by <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00838">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00444">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00830">ConfigReader::DumpErrors()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00436">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="haspassed"></a><!-- doxytag: member="connection::haspassed" ref="haspassed" args="" --><p> @@ -316,7 +316,7 @@ Not used if this is a serverrec <p> Definition at line <a class="el" href="connection_8h-source.html#l00046">46</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#l00089">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00089">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="idle_5Flastmsg"></a><!-- doxytag: member="connection::idle_lastmsg" ref="idle_5Flastmsg" args="" --><p> @@ -524,7 +524,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userre </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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index aa4fe2804..87df799cc 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -10,24 +10,24 @@ <tr><td><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> </td><td><a name="letter_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> </td><td><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> H </div></td></tr></table> -</td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classDNS.html">DNS</a> </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModule.html">Module</a> </td><td><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> -</td></tr><tr><td><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> -</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a> </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 name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> -</td><td><a class="el" href="classHostItem.html">HostItem</a> </td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a> </td><td><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a class="el" href="classBoolSet.html">BoolSet</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> -</td><td><a name="letter_Q"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> +</td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> +</td><td><a class="el" href="classSocketEngine.html">SocketEngine</a> </td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a> </td><td><a class="el" href="classDNS.html">DNS</a> </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">hash< in_addr ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModeParameter.html">ModeParameter</a> </td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td></tr><tr><td><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> B </div></td></tr></table> +</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a> </td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">hash< string ></a> (<a class="el" href="namespacenspace.html">nspace</a>) </td><td><a class="el" href="classModule.html">Module</a> </td><td><a name="letter_U"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> U </div></td></tr></table> +</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a> </td><td><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> E </div></td></tr></table> +</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="classucrec.html">ucrec</a> </td></tr><tr><td><a class="el" href="classBoolSet.html">BoolSet</a> </td><td><a class="el" href="classELine.html">ELine</a> </td><td><a name="letter_I"></a><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><a class="el" href="classuserrec.html">userrec</a> </td></tr><tr><td><a name="letter_C"></a><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="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a name="letter_Q"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Q </div></td></tr></table> </td><td><a name="letter_V"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> V </div></td></tr></table> -</td></tr><tr><td><a name="letter_C"></a><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="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a class="el" href="classQLine.html">QLine</a> </td><td><a class="el" href="classVersion.html">Version</a> </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="classInspSocket.html">InspSocket</a> </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </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="classInspIRCd.html">InspIRCd</a> </td><td><a class="el" href="classQLine.html">QLine</a> </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="classInspSocket.html">InspSocket</a> </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> </td><td><a name="letter_W"></a><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="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="classInvited.html">Invited</a> </td><td><a class="el" href="classRequest.html">Request</a> </td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a> </td><td><a class="el" href="classExtMode.html">ExtMode</a> </td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </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><a class="el" href="classInvited.html">Invited</a> </td><td><a class="el" href="classRequest.html">Request</a> </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><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> +</td><td><a class="el" href="classInviteItem.html">InviteItem</a> </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> S </div></td></tr></table> </td><td><a name="letter_X"></a><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="classcommand__t.html">command_t</a> </td><td><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> -</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><a class="el" href="classServer.html">Server</a> </td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a> </td><td><a class="el" href="classFileReader.html">FileReader</a> </td><td><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </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><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>) </td><td><a class="el" href="classServer.html">Server</a> </td><td><a class="el" href="classXLine.html">XLine</a> </td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a name="letter_G"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> +</td><td><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> K </div></td></tr></table> </td><td><a class="el" href="classServerConfig.html">ServerConfig</a> </td><td><a name="letter_Z"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> Z </div></td></tr></table> -</td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a> </td><td><a name="letter_G"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> G </div></td></tr></table> -</td><td><a class="el" href="classKLine.html">KLine</a> </td><td><a class="el" href="classSocketEngine.html">SocketEngine</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </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 name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> -</td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_B">B</a> | <a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_E">E</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_G">G</a> | <a class="qindex" href="#letter_H">H</a> | <a class="qindex" href="#letter_I">I</a> | <a class="qindex" href="#letter_K">K</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_Q">Q</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_U">U</a> | <a class="qindex" href="#letter_V">V</a> | <a class="qindex" href="#letter_W">W</a> | <a class="qindex" href="#letter_X">X</a> | <a class="qindex" href="#letter_Z">Z</a></div><p> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 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="classKLine.html">KLine</a> </td><td><a class="el" href="classserverstats.html">serverstats</a> </td><td><a class="el" href="classZLine.html">ZLine</a> </td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_B">B</a> | <a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_E">E</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_G">G</a> | <a class="qindex" href="#letter_H">H</a> | <a class="qindex" href="#letter_I">I</a> | <a class="qindex" href="#letter_K">K</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_Q">Q</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_U">U</a> | <a class="qindex" href="#letter_V">V</a> | <a class="qindex" href="#letter_W">W</a> | <a class="qindex" href="#letter_X">X</a> | <a class="qindex" href="#letter_Z">Z</a></div><p> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classserverstats-members.html b/docs/module-doc/classserverstats-members.html new file mode 100644 index 000000000..c214ec3a5 --- /dev/null +++ b/docs/module-doc/classserverstats-members.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 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.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>serverstats Member List</h1>This is the complete list of members for <a class="el" href="classserverstats.html">serverstats</a>, including all inherited members.<p><table> + <tr class="memlist"><td><a class="el" href="classserverstats.html#serverstats_28_29">serverstats</a>()</td><td><a class="el" href="classserverstats.html">serverstats</a></td><td><code> [inline]</code></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsAccept">statsAccept</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsCollisions">statsCollisions</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsConnects">statsConnects</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsDns">statsDns</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsDnsBad">statsDnsBad</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsDnsGood">statsDnsGood</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsRecv">statsRecv</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsRefused">statsRefused</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsSent">statsSent</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> + <tr class="memlist"><td><a class="el" href="classserverstats.html#statsUnknown">statsUnknown</a></td><td><a class="el" href="classserverstats.html">serverstats</a></td><td></td></tr> +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classserverstats.html b/docs/module-doc/classserverstats.html new file mode 100644 index 000000000..339a96961 --- /dev/null +++ b/docs/module-doc/classserverstats.html @@ -0,0 +1,359 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: serverstats Class Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<h1>serverstats Class Reference</h1><!-- doxytag: class="serverstats" --><code>#include <<a class="el" href="inspircd_8h-source.html">inspircd.h</a>></code> +<p> +Collaboration diagram for serverstats:<p><center><img src="classserverstats__coll__graph.gif" border="0" usemap="#serverstats__coll__map" alt="Collaboration graph"></center> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classserverstats-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#serverstats_28_29">serverstats</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsAccept">statsAccept</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsRefused">statsRefused</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsUnknown">statsUnknown</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsCollisions">statsCollisions</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsDns">statsDns</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsDnsGood">statsDnsGood</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsDnsBad">statsDnsBad</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsConnects">statsConnects</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsSent">statsSent</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html#statsRecv">statsRecv</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00072">72</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="serverstats_28_29"></a><!-- doxytag: member="serverstats::serverstats" ref="serverstats_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">serverstats::serverstats </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> [inline]</code></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00086">86</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +References <a class="el" href="inspircd_8h-source.html#l00075">statsAccept</a>, <a class="el" href="inspircd_8h-source.html#l00078">statsCollisions</a>, <a class="el" href="inspircd_8h-source.html#l00082">statsConnects</a>, <a class="el" href="inspircd_8h-source.html#l00079">statsDns</a>, <a class="el" href="inspircd_8h-source.html#l00081">statsDnsBad</a>, <a class="el" href="inspircd_8h-source.html#l00080">statsDnsGood</a>, <a class="el" href="inspircd_8h-source.html#l00084">statsRecv</a>, <a class="el" href="inspircd_8h-source.html#l00076">statsRefused</a>, <a class="el" href="inspircd_8h-source.html#l00083">statsSent</a>, and <a class="el" href="inspircd_8h-source.html#l00077">statsUnknown</a>.<div class="fragment"><pre class="fragment"><a name="l00087"></a>00087 { +<a name="l00088"></a>00088 <a class="code" href="classserverstats.html#statsAccept">statsAccept</a> = <a class="code" href="classserverstats.html#statsRefused">statsRefused</a> = <a class="code" href="classserverstats.html#statsUnknown">statsUnknown</a> = 0; +<a name="l00089"></a>00089 <a class="code" href="classserverstats.html#statsCollisions">statsCollisions</a> = <a class="code" href="classserverstats.html#statsDns">statsDns</a> = <a class="code" href="classserverstats.html#statsDnsGood">statsDnsGood</a> = 0; +<a name="l00090"></a>00090 <a class="code" href="classserverstats.html#statsDnsBad">statsDnsBad</a> = <a class="code" href="classserverstats.html#statsConnects">statsConnects</a> = <a class="code" href="classserverstats.html#statsSent">statsSent</a> = <a class="code" href="classserverstats.html#statsRecv">statsRecv</a> = 0; +<a name="l00091"></a>00091 } +</pre></div> +<p> + </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="statsAccept"></a><!-- doxytag: member="serverstats::statsAccept" ref="statsAccept" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsAccept">serverstats::statsAccept</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00075">75</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsCollisions"></a><!-- doxytag: member="serverstats::statsCollisions" ref="statsCollisions" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsCollisions">serverstats::statsCollisions</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00078">78</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsConnects"></a><!-- doxytag: member="serverstats::statsConnects" ref="statsConnects" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsConnects">serverstats::statsConnects</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00082">82</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsDns"></a><!-- doxytag: member="serverstats::statsDns" ref="statsDns" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsDns">serverstats::statsDns</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00079">79</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsDnsBad"></a><!-- doxytag: member="serverstats::statsDnsBad" ref="statsDnsBad" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsDnsBad">serverstats::statsDnsBad</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00081">81</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsDnsGood"></a><!-- doxytag: member="serverstats::statsDnsGood" ref="statsDnsGood" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsDnsGood">serverstats::statsDnsGood</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00080">80</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsRecv"></a><!-- doxytag: member="serverstats::statsRecv" ref="statsRecv" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsRecv">serverstats::statsRecv</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00084">84</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsRefused"></a><!-- doxytag: member="serverstats::statsRefused" ref="statsRefused" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsRefused">serverstats::statsRefused</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00076">76</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsSent"></a><!-- doxytag: member="serverstats::statsSent" ref="statsSent" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsSent">serverstats::statsSent</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00083">83</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<a class="anchor" name="statsUnknown"></a><!-- doxytag: member="serverstats::statsUnknown" ref="statsUnknown" args="" --><p> +<table class="mdTable" 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="classserverstats.html#statsUnknown">serverstats::statsUnknown</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00077">77</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="inspircd_8h-source.html#l00086">serverstats()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="inspircd_8h-source.html">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/classserverstats__coll__graph.gif b/docs/module-doc/classserverstats__coll__graph.gif Binary files differnew file mode 100644 index 000000000..337b49865 --- /dev/null +++ b/docs/module-doc/classserverstats__coll__graph.gif diff --git a/docs/module-doc/classserverstats__coll__graph.map b/docs/module-doc/classserverstats__coll__graph.map new file mode 100644 index 000000000..5a14779e7 --- /dev/null +++ b/docs/module-doc/classserverstats__coll__graph.map @@ -0,0 +1 @@ +base referer diff --git a/docs/module-doc/classserverstats__coll__graph.md5 b/docs/module-doc/classserverstats__coll__graph.md5 new file mode 100644 index 000000000..bebb257cf --- /dev/null +++ b/docs/module-doc/classserverstats__coll__graph.md5 @@ -0,0 +1 @@ +0d72c6ae7afecc93452896afbba8a691
\ No newline at end of file diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html index 880c4e4ee..f89c32613 100644 --- a/docs/module-doc/classstd_1_1char__traits.html +++ b/docs/module-doc/classstd_1_1char__traits.html @@ -14,7 +14,7 @@ </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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index a5c3c529a..7b2e09572 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -13,7 +13,7 @@ <tr class="memlist"><td><a class="el" href="classucrec.html#ucrec_28_29">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#_7Eclassbase_28_29">~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#_7Eucrec_28_29">~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 Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 67682559c..96fce0cc8 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -41,7 +41,7 @@ The uc_modes member holds a bitmask of which privilages the user has on the chan <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00241">241</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +Definition at line <a class="el" href="channels_8h-source.html#l00243">243</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="ucrec_28_29"></a><!-- doxytag: member="ucrec::ucrec" ref="ucrec_28_29" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -68,7 +68,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00241">241</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00254">254</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00254"></a>00254 { <span class="comment">/* stub */</span> } +Definition at line <a class="el" href="channels_8h-source.html#l00256">256</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00256"></a>00256 { <span class="comment">/* stub */</span> } </pre></div> <p> </td> @@ -100,7 +100,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00254">254</a> o <p> <p> -Definition at line <a class="el" href="channels_8h-source.html#l00255">255</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { <span class="comment">/* stub */</span> } +Definition at line <a class="el" href="channels_8h-source.html#l00257">257</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<div class="fragment"><pre class="fragment"><a name="l00257"></a>00257 { <span class="comment">/* stub */</span> } </pre></div> <p> </td> @@ -131,7 +131,9 @@ Points to the channel record where the given modes apply. <p> If the record is not in use, this value will be NULL. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00252">252</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00254">254</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#l00372">ForceChan()</a>. </td> </tr> </table> <a class="anchor" name="uc_5Fmodes"></a><!-- doxytag: member="ucrec::uc_modes" ref="uc_5Fmodes" args="" --><p> @@ -158,12 +160,14 @@ Contains a bitmask of the UCMODE_OP . <p> .. UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel. <p> -Definition at line <a class="el" href="channels_8h-source.html#l00247">247</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td> +Definition at line <a class="el" href="channels_8h-source.html#l00249">249</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#l00372">ForceChan()</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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 5a1fa02a5..6779391fd 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -70,7 +70,7 @@ <tr class="memlist"><td><a class="el" href="classuserrec.html#WriteError">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#_7Eclassbase_28_29">~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#_7Euserrec_28_29">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 9592f072d..dda1f1255 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -182,7 +182,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00111">111</a> of f <p> Definition at line <a class="el" href="users_8cpp-source.html#l00036">36</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00158">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00054">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="users_8h-source.html#l00149">chans</a>, <a class="el" href="connection_8h-source.html#l00062">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00181">dns_done</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="users_8h-source.html#l00164">flood</a>, <a class="el" href="users_8h-source.html#l00138">fullname</a>, <a class="el" href="connection_8h-source.html#l00070">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, <a class="el" href="connection_8h-source.html#l00092">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00117">invites</a>, <a class="el" href="connection_8h-source.html#l00050">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00084">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00206">lines_in</a>, <a class="el" href="users_8h-source.html#l00147">modes</a>, <a class="el" href="users_8h-source.html#l00124">nick</a>, <a class="el" href="connection_8h-source.html#l00096">connection::nping</a>, <a class="el" href="users_8h-source.html#l00177">oper</a>, <a class="el" href="connection_8h-source.html#l00076">connection::port</a>, <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="connection_8h-source.html#l00080">connection::registered</a>, <a class="el" href="users_8h-source.html#l00207">reset_due</a>, <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00153">server</a>, <a class="el" href="inspircd__io_8h-source.html#l00068">ServerConfig::ServerName</a>, <a class="el" href="connection_8h-source.html#l00088">connection::signon</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, and <a class="el" href="users_8h-source.html#l00170">timeout</a>.<div class="fragment"><pre class="fragment"><a name="l00037"></a>00037 { +References <a class="el" href="users_8h-source.html#l00158">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00054">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="users_8h-source.html#l00149">chans</a>, <a class="el" href="connection_8h-source.html#l00062">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00181">dns_done</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">FindServerNamePtr()</a>, <a class="el" href="users_8h-source.html#l00164">flood</a>, <a class="el" href="users_8h-source.html#l00138">fullname</a>, <a class="el" href="connection_8h-source.html#l00070">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, <a class="el" href="connection_8h-source.html#l00092">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00117">invites</a>, <a class="el" href="connection_8h-source.html#l00050">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00084">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00206">lines_in</a>, <a class="el" href="users_8h-source.html#l00147">modes</a>, <a class="el" href="users_8h-source.html#l00124">nick</a>, <a class="el" href="connection_8h-source.html#l00096">connection::nping</a>, <a class="el" href="users_8h-source.html#l00177">oper</a>, <a class="el" href="connection_8h-source.html#l00076">connection::port</a>, <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="connection_8h-source.html#l00080">connection::registered</a>, <a class="el" href="users_8h-source.html#l00207">reset_due</a>, <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00153">server</a>, <a class="el" href="inspircd__io_8h-source.html#l00068">ServerConfig::ServerName</a>, <a class="el" href="connection_8h-source.html#l00088">connection::signon</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, and <a class="el" href="users_8h-source.html#l00170">timeout</a>.<div class="fragment"><pre class="fragment"><a name="l00037"></a>00037 { <a name="l00038"></a>00038 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span> <a name="l00039"></a>00039 strcpy(<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<span class="stringliteral">""</span>); <a name="l00040"></a>00040 strcpy(<a class="code" href="classconnection.html#ip_5B_31_36_5D">ip</a>,<span class="stringliteral">"127.0.0.1"</span>); @@ -192,7 +192,7 @@ References <a class="el" href="users_8h-source.html#l00158">awaymsg</a>, <a clas <a name="l00044"></a>00044 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>); <a name="l00045"></a>00045 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>); <a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>); -<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>); +<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)<a class="code" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">FindServerNamePtr</a>(<a class="code" href="channels_8cpp.html#Config">Config</a>-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>); <a name="l00048"></a>00048 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>); <a name="l00049"></a>00049 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>); <a name="l00050"></a>00050 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>; @@ -276,7 +276,7 @@ The buffer can grow to any size within limits of the available memory, managed b <p> Definition at line <a class="el" href="users_8cpp-source.html#l00198">198</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="users_8h-source.html#l00220">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00292">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00199"></a>00199 { +References <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="users_8h-source.html#l00220">recvqmax</a>, <a class="el" href="users_8cpp-source.html#l00292">SetWriteError()</a>, and <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers()</a>.<div class="fragment"><pre class="fragment"><a name="l00199"></a>00199 { <a name="l00200"></a>00200 <a class="code" href="namespaceirc.html#string">std::string</a> b = <span class="stringliteral">""</span>; <a name="l00201"></a>00201 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < a.length(); i++) <a name="l00202"></a>00202 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) && (a[i] != <span class="charliteral">'\0'</span>) && (a[i] != 7)) @@ -294,7 +294,7 @@ References <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class= <a name="l00214"></a>00214 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() > (unsigned)this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>) <a name="l00215"></a>00215 { <a name="l00216"></a>00216 this-><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -<a name="l00217"></a>00217 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>); +<a name="l00217"></a>00217 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>); <a name="l00218"></a>00218 } <a name="l00219"></a>00219 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> <a name="l00220"></a>00220 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> @@ -336,12 +336,12 @@ You may add any amount of text up to this users sendq value, if you exceed the s <p> Definition at line <a class="el" href="users_8cpp-source.html#l00254">254</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00216">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00292">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { +References <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00216">sendqmax</a>, <a class="el" href="users_8cpp-source.html#l00292">SetWriteError()</a>, and <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers()</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 { <a name="l00256"></a>00256 <span class="keywordflow">if</span> (this->GetWriteError() != <span class="stringliteral">""</span>) <a name="l00257"></a>00257 <span class="keywordflow">return</span>; <a name="l00258"></a>00258 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() > (unsigned)this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>) <a name="l00259"></a>00259 { -<a name="l00260"></a>00260 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>); +<a name="l00260"></a>00260 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>); <a name="l00261"></a>00261 this-><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); <a name="l00262"></a>00262 <span class="keywordflow">return</span>; <a name="l00263"></a>00263 } @@ -427,7 +427,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00232">232</a> of <p> References <a class="el" href="users_8h-source.html#l00197">recvq</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00233"></a>00233 { +Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00233"></a>00233 { <a name="l00234"></a>00234 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>; <a name="l00235"></a>00235 } </pre></div> @@ -607,7 +607,9 @@ Returns the full displayed host of the user This member function returns the hos <p> Definition at line <a class="el" href="users_8cpp-source.html#l00072">72</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, and <a class="el" href="users_8h-source.html#l00124">nick</a>.<div class="fragment"><pre class="fragment"><a name="l00073"></a>00073 { +References <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, and <a class="el" href="users_8h-source.html#l00124">nick</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00073"></a>00073 { <a name="l00074"></a>00074 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF]; <a name="l00075"></a>00075 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>); <a name="l00076"></a>00076 <span class="keywordflow">return</span> result; @@ -892,7 +894,9 @@ Returns true if a user is invited to a channel. <p> Definition at line <a class="el" href="users_8cpp-source.html#l00096">96</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="users_8h-source.html#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00097"></a>00097 { +References <a class="el" href="users_8h-source.html#l00117">invites</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00097"></a>00097 { <a name="l00098"></a>00098 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++) <a name="l00099"></a>00099 { <a name="l00100"></a>00100 <span class="keywordflow">if</span> (i->channel) { @@ -990,8 +994,10 @@ This member function is called on successfully joining an invite only channel to <p> Definition at line <a class="el" href="users_8cpp-source.html#l00122">122</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00123"></a>00123 { -<a name="l00124"></a>00124 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="users_8h-source.html#l00117">invites</a>, and <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00123"></a>00123 { +<a name="l00124"></a>00124 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); <a name="l00125"></a>00125 <span class="keywordflow">if</span> (channel) <a name="l00126"></a>00126 { <a name="l00127"></a>00127 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size()) @@ -1046,10 +1052,10 @@ This is done because the actual disconnect of a client may occur at an inopportu <p> Definition at line <a class="el" href="users_8cpp-source.html#l00292">292</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. <p> -References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00212">WriteError</a>. +References <a class="el" href="inspircd__io_8h-source.html#l00028">DEBUG</a>, <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>, and <a class="el" href="users_8h-source.html#l00212">WriteError</a>. <p> Referenced by <a class="el" href="users_8cpp-source.html#l00198">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00254">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00270">FlushWriteBuf()</a>.<div class="fragment"><pre class="fragment"><a name="l00293"></a>00293 { -<a name="l00294"></a>00294 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +<a name="l00294"></a>00294 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); <a name="l00295"></a>00295 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> <a name="l00296"></a>00296 <span class="keywordflow">if</span> (this->WriteError == <span class="stringliteral">""</span>) <a name="l00297"></a>00297 this-><a class="code" href="classuserrec.html#WriteError">WriteError</a> = error; @@ -1113,7 +1119,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. <p> Definition at line <a class="el" href="users_8h-source.html#l00149">149</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#l00613">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> </tr> </table> <a class="anchor" name="dhost_5B_31_36_30_5D"></a><!-- doxytag: member="userrec::dhost" ref="dhost_5B_31_36_30_5D" args="[160]" --><p> @@ -1258,7 +1264,7 @@ Two characters are added to the user-defined limit to compensate for the tilde e <p> Definition at line <a class="el" href="users_8h-source.html#l00129">129</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#l00072">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00089">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00072">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00089">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="invites"></a><!-- doxytag: member="userrec::invites" ref="invites" args="" --><p> @@ -1345,7 +1351,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#l00147">147</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#l00036">userrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> </tr> </table> <a class="anchor" name="nick_5BNICKMAX_5D"></a><!-- doxytag: member="userrec::nick" ref="nick_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -1374,7 +1380,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#l00124">124</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#l00838">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00072">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00089">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00613">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00830">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00072">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00089">GetFullRealHost()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> </tr> </table> <a class="anchor" name="oper_5BNICKMAX_5D"></a><!-- doxytag: member="userrec::oper" ref="oper_5BNICKMAX_5D" args="[NICKMAX]" --><p> @@ -1629,7 +1635,7 @@ The server the user is connected to. <p> Definition at line <a class="el" href="users_8h-source.html#l00153">153</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#l00036">userrec()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="users_8cpp-source.html#l00036">userrec()</a>. </td> </tr> </table> <a class="anchor" name="threshold"></a><!-- doxytag: member="userrec::threshold" ref="threshold" args="" --><p> @@ -1715,7 +1721,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00300">GetWriteError() </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 Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index 46b8db3d3..e356b5056 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -97,7 +97,7 @@ <a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">do_whois</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classuserrec.html">userrec</a>* dest,<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> signon, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> idle, <span class="keywordtype">char</span>* nick); <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index c960cfd65..d29dad4f9 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -27,8 +27,9 @@ Include dependency graph for commands.h:<p><center><img src="commands_8h__incl.g <p> This graph shows which files directly or indirectly include this file:<p><center><img src="commands_8h__dep__incl.gif" border="0" usemap="#commands.hdep_map" alt=""></center> <map name="commands.hdep_map"> -<area href="modules_8cpp-source.html" shape="rect" coords="154,7,252,34" alt=""> -<area href="users_8cpp-source.html" shape="rect" coords="163,58,243,84" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="155,7,253,33" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="155,57,253,84" alt=""> +<area href="users_8cpp-source.html" shape="rect" coords="164,108,244,135" alt=""> </map> <p> @@ -232,7 +233,7 @@ Other useful functions. <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00693">Server::CalcDuration()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00685">Server::CalcDuration()</a>. </td> </tr> </table> <a class="anchor" name="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="commands.h::handle_admin" ref="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p> @@ -2459,10 +2460,10 @@ Functions for u:lined servers. <p> <p> -Referenced by <a class="el" href="users_8cpp-source.html#l00144">userrec::HasPermission()</a>, and <a class="el" href="modules_8cpp-source.html#l00399">Server::IsUlined()</a>. </td> +Referenced by <a class="el" href="users_8cpp-source.html#l00144">userrec::HasPermission()</a>, <a class="el" href="modules_8cpp-source.html#l00391">Server::IsUlined()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/commands_8h__dep__incl.gif b/docs/module-doc/commands_8h__dep__incl.gif Binary files differindex 9c1fd4e97..ce28e5786 100644 --- a/docs/module-doc/commands_8h__dep__incl.gif +++ b/docs/module-doc/commands_8h__dep__incl.gif diff --git a/docs/module-doc/commands_8h__dep__incl.map b/docs/module-doc/commands_8h__dep__incl.map index 40f4817a8..26890d2cd 100644 --- a/docs/module-doc/commands_8h__dep__incl.map +++ b/docs/module-doc/commands_8h__dep__incl.map @@ -1,3 +1,4 @@ base referer -rect $modules_8cpp-source.html 154,7 252,34 -rect $users_8cpp-source.html 163,58 243,84 +rect $channels_8cpp-source.html 155,7 253,33 +rect $modules_8cpp-source.html 155,57 253,84 +rect $users_8cpp-source.html 164,108 244,135 diff --git a/docs/module-doc/commands_8h__dep__incl.md5 b/docs/module-doc/commands_8h__dep__incl.md5 index f583a9c38..d45b67fd3 100644 --- a/docs/module-doc/commands_8h__dep__incl.md5 +++ b/docs/module-doc/commands_8h__dep__incl.md5 @@ -1 +1 @@ -ccb4ab234f9170cb8c946ac0da24c81d
\ No newline at end of file +779a17861bcecad946539378f1f9eeb8
\ No newline at end of file diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 35ad1f235..e4e28adff 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -82,7 +82,7 @@ <a name="l00107"></a>00107 <span class="preprocessor">#endif</span> <a name="l00108"></a>00108 <span class="preprocessor"></span> <a name="l00109"></a>00109 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 62f2424db..bc368f1b1 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -31,16 +31,8 @@ Include dependency graph for connection.h:<p><center><img src="connection_8h__in <p> This graph shows which files directly or indirectly include this file:<p><center><img src="connection_8h__dep__incl.gif" border="0" usemap="#connection.hdep_map" alt=""></center> <map name="connection.hdep_map"> -<area href="users_8cpp-source.html" shape="rect" coords="434,57,514,84" alt=""> -<area href="users_8h-source.html" shape="rect" coords="155,235,219,261" alt=""> -<area href="channels_8cpp-source.html" shape="rect" coords="424,387,523,413" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="424,285,523,312" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="272,108,371,135" alt=""> -<area href="message_8h-source.html" shape="rect" coords="279,361,364,388" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="288,412,355,439" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="279,159,364,185" alt=""> -<area href="userprocess_8h-source.html" shape="rect" coords="270,209,374,236" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="291,311,352,337" alt=""> +<area href="users_8cpp-source.html" shape="rect" coords="268,32,348,59" alt=""> +<area href="users_8h-source.html" shape="rect" coords="155,58,219,84" alt=""> </map> <p> @@ -51,7 +43,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="mdescLeft"> </td><td class="mdescRight">Please note: classes serverrec and userrec both inherit from class connection. <a href="classconnection.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/connection_8h__dep__incl.gif b/docs/module-doc/connection_8h__dep__incl.gif Binary files differindex c64a82a3c..7b447f6ad 100644 --- a/docs/module-doc/connection_8h__dep__incl.gif +++ b/docs/module-doc/connection_8h__dep__incl.gif diff --git a/docs/module-doc/connection_8h__dep__incl.map b/docs/module-doc/connection_8h__dep__incl.map index c3efed18d..537d63375 100644 --- a/docs/module-doc/connection_8h__dep__incl.map +++ b/docs/module-doc/connection_8h__dep__incl.map @@ -1,11 +1,3 @@ base referer -rect $users_8cpp-source.html 434,57 514,84 -rect $users_8h-source.html 155,235 219,261 -rect $channels_8cpp-source.html 424,387 523,413 -rect $modules_8cpp-source.html 424,285 523,312 -rect $commands_8h-source.html 272,108 371,135 -rect $message_8h-source.html 279,361 364,388 -rect $mode_8h-source.html 288,412 355,439 -rect $typedefs_8h-source.html 279,159 364,185 -rect $userprocess_8h-source.html 270,209 374,236 -rect $xline_8h-source.html 291,311 352,337 +rect $users_8cpp-source.html 268,32 348,59 +rect $users_8h-source.html 155,58 219,84 diff --git a/docs/module-doc/connection_8h__dep__incl.md5 b/docs/module-doc/connection_8h__dep__incl.md5 index 613f1d7f7..f230951e3 100644 --- a/docs/module-doc/connection_8h__dep__incl.md5 +++ b/docs/module-doc/connection_8h__dep__incl.md5 @@ -1 +1 @@ -c5ffe3853fdba64837971f3d30d71f14
\ No newline at end of file +48392e1e3cdad2c3fa929f7ffbab3e13
\ No newline at end of file diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 7f6998b81..e0a06f50f 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -27,14 +27,14 @@ <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __CTABLES_H__</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "inspircd_config.h"</span> -<a name="l00021"></a>00021 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span> <a name="l00023"></a>00023 <a name="l00026"></a><a class="code" href="classcommand__t.html">00026</a> <span class="keyword">class </span><a class="code" href="classcommand__t.html">command_t</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a> <a name="l00027"></a>00027 { <a name="l00028"></a>00028 <span class="keyword">public</span>: <a name="l00031"></a><a class="code" href="classcommand__t.html#command_5BMAXBUF_5D">00031</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#command_5BMAXBUF_5D">command</a>[MAXBUF]; -<a name="l00034"></a><a class="code" href="classcommand__t.html#handler_5Ffunction">00034</a> handlerfunc *<a class="code" href="classcommand__t.html#handler_5Ffunction">handler_function</a>; +<a name="l00034"></a><a class="code" href="classcommand__t.html#handler_5Ffunction">00034</a> <a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> *<a class="code" href="classcommand__t.html#handler_5Ffunction">handler_function</a>; <a name="l00037"></a><a class="code" href="classcommand__t.html#flags_5Fneeded">00037</a> <span class="keywordtype">char</span> <a class="code" href="classcommand__t.html#flags_5Fneeded">flags_needed</a>; <a name="l00040"></a><a class="code" href="classcommand__t.html#min_5Fparams">00040</a> <span class="keywordtype">int</span> <a class="code" href="classcommand__t.html#min_5Fparams">min_params</a>; <a name="l00043"></a><a class="code" href="classcommand__t.html#use_5Fcount">00043</a> <span class="keywordtype">long</span> <a class="code" href="classcommand__t.html#use_5Fcount">use_count</a>; @@ -44,7 +44,7 @@ <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="preprocessor">#endif</span> <a name="l00053"></a>00053 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index eddf9defc..0c38e802d 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -8,22 +8,23 @@ <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</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="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include "<a class="el" href="base_8h-source.html">base.h</a>"</code><br> <p> Include dependency graph for ctables.h:<p><center><img src="ctables_8h__incl.gif" border="0" usemap="#ctables.h_map" alt=""></center> <map name="ctables.h_map"> +<area href="inspircd_8h-source.html" shape="rect" coords="132,57,212,84" alt=""> <area href="base_8h-source.html" shape="rect" coords="141,108,203,135" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="ctables_8h__dep__incl.gif" border="0" usemap="#ctables.hdep_map" alt=""></center> <map name="ctables.hdep_map"> -<area href="channels_8cpp-source.html" shape="rect" coords="267,7,365,33" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="415,108,513,135" alt=""> -<area href="modules_8h-source.html" shape="rect" coords="133,57,216,84" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="273,108,359,135" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="400,58,499,84" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="400,159,499,186" alt=""> +<area href="modules_8h-source.html" shape="rect" coords="134,108,216,135" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="266,58,351,84" alt=""> </map> <p> @@ -34,7 +35,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. <a href="classcommand__t.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:16 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/ctables_8h__dep__incl.gif b/docs/module-doc/ctables_8h__dep__incl.gif Binary files differindex 175dc53ee..d91d35317 100644 --- a/docs/module-doc/ctables_8h__dep__incl.gif +++ b/docs/module-doc/ctables_8h__dep__incl.gif diff --git a/docs/module-doc/ctables_8h__dep__incl.map b/docs/module-doc/ctables_8h__dep__incl.map index 2b918e669..87b8aefa4 100644 --- a/docs/module-doc/ctables_8h__dep__incl.map +++ b/docs/module-doc/ctables_8h__dep__incl.map @@ -1,5 +1,5 @@ base referer -rect $channels_8cpp-source.html 267,7 365,33 -rect $modules_8cpp-source.html 415,108 513,135 -rect $modules_8h-source.html 133,57 216,84 -rect $typedefs_8h-source.html 273,108 359,135 +rect $channels_8cpp-source.html 400,58 499,84 +rect $modules_8cpp-source.html 400,159 499,186 +rect $modules_8h-source.html 134,108 216,135 +rect $typedefs_8h-source.html 266,58 351,84 diff --git a/docs/module-doc/ctables_8h__dep__incl.md5 b/docs/module-doc/ctables_8h__dep__incl.md5 index 5b3718c8e..3307d14f6 100644 --- a/docs/module-doc/ctables_8h__dep__incl.md5 +++ b/docs/module-doc/ctables_8h__dep__incl.md5 @@ -1 +1 @@ -7aa3594f0112e287bece8166ab6a151c
\ No newline at end of file +6858a245b05b677af1e0f72cce2d967f
\ No newline at end of file diff --git a/docs/module-doc/ctables_8h__incl.gif b/docs/module-doc/ctables_8h__incl.gif Binary files differindex 4920046dd..60de0f9c6 100644 --- a/docs/module-doc/ctables_8h__incl.gif +++ b/docs/module-doc/ctables_8h__incl.gif diff --git a/docs/module-doc/ctables_8h__incl.map b/docs/module-doc/ctables_8h__incl.map index bfaa35cac..413e1a566 100644 --- a/docs/module-doc/ctables_8h__incl.map +++ b/docs/module-doc/ctables_8h__incl.map @@ -1,2 +1,3 @@ base referer +rect $inspircd_8h-source.html 132,57 212,84 rect $base_8h-source.html 141,108 203,135 diff --git a/docs/module-doc/ctables_8h__incl.md5 b/docs/module-doc/ctables_8h__incl.md5 index b510b2d77..8cde4cbba 100644 --- a/docs/module-doc/ctables_8h__incl.md5 +++ b/docs/module-doc/ctables_8h__incl.md5 @@ -1 +1 @@ -d5431bcb76ccd0bce090bde6c22e93eb
\ No newline at end of file +4bac505726c8cdd742349b74377d3ac3
\ No newline at end of file diff --git a/docs/module-doc/dir_000000.html b/docs/module-doc/dir_000000.html index e07329a5b..3297fb792 100644 --- a/docs/module-doc/dir_000000.html +++ b/docs/module-doc/dir_000000.html @@ -20,7 +20,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000001.html">brain</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000001.html b/docs/module-doc/dir_000001.html index 9a0e80022..54683974a 100644 --- a/docs/module-doc/dir_000001.html +++ b/docs/module-doc/dir_000001.html @@ -21,7 +21,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000002.html">inspircd-cvs</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:51 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000002.html b/docs/module-doc/dir_000002.html index d2f1799fa..68847bb5e 100644 --- a/docs/module-doc/dir_000002.html +++ b/docs/module-doc/dir_000002.html @@ -21,7 +21,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000003.html">inspircd</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000003.html b/docs/module-doc/dir_000003.html index bd1c212a2..6b733d943 100644 --- a/docs/module-doc/dir_000003.html +++ b/docs/module-doc/dir_000003.html @@ -13,7 +13,7 @@ <map name="dir_000003_dep_map"> <area href="dir_000004.html" shape="rect" coords="39,172,111,220" alt=""> <area href="dir_000005.html" shape="rect" coords="39,76,111,124" alt=""> -<area href="dir_000005_000004.html" shape="rect" coords="75,147,91,160" alt=""> +<area href="dir_000005_000004.html" shape="rect" coords="75,147,90,160" alt=""> <area href="dir_000005_000004.html" shape="rect" coords="71,168,79,176" alt=""> <area href="dir_000003.html" shape="rect" coords="28,55,217,231" alt=""> <area href="dir_000002.html" shape="rect" coords="17,17,228,241" alt=""> @@ -26,7 +26,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">directory </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000005.html">src</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000003_dep.gif b/docs/module-doc/dir_000003_dep.gif Binary files differindex 8f270fee0..57efe33a6 100644 --- a/docs/module-doc/dir_000003_dep.gif +++ b/docs/module-doc/dir_000003_dep.gif diff --git a/docs/module-doc/dir_000003_dep.map b/docs/module-doc/dir_000003_dep.map index 43e9d1dd9..da683e754 100644 --- a/docs/module-doc/dir_000003_dep.map +++ b/docs/module-doc/dir_000003_dep.map @@ -1,7 +1,7 @@ base referer rect dir_000004.html 39,172 111,220 rect dir_000005.html 39,76 111,124 -rect dir_000005_000004.html 75,147 91,160 +rect dir_000005_000004.html 75,147 90,160 rect dir_000005_000004.html 71,168 79,176 rect dir_000003.html 28,55 217,231 rect dir_000002.html 17,17 228,241 diff --git a/docs/module-doc/dir_000004.html b/docs/module-doc/dir_000004.html index f7af0bb30..e22bf124b 100644 --- a/docs/module-doc/dir_000004.html +++ b/docs/module-doc/dir_000004.html @@ -29,8 +29,12 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="dns_8h.html">dns.h</a> <a href="dns_8h-source.html">[code]</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html">globals.h</a> <a href="globals_8h-source.html">[code]</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="hashcomp_8h.html">hashcomp.h</a> <a href="hashcomp_8h-source.html">[code]</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html">inspircd.h</a> <a href="inspircd_8h-source.html">[code]</a></td></tr> + <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a> <a href="inspircd__io_8h-source.html">[code]</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="message_8h.html">message.h</a> <a href="message_8h-source.html">[code]</a></td></tr> @@ -52,7 +56,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005.html b/docs/module-doc/dir_000005.html index b4752fb9d..8e30e0827 100644 --- a/docs/module-doc/dir_000005.html +++ b/docs/module-doc/dir_000005.html @@ -13,7 +13,7 @@ <map name="dir_000005_dep_map"> <area href="dir_000005.html" shape="rect" coords="28,55,100,103" alt=""> <area href="dir_000004.html" shape="rect" coords="28,151,100,199" alt=""> -<area href="dir_000005_000004.html" shape="rect" coords="64,125,80,139" alt=""> +<area href="dir_000005_000004.html" shape="rect" coords="65,125,79,139" alt=""> <area href="dir_000005_000004.html" shape="rect" coords="60,147,68,155" alt=""> <area href="dir_000003.html" shape="rect" coords="17,17,111,113" alt=""> </map> @@ -31,7 +31,7 @@ <tr><td class="memItemLeft" nowrap align="right" valign="top">file </td><td class="memItemRight" valign="bottom"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005_000004.html b/docs/module-doc/dir_000005_000004.html index d038bdadd..b97941555 100644 --- a/docs/module-doc/dir_000005_000004.html +++ b/docs/module-doc/dir_000005_000004.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> -<h3>src → include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="typedefs_8h.html">typedefs.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<h3>src → include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="globals_8h.html">globals.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="inspircd_8h.html">inspircd.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="typedefs_8h.html">typedefs.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="globals_8h.html">globals.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="inspircd_8h.html">inspircd.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="typedefs_8h.html">typedefs.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="inspircd_8h.html">inspircd.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a></td><td class="dirtab"><a class="el" href="globals_8h.html">globals.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a></td><td class="dirtab"><a class="el" href="inspircd_8h.html">inspircd.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socketengine_8cpp.html">socketengine.cpp</a></td><td class="dirtab"><a class="el" href="socketengine_8h.html">socketengine.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="inspircd_8h.html">inspircd.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dir_000005_dep.gif b/docs/module-doc/dir_000005_dep.gif Binary files differindex 41c07d90f..946e6e401 100644 --- a/docs/module-doc/dir_000005_dep.gif +++ b/docs/module-doc/dir_000005_dep.gif diff --git a/docs/module-doc/dir_000005_dep.map b/docs/module-doc/dir_000005_dep.map index 828963de3..230315694 100644 --- a/docs/module-doc/dir_000005_dep.map +++ b/docs/module-doc/dir_000005_dep.map @@ -1,6 +1,6 @@ base referer rect dir_000005.html 28,55 100,103 rect dir_000004.html 28,151 100,199 -rect dir_000005_000004.html 64,125 80,139 +rect dir_000005_000004.html 65,125 79,139 rect dir_000005_000004.html 60,147 68,155 rect dir_000003.html 17,17 111,113 diff --git a/docs/module-doc/dirs.html b/docs/module-doc/dirs.html index 17ae8e33b..310630555 100644 --- a/docs/module-doc/dirs.html +++ b/docs/module-doc/dirs.html @@ -21,7 +21,7 @@ </ul> </ul> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index 0da4207ee..0b07e2f90 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -75,7 +75,7 @@ <a name="l00098"></a>00098 }; <a name="l00099"></a>00099 <a name="l00100"></a>00100 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index 40c455429..2e4440242 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -25,7 +25,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border <tr><td class="mdescLeft"> </td><td class="mdescRight">The DNS class allows fast nonblocking resolution of hostnames and ip addresses. <a href="classDNS.html#_details">More...</a><br></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:16 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 9d421391e..39590f8aa 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -13,7 +13,9 @@ <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="globals_8h.html">globals.h</a> <a href="globals_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="inspircd_8h.html">inspircd.h</a> <a href="inspircd_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey"><a class="el" href="inspircd__io_8h.html">inspircd_io.h</a> <a href="inspircd__io_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> @@ -29,7 +31,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 Wed Dec 14 15:55:46 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 0f445f587..a2435f459 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -36,7 +36,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classclassbase.html#age">classbase</a><li>AllowHalfop : <a class="el" href="classServerConfig.html#AllowHalfop">ServerConfig</a><li>awaymsg : <a class="el" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x62.html b/docs/module-doc/functions_0x62.html index 55731bcdb..98cd0d1eb 100644 --- a/docs/module-doc/functions_0x62.html +++ b/docs/module-doc/functions_0x62.html @@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classVersion.html#Build">Version</a><li>bytes_in : <a class="el" href="classconnection.html#bytes_5Fin">connection</a><li>bytes_out : <a class="el" href="classconnection.html#bytes_5Fout">connection</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x63.html b/docs/module-doc/functions_0x63.html index 20d86f976..5aaa05f50 100644 --- a/docs/module-doc/functions_0x63.html +++ b/docs/module-doc/functions_0x63.html @@ -46,7 +46,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classchanrec.html#created">chanrec</a><li>CreateModule() : <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a><li>custom_modes : <a class="el" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">chanrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x64.html b/docs/module-doc/functions_0x64.html index 0ee844213..90af80165 100644 --- a/docs/module-doc/functions_0x64.html +++ b/docs/module-doc/functions_0x64.html @@ -49,7 +49,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServerConfig.html#DNSServer_5BMAXBUF_5D">ServerConfig</a><li>DumpErrors() : <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a><li>duration : <a class="el" href="classXLine.html#duration">XLine</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x65.html b/docs/module-doc/functions_0x65.html index 74cbd6e7e..41ba8f632 100644 --- a/docs/module-doc/functions_0x65.html +++ b/docs/module-doc/functions_0x65.html @@ -19,7 +19,9 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader</a><li>EnumerateValues() : <a class="el" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader</a><li>EnumValues() : <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig</a><li>eq() -: <a class="el" href="structirc_1_1irc__char__traits.html#eq_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a><li>error +: <a class="el" href="structirc_1_1irc__char__traits.html#eq_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a><li>erase_factory() +: <a class="el" href="classInspIRCd.html#erase_5Ffactory_28int_20j_29">InspIRCd</a><li>erase_module() +: <a class="el" href="classInspIRCd.html#erase_5Fmodule_28int_20j_29">InspIRCd</a><li>error : <a class="el" href="classConfigReader.html#error">ConfigReader</a><li>errorlog : <a class="el" href="classConfigReader.html#errorlog">ConfigReader</a><li>Event() : <a class="el" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event</a><li>Exists() @@ -27,7 +29,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>Extension_Items : <a class="el" href="classExtensible.html#Extension_5FItems">Extensible</a><li>ExtMode() : <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x66.html b/docs/module-doc/functions_0x66.html index e94f4d12d..05e498cca 100644 --- a/docs/module-doc/functions_0x66.html +++ b/docs/module-doc/functions_0x66.html @@ -30,7 +30,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a><li>fullname : <a class="el" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x67.html b/docs/module-doc/functions_0x67.html index 26ce0f1e7..529ab33d2 100644 --- a/docs/module-doc/functions_0x67.html +++ b/docs/module-doc/functions_0x67.html @@ -22,9 +22,9 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classConfigReader.html#GetError_28_29">ConfigReader</a><li>GetEventID() : <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt() : <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList() -: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD() -: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFd() -: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFullHost() +: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFd() +: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFD() +: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost() : <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList() : <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP() @@ -44,7 +44,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError() : <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x68.html b/docs/module-doc/functions_0x68.html index 3a117572c..4131e6476 100644 --- a/docs/module-doc/functions_0x68.html +++ b/docs/module-doc/functions_0x68.html @@ -20,7 +20,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classWhoWasUser.html#host_5B_31_36_30_5D">WhoWasUser</a>, <a class="el" href="classConnectClass.html#host_5BMAXBUF_5D">ConnectClass</a>, <a class="el" href="classInspSocket.html#host">InspSocket</a>, <a class="el" href="classconnection.html#host_5B_31_36_30_5D">connection</a><li>HostItem() : <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a><li>hostmask : <a class="el" href="classELine.html#hostmask_5B_32_30_30_5D">ELine</a>, <a class="el" href="classGLine.html#hostmask_5B_32_30_30_5D">GLine</a>, <a class="el" href="classKLine.html#hostmask_5B_32_30_30_5D">KLine</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x69.html b/docs/module-doc/functions_0x69.html index a13bf5c02..8d8478e5a 100644 --- a/docs/module-doc/functions_0x69.html +++ b/docs/module-doc/functions_0x69.html @@ -17,7 +17,8 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classEvent.html#id">Event</a><li>ident : <a class="el" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">userrec</a><li>idle_lastmsg : <a class="el" href="classconnection.html#idle_5Flastmsg">connection</a><li>include_stack -: <a class="el" href="classServerConfig.html#include_5Fstack">ServerConfig</a><li>InspSocket() +: <a class="el" href="classServerConfig.html#include_5Fstack">ServerConfig</a><li>InspIRCd() +: <a class="el" href="classInspIRCd.html#InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29">InspIRCd</a><li>InspSocket() : <a class="el" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">InspSocket</a><li>internal_userlist : <a class="el" href="classchanrec.html#internal_5Fuserlist">chanrec</a><li>Invert() : <a class="el" href="classBoolSet.html#Invert_28int_20number_29">BoolSet</a><li>invites @@ -34,7 +35,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask() : <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand() : <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6a.html b/docs/module-doc/functions_0x6a.html index 28b99da0e..a3db95b12 100644 --- a/docs/module-doc/functions_0x6a.html +++ b/docs/module-doc/functions_0x6a.html @@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_j">- j -</a></h3><ul> <li>JoinUserToChannel() : <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6b.html b/docs/module-doc/functions_0x6b.html index 857dc82b3..66cbdfb3f 100644 --- a/docs/module-doc/functions_0x6b.html +++ b/docs/module-doc/functions_0x6b.html @@ -15,7 +15,7 @@ Here is a list of all class members with links to the classes they belong to: <li>ke_list : <a class="el" href="classSocketEngine.html#ke_5Flist_5B_36_35_35_33_35_5D">SocketEngine</a><li>key : <a class="el" href="classchanrec.html#key_5B_33_32_5D">chanrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6c.html b/docs/module-doc/functions_0x6c.html index c5e7db11c..bff22b689 100644 --- a/docs/module-doc/functions_0x6c.html +++ b/docs/module-doc/functions_0x6c.html @@ -19,13 +19,14 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classuserrec.html#lines_5Fin">userrec</a><li>list : <a class="el" href="classExtMode.html#list">ExtMode</a><li>LoadConf() : <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig</a><li>LoadFile() -: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>localbuf +: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>LoadModule() +: <a class="el" href="classInspIRCd.html#LoadModule_28const_20char_20_2Afilename_29">InspIRCd</a><li>localbuf : <a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">DNS</a><li>Log() : <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>log_file : <a class="el" href="classServerConfig.html#log_5Ffile">ServerConfig</a><li>LogLevel : <a class="el" href="classServerConfig.html#LogLevel">ServerConfig</a><li>lt() : <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6d.html b/docs/module-doc/functions_0x6d.html index 52511f8c0..2541400f3 100644 --- a/docs/module-doc/functions_0x6d.html +++ b/docs/module-doc/functions_0x6d.html @@ -25,12 +25,12 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServerConfig.html#ModPath_5B_31_30_32_34_5D">ServerConfig</a><li>Module() : <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>module_names : <a class="el" href="classServerConfig.html#module_5Fnames">ServerConfig</a><li>ModuleFactory() -: <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a><li>MOTD -: <a class="el" href="classServerConfig.html#MOTD">ServerConfig</a><li>motd -: <a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">ServerConfig</a><li>MyExecutable +: <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a><li>motd +: <a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">ServerConfig</a><li>MOTD +: <a class="el" href="classServerConfig.html#MOTD">ServerConfig</a><li>MyExecutable : <a class="el" href="classServerConfig.html#MyExecutable_5B_31_30_32_34_5D">ServerConfig</a><li>myfd : <a class="el" href="classDNS.html#myfd">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6e.html b/docs/module-doc/functions_0x6e.html index c79e25497..e0ecf3df2 100644 --- a/docs/module-doc/functions_0x6e.html +++ b/docs/module-doc/functions_0x6e.html @@ -25,7 +25,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classAdmin.html#Nick">Admin</a><li>nofork : <a class="el" href="classServerConfig.html#nofork">ServerConfig</a><li>nping : <a class="el" href="classconnection.html#nping">connection</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x6f.html b/docs/module-doc/functions_0x6f.html index d72f64cc3..7593ac7e4 100644 --- a/docs/module-doc/functions_0x6f.html +++ b/docs/module-doc/functions_0x6f.html @@ -101,7 +101,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==() : <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|() : <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x70.html b/docs/module-doc/functions_0x70.html index 06285b174..ae7bf859b 100644 --- a/docs/module-doc/functions_0x70.html +++ b/docs/module-doc/functions_0x70.html @@ -23,12 +23,13 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classuserrec.html#pingmax">userrec</a><li>pingtime : <a class="el" href="classConnectClass.html#pingtime">ConnectClass</a><li>Poll() : <a class="el" href="classInspSocket.html#Poll_28_29">InspSocket</a><li>port -: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>PrefixQuit +: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>ports +: <a class="el" href="classServerConfig.html#ports_5B_32_35_35_5D">ServerConfig</a><li>PrefixQuit : <a class="el" href="classServerConfig.html#PrefixQuit_5BMAXBUF_5D">ServerConfig</a><li>ProtoSendMetaData() : <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode() : <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser() : <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x71.html b/docs/module-doc/functions_0x71.html index f82053366..786acc5fd 100644 --- a/docs/module-doc/functions_0x71.html +++ b/docs/module-doc/functions_0x71.html @@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to: <h3><a class="anchor" name="index_q">- q -</a></h3><ul> <li>QuitUser() : <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x72.html b/docs/module-doc/functions_0x72.html index af3f0fb10..ffa8e9f5e 100644 --- a/docs/module-doc/functions_0x72.html +++ b/docs/module-doc/functions_0x72.html @@ -32,10 +32,11 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServerConfig.html#restartpass_5BMAXBUF_5D">ServerConfig</a><li>result : <a class="el" href="classDNS.html#result">DNS</a><li>ReverseLookup() : <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a><li>Revision -: <a class="el" href="classVersion.html#Revision">Version</a><li>RULES -: <a class="el" href="classServerConfig.html#RULES">ServerConfig</a><li>rules -: <a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">ServerConfig</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +: <a class="el" href="classVersion.html#Revision">Version</a><li>rules +: <a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">ServerConfig</a><li>RULES +: <a class="el" href="classServerConfig.html#RULES">ServerConfig</a><li>Run() +: <a class="el" href="classInspIRCd.html#Run_28_29">InspIRCd</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x73.html b/docs/module-doc/functions_0x73.html index 51ffe74be..555686707 100644 --- a/docs/module-doc/functions_0x73.html +++ b/docs/module-doc/functions_0x73.html @@ -30,7 +30,8 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classServer.html#Server_28_29">Server</a><li>ServerConfig() : <a class="el" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a><li>ServerDesc : <a class="el" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerConfig</a><li>ServerName -: <a class="el" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerConfig</a><li>Set() +: <a class="el" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerConfig</a><li>serverstats() +: <a class="el" href="classserverstats.html#serverstats_28_29">serverstats</a><li>Set() : <a class="el" href="classBoolSet.html#Set_28int_20number_29">BoolSet</a><li>set_by : <a class="el" href="classHostItem.html#set_5Fby_5BNICKMAX_5D">HostItem</a><li>set_time : <a class="el" href="classXLine.html#set_5Ftime">XLine</a>, <a class="el" href="classHostItem.html#set_5Ftime">HostItem</a><li>setby @@ -44,9 +45,20 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classWhoWasUser.html#signon">WhoWasUser</a>, <a class="el" href="classconnection.html#signon">connection</a><li>SocketEngine() : <a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a><li>SoftLimit : <a class="el" href="classServerConfig.html#SoftLimit">ServerConfig</a><li>source -: <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>state -: <a class="el" href="classInspSocket.html#state">InspSocket</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +: <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>startup_time +: <a class="el" href="classInspIRCd.html#startup_5Ftime">InspIRCd</a><li>state +: <a class="el" href="classInspSocket.html#state">InspSocket</a><li>statsAccept +: <a class="el" href="classserverstats.html#statsAccept">serverstats</a><li>statsCollisions +: <a class="el" href="classserverstats.html#statsCollisions">serverstats</a><li>statsConnects +: <a class="el" href="classserverstats.html#statsConnects">serverstats</a><li>statsDns +: <a class="el" href="classserverstats.html#statsDns">serverstats</a><li>statsDnsBad +: <a class="el" href="classserverstats.html#statsDnsBad">serverstats</a><li>statsDnsGood +: <a class="el" href="classserverstats.html#statsDnsGood">serverstats</a><li>statsRecv +: <a class="el" href="classserverstats.html#statsRecv">serverstats</a><li>statsRefused +: <a class="el" href="classserverstats.html#statsRefused">serverstats</a><li>statsSent +: <a class="el" href="classserverstats.html#statsSent">serverstats</a><li>statsUnknown +: <a class="el" href="classserverstats.html#statsUnknown">serverstats</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x74.html b/docs/module-doc/functions_0x74.html index b5c75256b..1c56235de 100644 --- a/docs/module-doc/functions_0x74.html +++ b/docs/module-doc/functions_0x74.html @@ -23,7 +23,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>ts : <a class="el" href="classSocketEngine.html#ts">SocketEngine</a><li>type : <a class="el" href="classConnectClass.html#type">ConnectClass</a>, <a class="el" href="classExtMode.html#type">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x75.html b/docs/module-doc/functions_0x75.html index 9b7b71bf8..36b85dad2 100644 --- a/docs/module-doc/functions_0x75.html +++ b/docs/module-doc/functions_0x75.html @@ -15,12 +15,13 @@ Here is a list of all class members with links to the classes they belong to: <li>uc_modes : <a class="el" href="classucrec.html#uc_5Fmodes">ucrec</a><li>ucrec() : <a class="el" href="classucrec.html#ucrec_28_29">ucrec</a><li>unlimitcore -: <a class="el" href="classServerConfig.html#unlimitcore">ServerConfig</a><li>Unset() +: <a class="el" href="classServerConfig.html#unlimitcore">ServerConfig</a><li>UnloadModule() +: <a class="el" href="classInspIRCd.html#UnloadModule_28const_20char_20_2Afilename_29">InspIRCd</a><li>Unset() : <a class="el" href="classBoolSet.html#Unset_28int_20number_29">BoolSet</a><li>use_count : <a class="el" href="classcommand__t.html#use_5Fcount">command_t</a><li>userrec() : <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo() : <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x76.html b/docs/module-doc/functions_0x76.html index 0c2ff4e67..fd9ee7da5 100644 --- a/docs/module-doc/functions_0x76.html +++ b/docs/module-doc/functions_0x76.html @@ -15,7 +15,7 @@ Here is a list of all class members with links to the classes they belong to: <li>Verify() : <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version() : <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x77.html b/docs/module-doc/functions_0x77.html index d6efa6441..a306d63b6 100644 --- a/docs/module-doc/functions_0x77.html +++ b/docs/module-doc/functions_0x77.html @@ -16,7 +16,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">SocketEngine</a><li>Write() : <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a><li>WriteError : <a class="el" href="classuserrec.html#WriteError">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_0x7e.html b/docs/module-doc/functions_0x7e.html index 2ba9f41ca..ab2abb6ab 100644 --- a/docs/module-doc/functions_0x7e.html +++ b/docs/module-doc/functions_0x7e.html @@ -27,7 +27,7 @@ Here is a list of all class members with links to the classes they belong to: : <a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine</a><li>~ucrec() : <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index 251b34177..634c3966a 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -27,7 +27,7 @@ : <a class="el" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">userrec</a><li>AddZLine() : <a class="el" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server</a><li>Admin() : <a class="el" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x62.html b/docs/module-doc/functions_func_0x62.html index 9c96c00ec..9e6af1a24 100644 --- a/docs/module-doc/functions_func_0x62.html +++ b/docs/module-doc/functions_func_0x62.html @@ -15,7 +15,7 @@ <li>BoolSet() : <a class="el" href="classBoolSet.html#BoolSet_28char_20bitmask_29">BoolSet</a><li>BufferIsReady() : <a class="el" href="classuserrec.html#BufferIsReady_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x63.html b/docs/module-doc/functions_func_0x63.html index fa45ea0f6..21a9cd1c5 100644 --- a/docs/module-doc/functions_func_0x63.html +++ b/docs/module-doc/functions_func_0x63.html @@ -35,7 +35,7 @@ : <a class="el" href="classconnection.html#connection_28_29">connection</a><li>CountUsers() : <a class="el" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server</a><li>CreateModule() : <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x64.html b/docs/module-doc/functions_func_0x64.html index 5f00c56df..a71c48fe8 100644 --- a/docs/module-doc/functions_func_0x64.html +++ b/docs/module-doc/functions_func_0x64.html @@ -37,7 +37,7 @@ : <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">DNS</a><li>dns_ntoa4_s() : <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">DNS</a><li>DumpErrors() : <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x65.html b/docs/module-doc/functions_func_0x65.html index 840ec03ea..7282c3cf6 100644 --- a/docs/module-doc/functions_func_0x65.html +++ b/docs/module-doc/functions_func_0x65.html @@ -17,12 +17,14 @@ : <a class="el" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader</a><li>EnumerateValues() : <a class="el" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader</a><li>EnumValues() : <a class="el" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">ServerConfig</a><li>eq() -: <a class="el" href="structirc_1_1irc__char__traits.html#eq_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a><li>Event() +: <a class="el" href="structirc_1_1irc__char__traits.html#eq_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a><li>erase_factory() +: <a class="el" href="classInspIRCd.html#erase_5Ffactory_28int_20j_29">InspIRCd</a><li>erase_module() +: <a class="el" href="classInspIRCd.html#erase_5Fmodule_28int_20j_29">InspIRCd</a><li>Event() : <a class="el" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event</a><li>Exists() : <a class="el" href="classFileReader.html#Exists_28_29">FileReader</a><li>Extend() : <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>ExtMode() : <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x66.html b/docs/module-doc/functions_func_0x66.html index 4e4b0f6a9..7bcf2443f 100644 --- a/docs/module-doc/functions_func_0x66.html +++ b/docs/module-doc/functions_func_0x66.html @@ -23,7 +23,7 @@ : <a class="el" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server</a><li>FlushWriteBuf() : <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup() : <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x67.html b/docs/module-doc/functions_func_0x67.html index 76ab5f268..8fb533c89 100644 --- a/docs/module-doc/functions_func_0x67.html +++ b/docs/module-doc/functions_func_0x67.html @@ -22,9 +22,9 @@ : <a class="el" href="classConfigReader.html#GetError_28_29">ConfigReader</a><li>GetEventID() : <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt() : <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList() -: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD() -: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFd() -: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFullHost() +: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFd() +: <a class="el" href="classInspSocket.html#GetFd_28_29">InspSocket</a><li>GetFD() +: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost() : <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost() : <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList() : <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP() @@ -44,7 +44,7 @@ : <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion() : <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError() : <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x68.html b/docs/module-doc/functions_func_0x68.html index 957813b80..6f1cc82eb 100644 --- a/docs/module-doc/functions_func_0x68.html +++ b/docs/module-doc/functions_func_0x68.html @@ -16,7 +16,7 @@ : <a class="el" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec</a><li>HasResult() : <a class="el" href="classDNS.html#HasResult_28int_20fd_29">DNS</a><li>HostItem() : <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x69.html b/docs/module-doc/functions_func_0x69.html index 29bf2dd4b..2b257cb7e 100644 --- a/docs/module-doc/functions_func_0x69.html +++ b/docs/module-doc/functions_func_0x69.html @@ -12,7 +12,8 @@ <p> <h3><a class="anchor" name="index_i">- i -</a></h3><ul> -<li>InspSocket() +<li>InspIRCd() +: <a class="el" href="classInspIRCd.html#InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29">InspIRCd</a><li>InspSocket() : <a class="el" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">InspSocket</a><li>Invert() : <a class="el" href="classBoolSet.html#Invert_28int_20number_29">BoolSet</a><li>InviteTo() : <a class="el" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">userrec</a><li>IsCustomModeSet() @@ -23,7 +24,7 @@ : <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask() : <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand() : <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6a.html b/docs/module-doc/functions_func_0x6a.html index 973fa4e50..151661d31 100644 --- a/docs/module-doc/functions_func_0x6a.html +++ b/docs/module-doc/functions_func_0x6a.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_j">- j -</a></h3><ul> <li>JoinUserToChannel() : <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6c.html b/docs/module-doc/functions_func_0x6c.html index 44f16456a..d56a1dda5 100644 --- a/docs/module-doc/functions_func_0x6c.html +++ b/docs/module-doc/functions_func_0x6c.html @@ -14,10 +14,11 @@ <h3><a class="anchor" name="index_l">- l -</a></h3><ul> <li>LoadConf() : <a class="el" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">ServerConfig</a><li>LoadFile() -: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>Log() +: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>LoadModule() +: <a class="el" href="classInspIRCd.html#LoadModule_28const_20char_20_2Afilename_29">InspIRCd</a><li>Log() : <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>lt() : <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6d.html b/docs/module-doc/functions_func_0x6d.html index 82ce85721..08e1c2bf5 100644 --- a/docs/module-doc/functions_func_0x6d.html +++ b/docs/module-doc/functions_func_0x6d.html @@ -16,7 +16,7 @@ : <a class="el" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server</a><li>Module() : <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>ModuleFactory() : <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6e.html b/docs/module-doc/functions_func_0x6e.html index b71ef73cf..97d22b0b7 100644 --- a/docs/module-doc/functions_func_0x6e.html +++ b/docs/module-doc/functions_func_0x6e.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_n">- n -</a></h3><ul> <li>ne() : <a class="el" href="structirc_1_1irc__char__traits.html#ne_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x6f.html b/docs/module-doc/functions_func_0x6f.html index 1aa4c4439..1427bdd71 100644 --- a/docs/module-doc/functions_func_0x6f.html +++ b/docs/module-doc/functions_func_0x6f.html @@ -100,7 +100,7 @@ : <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==() : <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|() : <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x70.html b/docs/module-doc/functions_func_0x70.html index a41d0b8dc..73ea2e205 100644 --- a/docs/module-doc/functions_func_0x70.html +++ b/docs/module-doc/functions_func_0x70.html @@ -18,7 +18,7 @@ : <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode() : <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser() : <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x71.html b/docs/module-doc/functions_func_0x71.html index 25bfe62b2..588486972 100644 --- a/docs/module-doc/functions_func_0x71.html +++ b/docs/module-doc/functions_func_0x71.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_q">- q -</a></h3><ul> <li>QuitUser() : <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x72.html b/docs/module-doc/functions_func_0x72.html index a2a774d06..4848fb78e 100644 --- a/docs/module-doc/functions_func_0x72.html +++ b/docs/module-doc/functions_func_0x72.html @@ -22,8 +22,9 @@ : <a class="el" href="classServer.html#RehashServer_28_29">Server</a><li>RemoveInvite() : <a class="el" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec</a><li>Request() : <a class="el" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request</a><li>ReverseLookup() -: <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +: <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a><li>Run() +: <a class="el" href="classInspIRCd.html#Run_28_29">InspIRCd</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x73.html b/docs/module-doc/functions_func_0x73.html index d0163e702..ec0102ccc 100644 --- a/docs/module-doc/functions_func_0x73.html +++ b/docs/module-doc/functions_func_0x73.html @@ -25,7 +25,8 @@ : <a class="el" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server</a><li>SendWallops() : <a class="el" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server</a><li>Server() : <a class="el" href="classServer.html#Server_28_29">Server</a><li>ServerConfig() -: <a class="el" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a><li>Set() +: <a class="el" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a><li>serverstats() +: <a class="el" href="classserverstats.html#serverstats_28_29">serverstats</a><li>Set() : <a class="el" href="classBoolSet.html#Set_28int_20number_29">BoolSet</a><li>SetCustomMode() : <a class="el" href="classchanrec.html#SetCustomMode_28char_20mode_2C_20bool_20mode_5Fon_29">chanrec</a><li>SetCustomModeParam() : <a class="el" href="classchanrec.html#SetCustomModeParam_28char_20mode_2C_20char_20_2Aparameter_2C_20bool_20mode_5Fon_29">chanrec</a><li>SetNS() @@ -34,7 +35,7 @@ : <a class="el" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec</a><li>Shrink() : <a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Extensible</a><li>SocketEngine() : <a class="el" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x74.html b/docs/module-doc/functions_func_0x74.html index 02ca5bfba..57a8aa985 100644 --- a/docs/module-doc/functions_func_0x74.html +++ b/docs/module-doc/functions_func_0x74.html @@ -14,7 +14,7 @@ <h3><a class="anchor" name="index_t">- t -</a></h3><ul> <li>Timeout() : <a class="el" href="classInspSocket.html#Timeout_28time_5Ft_20current_29">InspSocket</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x75.html b/docs/module-doc/functions_func_0x75.html index 3c34d3db5..95ecf9741 100644 --- a/docs/module-doc/functions_func_0x75.html +++ b/docs/module-doc/functions_func_0x75.html @@ -13,11 +13,12 @@ <p> <h3><a class="anchor" name="index_u">- u -</a></h3><ul> <li>ucrec() -: <a class="el" href="classucrec.html#ucrec_28_29">ucrec</a><li>Unset() +: <a class="el" href="classucrec.html#ucrec_28_29">ucrec</a><li>UnloadModule() +: <a class="el" href="classInspIRCd.html#UnloadModule_28const_20char_20_2Afilename_29">InspIRCd</a><li>Unset() : <a class="el" href="classBoolSet.html#Unset_28int_20number_29">BoolSet</a><li>userrec() : <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo() : <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x76.html b/docs/module-doc/functions_func_0x76.html index 252461733..f4a21a6d3 100644 --- a/docs/module-doc/functions_func_0x76.html +++ b/docs/module-doc/functions_func_0x76.html @@ -15,7 +15,7 @@ <li>Verify() : <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version() : <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x77.html b/docs/module-doc/functions_func_0x77.html index 9e83806e4..bfcf49fc0 100644 --- a/docs/module-doc/functions_func_0x77.html +++ b/docs/module-doc/functions_func_0x77.html @@ -15,7 +15,7 @@ <li>Wait() : <a class="el" href="classSocketEngine.html#Wait_28std_3A_3Avector_3C_20int_20_3E_20_26fdlist_29">SocketEngine</a><li>Write() : <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_func_0x7e.html b/docs/module-doc/functions_func_0x7e.html index 6dea30f34..8ffc4fe13 100644 --- a/docs/module-doc/functions_func_0x7e.html +++ b/docs/module-doc/functions_func_0x7e.html @@ -27,7 +27,7 @@ : <a class="el" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine</a><li>~ucrec() : <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec() : <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index 4253b3c55..3653e468e 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -118,9 +118,9 @@ : <a class="el" href="classExtMode.html#modechar">ExtMode</a><li>modes : <a class="el" href="classuserrec.html#modes_5B_35_34_5D">userrec</a><li>ModPath : <a class="el" href="classServerConfig.html#ModPath_5B_31_30_32_34_5D">ServerConfig</a><li>module_names -: <a class="el" href="classServerConfig.html#module_5Fnames">ServerConfig</a><li>MOTD -: <a class="el" href="classServerConfig.html#MOTD">ServerConfig</a><li>motd -: <a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">ServerConfig</a><li>MyExecutable +: <a class="el" href="classServerConfig.html#module_5Fnames">ServerConfig</a><li>motd +: <a class="el" href="classServerConfig.html#motd_5BMAXBUF_5D">ServerConfig</a><li>MOTD +: <a class="el" href="classServerConfig.html#MOTD">ServerConfig</a><li>MyExecutable : <a class="el" href="classServerConfig.html#MyExecutable_5B_31_30_32_34_5D">ServerConfig</a><li>myfd : <a class="el" href="classDNS.html#myfd">DNS</a></ul> <h3><a class="anchor" name="index_n">- n -</a></h3><ul> @@ -149,7 +149,8 @@ : <a class="el" href="classServerConfig.html#PID_5B_31_30_32_34_5D">ServerConfig</a><li>pingmax : <a class="el" href="classuserrec.html#pingmax">userrec</a><li>pingtime : <a class="el" href="classConnectClass.html#pingtime">ConnectClass</a><li>port -: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>PrefixQuit +: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>ports +: <a class="el" href="classServerConfig.html#ports_5B_32_35_35_5D">ServerConfig</a><li>PrefixQuit : <a class="el" href="classServerConfig.html#PrefixQuit_5BMAXBUF_5D">ServerConfig</a></ul> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> <li>readerror @@ -162,9 +163,9 @@ : <a class="el" href="classuserrec.html#reset_5Fdue">userrec</a><li>restartpass : <a class="el" href="classServerConfig.html#restartpass_5BMAXBUF_5D">ServerConfig</a><li>result : <a class="el" href="classDNS.html#result">DNS</a><li>Revision -: <a class="el" href="classVersion.html#Revision">Version</a><li>RULES -: <a class="el" href="classServerConfig.html#RULES">ServerConfig</a><li>rules -: <a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">ServerConfig</a></ul> +: <a class="el" href="classVersion.html#Revision">Version</a><li>rules +: <a class="el" href="classServerConfig.html#rules_5BMAXBUF_5D">ServerConfig</a><li>RULES +: <a class="el" href="classServerConfig.html#RULES">ServerConfig</a></ul> <h3><a class="anchor" name="index_s">- s -</a></h3><ul> <li>sendq : <a class="el" href="classuserrec.html#sendq">userrec</a><li>sendqmax @@ -177,8 +178,19 @@ : <a class="el" href="classchanrec.html#setby_5BNICKMAX_5D">chanrec</a><li>signon : <a class="el" href="classWhoWasUser.html#signon">WhoWasUser</a>, <a class="el" href="classconnection.html#signon">connection</a><li>SoftLimit : <a class="el" href="classServerConfig.html#SoftLimit">ServerConfig</a><li>source -: <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>state -: <a class="el" href="classInspSocket.html#state">InspSocket</a></ul> +: <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>startup_time +: <a class="el" href="classInspIRCd.html#startup_5Ftime">InspIRCd</a><li>state +: <a class="el" href="classInspSocket.html#state">InspSocket</a><li>statsAccept +: <a class="el" href="classserverstats.html#statsAccept">serverstats</a><li>statsCollisions +: <a class="el" href="classserverstats.html#statsCollisions">serverstats</a><li>statsConnects +: <a class="el" href="classserverstats.html#statsConnects">serverstats</a><li>statsDns +: <a class="el" href="classserverstats.html#statsDns">serverstats</a><li>statsDnsBad +: <a class="el" href="classserverstats.html#statsDnsBad">serverstats</a><li>statsDnsGood +: <a class="el" href="classserverstats.html#statsDnsGood">serverstats</a><li>statsRecv +: <a class="el" href="classserverstats.html#statsRecv">serverstats</a><li>statsRefused +: <a class="el" href="classserverstats.html#statsRefused">serverstats</a><li>statsSent +: <a class="el" href="classserverstats.html#statsSent">serverstats</a><li>statsUnknown +: <a class="el" href="classserverstats.html#statsUnknown">serverstats</a></ul> <h3><a class="anchor" name="index_t">- t -</a></h3><ul> <li>t : <a class="el" href="classDNS.html#t">DNS</a><li>threshold @@ -198,7 +210,7 @@ <h3><a class="anchor" name="index_w">- w -</a></h3><ul> <li>WriteError : <a class="el" href="classuserrec.html#WriteError">userrec</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 71b12d781..33f9ae873 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindexHL" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindexHL" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -25,13 +25,17 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#ACR_5FALLOW">modules.h</a><li>ACR_DEFAULT : <a class="el" href="modules_8h.html#ACR_5FDEFAULT">modules.h</a><li>ACR_DENY : <a class="el" href="modules_8h.html#ACR_5FDENY">modules.h</a><li>add_ban() -: <a class="el" href="mode_8h.html#add_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>add_eline() +: <a class="el" href="mode_8h.html#add_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>add_channel() +: <a class="el" href="channels_8h.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">channels.h</a>, <a class="el" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">channels.cpp</a><li>add_eline() : <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_gline() : <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_kline() : <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_qline() : <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">xline.h</a><li>add_zline() -: <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">xline.h</a><li>address_cache -: <a class="el" href="typedefs_8h.html#address_5Fcache">typedefs.h</a><li>allowed_umode() +: <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">xline.h</a><li>AddOper() +: <a class="el" href="inspircd_8h.html#AddOper_28userrec_20_2Auser_29">inspircd.h</a><li>address_cache +: <a class="el" href="typedefs_8h.html#address_5Fcache">typedefs.h</a><li>AddServerName() +: <a class="el" href="inspircd_8h.html#AddServerName_28std_3A_3Astring_20servername_29">inspircd.h</a><li>AddWhoWas() +: <a class="el" href="inspircd_8h.html#AddWhoWas_28userrec_20_2Au_29">inspircd.h</a><li>allowed_umode() : <a class="el" href="mode_8h.html#allowed_5Fumode_28char_20umode_2C_20char_20_2Asourcemodes_2C_20bool_20adding_29">mode.h</a><li>APPLY_ALL : <a class="el" href="xline_8h.html#APPLY_5FALL">xline.h</a><li>APPLY_GLINES : <a class="el" href="xline_8h.html#APPLY_5FGLINES">xline.h</a><li>APPLY_KLINES @@ -39,7 +43,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="xline_8h.html#apply_5Flines_28const_20int_20What_29">xline.h</a><li>APPLY_QLINES : <a class="el" href="xline_8h.html#APPLY_5FQLINES">xline.h</a><li>APPLY_ZLINES : <a class="el" href="xline_8h.html#APPLY_5FZLINES">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x62.html b/docs/module-doc/globals_0x62.html index b5059fd27..a56e64a1c 100644 --- a/docs/module-doc/globals_0x62.html +++ b/docs/module-doc/globals_0x62.html @@ -6,18 +6,19 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindexHL" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindexHL" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_b">- b -</a></h3><ul> <li>BanList -: <a class="el" href="channels_8h.html#BanList">channels.h</a><li>BindSocket() +: <a class="el" href="channels_8h.html#BanList">channels.h</a><li>BindPorts() +: <a class="el" href="inspircd__io_8h.html#BindPorts_28_29">inspircd_io.h</a><li>BindSocket() : <a class="el" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">inspircd_io.h</a><li>Blocking() : <a class="el" href="message_8h.html#Blocking_28int_20s_29">message.h</a><li>boundPortCount -: <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a>, <a class="el" href="modules_8cpp.html#boundPortCount">modules.cpp</a>, <a class="el" href="channels_8cpp.html#boundPortCount">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x63.html b/docs/module-doc/globals_0x63.html index 004f8c42b..d851231a9 100644 --- a/docs/module-doc/globals_0x63.html +++ b/docs/module-doc/globals_0x63.html @@ -6,20 +6,22 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindexHL" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindexHL" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_c">- c -</a></h3><ul> <li>c_count() -: <a class="el" href="message_8h.html#c_5Fcount_28userrec_20_2Au_29">message.h</a><li>CC_ALLOW +: <a class="el" href="message_8h.html#c_5Fcount_28userrec_20_2Au_29">message.h</a><li>call_handler() +: <a class="el" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>CC_ALLOW : <a class="el" href="users_8h.html#CC_5FALLOW">users.h</a><li>CC_DENY : <a class="el" href="users_8h.html#CC_5FDENY">users.h</a><li>chan_hash -: <a class="el" href="typedefs_8h.html#chan_5Fhash">typedefs.h</a><li>ChangeDisplayedHost() +: <a class="el" href="typedefs_8h.html#chan_5Fhash">typedefs.h</a><li>ChanExceptSender() +: <a class="el" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>ChangeDisplayedHost() : <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">message.h</a><li>ChangeName() : <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">message.h</a><li>chanlist -: <a class="el" href="modules_8cpp.html#chanlist">modules.cpp</a><li>chanuserlist +: <a class="el" href="modules_8cpp.html#chanlist">modules.cpp</a>, <a class="el" href="channels_8cpp.html#chanlist">channels.cpp</a><li>chanuserlist : <a class="el" href="modules_8h.html#chanuserlist">modules.h</a><li>CheckDie() : <a class="el" href="userprocess_8h.html#CheckDie_28_29">userprocess.h</a><li>CheckRoot() : <a class="el" href="userprocess_8h.html#CheckRoot_28_29">userprocess.h</a><li>chlist() @@ -35,19 +37,19 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="channels_8h.html#CM_5FSECRET">channels.h</a><li>CM_TOPICLOCK : <a class="el" href="channels_8h.html#CM_5FTOPICLOCK">channels.h</a><li>cmdlist : <a class="el" href="modules_8cpp.html#cmdlist">modules.cpp</a><li>cmode() -: <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a><li>command_table +: <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a>, <a class="el" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">globals.h</a><li>command_table : <a class="el" href="typedefs_8h.html#command_5Ftable">typedefs.h</a><li>common_channels() -: <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">message.h</a><li>CONF_FILE_NOT_FOUND +: <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">message.h</a>, <a class="el" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">globals.h</a><li>CONF_FILE_NOT_FOUND : <a class="el" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">modules.h</a><li>CONF_NOT_A_NUMBER : <a class="el" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">modules.h</a><li>CONF_NOT_UNSIGNED : <a class="el" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">modules.h</a><li>CONF_VALUE_NOT_FOUND : <a class="el" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">modules.h</a><li>Config -: <a class="el" href="users_8cpp.html#Config">users.cpp</a>, <a class="el" href="modules_8cpp.html#Config">modules.cpp</a>, <a class="el" href="channels_8cpp.html#Config">channels.cpp</a><li>config_f -: <a class="el" href="channels_8cpp.html#config_5Ff">channels.cpp</a><li>createcommand() +: <a class="el" href="users_8cpp.html#Config">users.cpp</a>, <a class="el" href="modules_8cpp.html#Config">modules.cpp</a>, <a class="el" href="channels_8cpp.html#Config">channels.cpp</a><li>ConnectUser() +: <a class="el" href="inspircd_8h.html#ConnectUser_28userrec_20_2Auser_29">inspircd.h</a><li>createcommand() : <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x64.html b/docs/module-doc/globals_0x64.html index 8d2cd301a..94c26ce47 100644 --- a/docs/module-doc/globals_0x64.html +++ b/docs/module-doc/globals_0x64.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindexHL" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindexHL" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,17 +15,20 @@ Here is a list of all file members with links to the files they belong to: <li>DaemonSeed() : <a class="el" href="inspircd__io_8h.html#DaemonSeed_28void_29">inspircd_io.h</a><li>DEBUG : <a class="el" href="modules_8h.html#DEBUG">modules.h</a>, <a class="el" href="inspircd__io_8h.html#DEBUG">inspircd_io.h</a><li>DEFAULT -: <a class="el" href="modules_8h.html#DEFAULT">modules.h</a>, <a class="el" href="inspircd__io_8h.html#DEFAULT">inspircd_io.h</a><li>del_eline() +: <a class="el" href="modules_8h.html#DEFAULT">modules.h</a>, <a class="el" href="inspircd__io_8h.html#DEFAULT">inspircd_io.h</a><li>del_channel() +: <a class="el" href="channels_8h.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">channels.h</a>, <a class="el" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">channels.cpp</a><li>del_eline() : <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_gline() : <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_kline() : <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_qline() : <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">xline.h</a><li>del_zline() -: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>do_whois() +: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>DeleteOper() +: <a class="el" href="inspircd_8h.html#DeleteOper_28userrec_20_2Auser_29">inspircd.h</a><li>dns_task() +: <a class="el" href="inspircd_8h.html#dns_5Ftask_28void_20_2Aarg_29">inspircd.h</a><li>do_whois() : <a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">commands.h</a><li>DoAddExtendedMode() : <a class="el" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">modules.cpp</a><li>DoBackgroundUserStuff() : <a class="el" href="userprocess_8h.html#DoBackgroundUserStuff_28time_5Ft_20TIME_29">userprocess.h</a><li>duration() : <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">commands.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x65.html b/docs/module-doc/globals_0x65.html index 191696224..4dab69d96 100644 --- a/docs/module-doc/globals_0x65.html +++ b/docs/module-doc/globals_0x65.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindexHL" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindexHL" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -14,13 +14,14 @@ Here is a list of all file members with links to the files they belong to: <h3><a class="anchor" name="index_e">- e -</a></h3><ul> <li>eline_set_creation_time() : <a class="el" href="xline_8h.html#eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a><li>EMode -: <a class="el" href="modules_8cpp.html#EMode">modules.cpp</a><li>ExemptList +: <a class="el" href="modules_8cpp.html#EMode">modules.cpp</a><li>ERROR +: <a class="el" href="inspircd_8h.html#ERROR">inspircd.h</a><li>ExemptList : <a class="el" href="channels_8h.html#ExemptList">channels.h</a><li>Exit() : <a class="el" href="inspircd__io_8h.html#Exit_28int_29">inspircd_io.h</a><li>expire_lines() : <a class="el" href="xline_8h.html#expire_5Flines_28_29">xline.h</a><li>ExtModeList : <a class="el" href="typedefs_8h.html#ExtModeList">typedefs.h</a><li>ExtModeListIter : <a class="el" href="typedefs_8h.html#ExtModeListIter">typedefs.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x66.html b/docs/module-doc/globals_0x66.html index d0eae47b3..9ead8ab03 100644 --- a/docs/module-doc/globals_0x66.html +++ b/docs/module-doc/globals_0x66.html @@ -6,21 +6,28 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindexHL" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindexHL" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_f">- f -</a></h3><ul> <li>factory -: <a class="el" href="modules_8cpp.html#factory_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#factory">channels.cpp</a><li>FD_MAGIC_NUMBER +: <a class="el" href="modules_8cpp.html#factory_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#factory">channels.cpp</a><li>FALSE +: <a class="el" href="inspircd_8h.html#FALSE">inspircd.h</a><li>FD_MAGIC_NUMBER : <a class="el" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">modules.h</a><li>fd_ref_table : <a class="el" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">modules.cpp</a><li>file_cache -: <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a><li>FileExists() -: <a class="el" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">inspircd_io.h</a><li>FOREACH_MOD +: <a class="el" href="typedefs_8h.html#file_5Fcache">typedefs.h</a>, <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a>, <a class="el" href="globals_8h.html#file_5Fcache">globals.h</a><li>FileExists() +: <a class="el" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">inspircd_io.h</a><li>Find() +: <a class="el" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">globals.h</a><li>FindChan() +: <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">globals.h</a><li>FindServerNamePtr() +: <a class="el" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">inspircd.h</a><li>force_nickchange() +: <a class="el" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">inspircd.h</a><li>ForceChan() +: <a class="el" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">channels.cpp</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#FOREACH_5FMOD">modules.h</a><li>FOREACH_RESULT -: <a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">modules.h</a><li>FullConnectUser() +: <a class="el" href="inspircd_8h.html#FullConnectUser_28userrec_20_2Auser_29">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x67.html b/docs/module-doc/globals_0x67.html index 263e5e63e..b2c8ae5af 100644 --- a/docs/module-doc/globals_0x67.html +++ b/docs/module-doc/globals_0x67.html @@ -6,18 +6,25 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindexHL" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindexHL" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_g">- g -</a></h3><ul> -<li>give_hops() +<li>getadminemail() +: <a class="el" href="globals_8h.html#getadminemail_28_29">globals.h</a><li>getadminname() +: <a class="el" href="globals_8h.html#getadminname_28_29">globals.h</a><li>getadminnick() +: <a class="el" href="globals_8h.html#getadminnick_28_29">globals.h</a><li>getnetworkname() +: <a class="el" href="globals_8h.html#getnetworkname_28_29">globals.h</a><li>GetRevision() +: <a class="el" href="inspircd_8h.html#GetRevision_28_29">inspircd.h</a><li>getservername() +: <a class="el" href="globals_8h.html#getservername_28_29">globals.h</a><li>GetVersionString() +: <a class="el" href="inspircd_8h.html#GetVersionString_28_29">inspircd.h</a><li>give_hops() : <a class="el" href="mode_8h.html#give_5Fhops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_ops() : <a class="el" href="mode_8h.html#give_5Fops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_voice() : <a class="el" href="mode_8h.html#give_5Fvoice_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>gline_set_creation_time() : <a class="el" href="xline_8h.html#gline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x68.html b/docs/module-doc/globals_0x68.html index 72535bc39..94bf4b511 100644 --- a/docs/module-doc/globals_0x68.html +++ b/docs/module-doc/globals_0x68.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindexHL" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindexHL" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -59,15 +59,17 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="commands_8h.html#handle_5Funloadmodule_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_user() : <a class="el" href="commands_8h.html#handle_5Fuser_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_userhost() : <a class="el" href="commands_8h.html#handle_5Fuserhost_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_users() -: <a class="el" href="commands_8h.html#handle_5Fusers_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_wallops() +: <a class="el" href="commands_8h.html#handle_5Fusers_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_version() +: <a class="el" href="inspircd_8h.html#handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>handle_wallops() : <a class="el" href="commands_8h.html#handle_5Fwallops_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_who() : <a class="el" href="commands_8h.html#handle_5Fwho_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_whois() : <a class="el" href="commands_8h.html#handle_5Fwhois_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_whowas() : <a class="el" href="commands_8h.html#handle_5Fwhowas_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_zline() -: <a class="el" href="commands_8h.html#handle_5Fzline_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>has_channel() +: <a class="el" href="commands_8h.html#handle_5Fzline_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handlerfunc +: <a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">inspircd.h</a><li>has_channel() : <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">message.h</a><li>hasumode() : <a class="el" href="message_8h.html#hasumode_28userrec_20_2Auser_2C_20char_20mode_29">message.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x69.html b/docs/module-doc/globals_0x69.html index 0e570fca0..9c4b08d77 100644 --- a/docs/module-doc/globals_0x69.html +++ b/docs/module-doc/globals_0x69.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindexHL" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindexHL" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -25,13 +25,16 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="socket_8h.html#InspSocketError">socket.h</a><li>InspSocketState : <a class="el" href="socket_8h.html#InspSocketState">socket.h</a><li>InvitedList : <a class="el" href="users_8h.html#InvitedList">users.h</a><li>InviteList -: <a class="el" href="channels_8h.html#InviteList">channels.h</a><li>IP -: <a class="el" href="modules_8cpp.html#IP">modules.cpp</a><li>ircd_module -: <a class="el" href="modules_8h.html#ircd_5Fmodule">modules.h</a><li>is_uline() -: <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>isident() +: <a class="el" href="channels_8h.html#InviteList">channels.h</a><li>ircd_module +: <a class="el" href="modules_8h.html#ircd_5Fmodule">modules.h</a><li>IS_LOCAL +: <a class="el" href="inspircd_8h.html#IS_5FLOCAL_28x_29">inspircd.h</a><li>IS_MODULE_CREATED +: <a class="el" href="inspircd_8h.html#IS_5FMODULE_5FCREATED_28x_29">inspircd.h</a><li>IS_REMOTE +: <a class="el" href="inspircd_8h.html#IS_5FREMOTE_28x_29">inspircd.h</a><li>is_uline() +: <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>is_valid_cmd() +: <a class="el" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>isident() : <a class="el" href="message_8h.html#isident_28const_20char_20_2An_29">message.h</a><li>isnick() -: <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a>, <a class="el" href="globals_8h.html#isnick_28const_20char_20_2An_29">globals.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6b.html b/docs/module-doc/globals_0x6b.html new file mode 100644 index 000000000..160d3a57e --- /dev/null +++ b/docs/module-doc/globals_0x6b.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: Class Members</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindexHL" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> + +<p> +Here is a list of all file members with links to the files they belong to: +<p> +<h3><a class="anchor" name="index_k">- k -</a></h3><ul> +<li>kick_channel() +: <a class="el" href="channels_8h.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">channels.h</a>, <a class="el" href="channels_8cpp.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">channels.cpp</a><li>kill_link() +: <a class="el" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">inspircd.h</a><li>kill_link_silent() +: <a class="el" href="inspircd_8h.html#kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/globals_0x6c.html b/docs/module-doc/globals_0x6c.html index 022ae2629..8c79f3b26 100644 --- a/docs/module-doc/globals_0x6c.html +++ b/docs/module-doc/globals_0x6c.html @@ -6,15 +6,17 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindexHL" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindexHL" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_l">- l -</a></h3><ul> <li>LoadAllModules() -: <a class="el" href="userprocess_8h.html#LoadAllModules_28_29">userprocess.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="userprocess_8h.html#LoadAllModules_28_29">userprocess.h</a><li>log() +: <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>loop_call() +: <a class="el" href="inspircd_8h.html#loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6d.html b/docs/module-doc/globals_0x6d.html index cfbde6472..4b35b22c7 100644 --- a/docs/module-doc/globals_0x6d.html +++ b/docs/module-doc/globals_0x6d.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindexHL" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindexHL" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -17,23 +17,26 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="xline_8h.html#matches_5Fgline_28const_20char_20_2Ahost_29">xline.h</a><li>matches_kline() : <a class="el" href="xline_8h.html#matches_5Fkline_28const_20char_20_2Ahost_29">xline.h</a><li>matches_qline() : <a class="el" href="xline_8h.html#matches_5Fqline_28const_20char_20_2Anick_29">xline.h</a><li>matches_zline() -: <a class="el" href="xline_8h.html#matches_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>merge_mode() +: <a class="el" href="xline_8h.html#matches_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>MAXCOMMAND +: <a class="el" href="inspircd_8h.html#MAXCOMMAND">inspircd.h</a><li>MAXSOCKS +: <a class="el" href="inspircd_8h.html#MAXSOCKS">inspircd.h</a><li>merge_mode() : <a class="el" href="mode_8h.html#merge_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_29">mode.h</a><li>merge_mode2() : <a class="el" href="mode_8h.html#merge_5Fmode_32_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>MODCOUNT -: <a class="el" href="modules_8cpp.html#MODCOUNT">modules.cpp</a>, <a class="el" href="channels_8cpp.html#MODCOUNT">channels.cpp</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">modules.cpp</a><li>module_names -: <a class="el" href="channels_8cpp.html#module_5Fnames">channels.cpp</a><li>module_sockets -: <a class="el" href="modules_8cpp.html#module_5Fsockets">modules.cpp</a><li>modules +: <a class="el" href="modules_8cpp.html#MODCOUNT">modules.cpp</a>, <a class="el" href="channels_8cpp.html#MODCOUNT">channels.cpp</a><li>ModeDefiend() +: <a class="el" href="globals_8h.html#ModeDefiend_28char_20c_2C_20int_20i_29">globals.h</a><li>ModeDefined() +: <a class="el" href="modules_8h.html#ModeDefined_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8h.html#ModeDefinedOff_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8h.html#ModeDefinedOn_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8h.html#ModeDefinedOper_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8h.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8h.html#ModeMakeList_28char_20modechar_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">modules.cpp</a><li>module_sockets +: <a class="el" href="modules_8cpp.html#module_5Fsockets">modules.cpp</a><li>ModuleError() +: <a class="el" href="inspircd_8h.html#ModuleError_28_29">inspircd.h</a><li>modules : <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a><li>MT_CHANNEL : <a class="el" href="modules_8h.html#MT_5FCHANNEL">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#MT_5FCLIENT">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#MT_5FSERVER">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6e.html b/docs/module-doc/globals_0x6e.html index 24808a7ea..d1b67b301 100644 --- a/docs/module-doc/globals_0x6e.html +++ b/docs/module-doc/globals_0x6e.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindexHL" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindexHL" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="message_8h.html#NonBlocking_28int_20s_29">message.h</a><li>NONE : <a class="el" href="modules_8h.html#NONE">modules.h</a>, <a class="el" href="inspircd__io_8h.html#NONE">inspircd_io.h</a><li>nspace : <a class="el" href="hashcomp_8h.html#nspace">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#nspace">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x6f.html b/docs/module-doc/globals_0x6f.html index 61c4a5c72..a0551d719 100644 --- a/docs/module-doc/globals_0x6f.html +++ b/docs/module-doc/globals_0x6f.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindexHL" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindexHL" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="userprocess_8h.html#OpenLog_28char_20_2A_2Aargv_2C_20int_20argc_29">userprocess.h</a><li>openSockfd : <a class="el" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">socket.cpp</a><li>OpenTCPSocket() : <a class="el" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">inspircd_io.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x70.html b/docs/module-doc/globals_0x70.html index 07b308c06..3dc89323a 100644 --- a/docs/module-doc/globals_0x70.html +++ b/docs/module-doc/globals_0x70.html @@ -6,19 +6,18 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindexHL" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindexHL" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_p">- p -</a></h3><ul> -<li>portCount -: <a class="el" href="modules_8cpp.html#portCount">modules.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#ports_5BMAXSOCKS_5D">modules.cpp</a><li>process_modes() +<li>process_buffer() +: <a class="el" href="inspircd_8h.html#process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29">inspircd.h</a><li>process_modes() : <a class="el" href="mode_8h.html#process_5Fmodes_28char_20_2A_2Aparameters_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20int_20status_2C_20int_20pcnt_2C_20bool_20servermode_2C_20bool_20silent_2C_20bool_20local_29">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#process_5Fmodule_5Fumode_28char_20umode_2C_20userrec_20_2Asource_2C_20void_20_2Adest_2C_20bool_20adding_29">mode.h</a><li>ProcessUser() : <a class="el" href="userprocess_8h.html#ProcessUser_28userrec_20_2Acu_29">userprocess.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x71.html b/docs/module-doc/globals_0x71.html index 5ef20bf47..27a9241b1 100644 --- a/docs/module-doc/globals_0x71.html +++ b/docs/module-doc/globals_0x71.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindexHL" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindexHL" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to: <li>qline_make_global() : <a class="el" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">xline.h</a><li>qline_set_creation_time() : <a class="el" href="xline_8h.html#qline_5Fset_5Fcreation_5Ftime_28char_20_2Anick_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x72.html b/docs/module-doc/globals_0x72.html index a420f0540..6a979f60c 100644 --- a/docs/module-doc/globals_0x72.html +++ b/docs/module-doc/globals_0x72.html @@ -6,16 +6,18 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindexHL" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindexHL" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> <li>read_xline_defaults() -: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a><li>ref -: <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">socketengine.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a><li>readfile() +: <a class="el" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">globals.h</a><li>ref +: <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">socketengine.cpp</a><li>ReHashNick() +: <a class="el" href="inspircd_8h.html#ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x73.html b/docs/module-doc/globals_0x73.html index 1c37b1e40..c53d96d81 100644 --- a/docs/module-doc/globals_0x73.html +++ b/docs/module-doc/globals_0x73.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindexHL" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindexHL" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,12 +15,12 @@ Here is a list of all file members with links to the files they belong to: <li>SE : <a class="el" href="socket_8cpp.html#SE">socket.cpp</a>, <a class="el" href="modules_8cpp.html#SE">modules.cpp</a><li>send_network_quit() : <a class="el" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">message.h</a><li>server_mode() -: <a class="el" href="modules_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">modules.h</a>, <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>servernamelist +: <a class="el" href="modules_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">modules.h</a>, <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>ServerInstance +: <a class="el" href="modules_8cpp.html#ServerInstance">modules.cpp</a><li>servernamelist : <a class="el" href="typedefs_8h.html#servernamelist">typedefs.h</a><li>socket_ref : <a class="el" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">socket.cpp</a><li>SPARSE : <a class="el" href="modules_8h.html#SPARSE">modules.h</a>, <a class="el" href="inspircd__io_8h.html#SPARSE">inspircd_io.h</a><li>Start() -: <a class="el" href="inspircd__io_8h.html#Start_28void_29">inspircd_io.h</a><li>startup_time -: <a class="el" href="modules_8cpp.html#startup_5Ftime">modules.cpp</a>, <a class="el" href="channels_8cpp.html#startup_5Ftime">channels.cpp</a><li>stats_e() +: <a class="el" href="inspircd__io_8h.html#Start_28void_29">inspircd_io.h</a><li>stats_e() : <a class="el" href="xline_8h.html#stats_5Fe_28userrec_20_2Auser_29">xline.h</a><li>stats_g() : <a class="el" href="xline_8h.html#stats_5Fg_28userrec_20_2Auser_29">xline.h</a><li>stats_k() : <a class="el" href="xline_8h.html#stats_5Fk_28userrec_20_2Auser_29">xline.h</a><li>stats_q() @@ -32,7 +32,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="users_8h.html#STATUS_5FVOICE">users.h</a><li>string : <a class="el" href="namespaceirc.html#string">hashcomp.h</a><li>string_list : <a class="el" href="modules_8h.html#string_5Flist">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x74.html b/docs/module-doc/globals_0x74.html index be2b2793f..d0593dbef 100644 --- a/docs/module-doc/globals_0x74.html +++ b/docs/module-doc/globals_0x74.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindexHL" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindexHL" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,8 +19,12 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="mode_8h.html#take_5Fvoice_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>TidyBan() : <a class="el" href="message_8h.html#TidyBan_28char_20_2Aban_29">message.h</a><li>tidystring() : <a class="el" href="message_8h.html#tidystring_28char_20_2Astr_29">message.h</a><li>TIME -: <a class="el" href="users_8cpp.html#TIME">users.cpp</a>, <a class="el" href="socket_8cpp.html#TIME">socket.cpp</a>, <a class="el" href="modules_8cpp.html#TIME">modules.cpp</a>, <a class="el" href="channels_8cpp.html#TIME">channels.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="users_8cpp.html#TIME">users.cpp</a>, <a class="el" href="socket_8cpp.html#TIME">socket.cpp</a>, <a class="el" href="modules_8cpp.html#TIME">modules.cpp</a>, <a class="el" href="channels_8cpp.html#TIME">channels.cpp</a><li>TRUE +: <a class="el" href="inspircd_8h.html#TRUE">inspircd.h</a><li>TYPE_CHANNEL +: <a class="el" href="inspircd_8h.html#TYPE_5FCHANNEL">inspircd.h</a><li>TYPE_SERVER +: <a class="el" href="inspircd_8h.html#TYPE_5FSERVER">inspircd.h</a><li>TYPE_USER +: <a class="el" href="inspircd_8h.html#TYPE_5FUSER">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x75.html b/docs/module-doc/globals_0x75.html index 72817cac7..c87eb3f88 100644 --- a/docs/module-doc/globals_0x75.html +++ b/docs/module-doc/globals_0x75.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindexHL" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindexHL" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="channels_8h.html#UCMODE_5FPROTECT">channels.h</a><li>UCMODE_VOICE : <a class="el" href="channels_8h.html#UCMODE_5FVOICE">channels.h</a><li>user_hash : <a class="el" href="typedefs_8h.html#user_5Fhash">typedefs.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x76.html b/docs/module-doc/globals_0x76.html index 885147170..adbdd7ce1 100644 --- a/docs/module-doc/globals_0x76.html +++ b/docs/module-doc/globals_0x76.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindexHL" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindexHL" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a><li>VoidPointer : <a class="el" href="base_8h.html#VoidPointer">base.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x77.html b/docs/module-doc/globals_0x77.html index a4f5cb61f..58fe706b9 100644 --- a/docs/module-doc/globals_0x77.html +++ b/docs/module-doc/globals_0x77.html @@ -6,19 +6,29 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindexHL" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindexHL" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: <p> <h3><a class="anchor" name="index_w">- w -</a></h3><ul> -<li>whowas -: <a class="el" href="modules_8cpp.html#whowas">modules.cpp</a><li>whowas_hash +<li>whowas_hash : <a class="el" href="typedefs_8h.html#whowas_5Fhash">typedefs.h</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a><li>WritePID() -: <a class="el" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">inspircd_io.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +: <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE +: <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a><li>WM_AND +: <a class="el" href="inspircd_8h.html#WM_5FAND">inspircd.h</a><li>WM_OR +: <a class="el" href="inspircd_8h.html#WM_5FOR">inspircd.h</a><li>Write() +: <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteChannel() +: <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteCommon() +: <a class="el" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteCommonExcept() +: <a class="el" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteFrom() +: <a class="el" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteOpers() +: <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WritePID() +: <a class="el" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">inspircd_io.h</a><li>WriteServ() +: <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteTo() +: <a class="el" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">globals.h</a><li>WriteWallOps() +: <a class="el" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x78.html b/docs/module-doc/globals_0x78.html index a3a35f44b..7efd8b19e 100644 --- a/docs/module-doc/globals_0x78.html +++ b/docs/module-doc/globals_0x78.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindexHL" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindexHL" href="globals_0x78.html#index_x">x</a> | <a class="qindex" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to: : <a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">socketengine.h</a><li>X_LISTEN : <a class="el" href="socketengine_8h.html#X_5FLISTEN">socketengine.h</a><li>X_READBIT : <a class="el" href="socketengine_8h.html#X_5FREADBIT">socketengine.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_0x7a.html b/docs/module-doc/globals_0x7a.html index 2162b0839..d3f040a98 100644 --- a/docs/module-doc/globals_0x7a.html +++ b/docs/module-doc/globals_0x7a.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</a> | <a class="qindex" href="globals_defs.html">Defines</a></div> -<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindexHL" href="globals_0x7a.html#index_z">z</a></div> +<div class="qindex"><a class="qindex" href="globals.html#index_a">a</a> | <a class="qindex" href="globals_0x62.html#index_b">b</a> | <a class="qindex" href="globals_0x63.html#index_c">c</a> | <a class="qindex" href="globals_0x64.html#index_d">d</a> | <a class="qindex" href="globals_0x65.html#index_e">e</a> | <a class="qindex" href="globals_0x66.html#index_f">f</a> | <a class="qindex" href="globals_0x67.html#index_g">g</a> | <a class="qindex" href="globals_0x68.html#index_h">h</a> | <a class="qindex" href="globals_0x69.html#index_i">i</a> | <a class="qindex" href="globals_0x6b.html#index_k">k</a> | <a class="qindex" href="globals_0x6c.html#index_l">l</a> | <a class="qindex" href="globals_0x6d.html#index_m">m</a> | <a class="qindex" href="globals_0x6e.html#index_n">n</a> | <a class="qindex" href="globals_0x6f.html#index_o">o</a> | <a class="qindex" href="globals_0x70.html#index_p">p</a> | <a class="qindex" href="globals_0x71.html#index_q">q</a> | <a class="qindex" href="globals_0x72.html#index_r">r</a> | <a class="qindex" href="globals_0x73.html#index_s">s</a> | <a class="qindex" href="globals_0x74.html#index_t">t</a> | <a class="qindex" href="globals_0x75.html#index_u">u</a> | <a class="qindex" href="globals_0x76.html#index_v">v</a> | <a class="qindex" href="globals_0x77.html#index_w">w</a> | <a class="qindex" href="globals_0x78.html#index_x">x</a> | <a class="qindexHL" href="globals_0x7a.html#index_z">z</a></div> <p> Here is a list of all file members with links to the files they belong to: @@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to: <li>zline_make_global() : <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_8h-source.html b/docs/module-doc/globals_8h-source.html new file mode 100644 index 000000000..94e9e52e7 --- /dev/null +++ b/docs/module-doc/globals_8h-source.html @@ -0,0 +1,69 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: globals.h Source File</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>globals.h</h1><a href="globals_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* +------------------------------------+</span> +<a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +<a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> +<a name="l00004"></a>00004 <span class="comment"> *</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +<a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> +<a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> +<a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> +<a name="l00009"></a>00009 <span class="comment"> * </span> +<a name="l00010"></a>00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +<a name="l00011"></a>00011 <span class="comment"> * This program is free but copyrighted software; see</span> +<a name="l00012"></a>00012 <span class="comment"> * the file COPYING for details.</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * ---------------------------------------------------</span> +<a name="l00015"></a>00015 <span class="comment"> */</span> +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __WORLD_H</span> +<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __WORLD_H</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="comment">// include the common header files</span> +<a name="l00021"></a>00021 +<a name="l00022"></a>00022 <span class="preprocessor">#include <typeinfo></span> +<a name="l00023"></a>00023 <span class="preprocessor">#include <iostream></span> +<a name="l00024"></a>00024 <span class="preprocessor">#include <string></span> +<a name="l00025"></a>00025 <span class="preprocessor">#include <deque></span> +<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +<a name="l00028"></a>00028 +<a name="l00029"></a><a class="code" href="globals_8h.html#file_5Fcache">00029</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a>; +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="keywordtype">char</span>* text, ...); +<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">char</span> *text, ...); +<a name="l00033"></a>00033 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(<span class="keywordtype">int</span> sock,<span class="keywordtype">char</span> *text, ...); +<a name="l00034"></a>00034 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(<span class="keywordtype">int</span> sock, <span class="keywordtype">char</span>* text, ...); +<a name="l00035"></a>00035 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a>(<span class="keywordtype">int</span> sock, <a class="code" href="classuserrec.html">userrec</a> *user,<span class="keywordtype">char</span>* text, ...); +<a name="l00036"></a>00036 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">WriteTo</a>(<a class="code" href="classuserrec.html">userrec</a> *source, <a class="code" href="classuserrec.html">userrec</a> *dest,<span class="keywordtype">char</span> *data, ...); +<a name="l00037"></a>00037 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* Ptr, <a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">char</span>* text, ...); +<a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">ChanExceptSender</a>(<a class="code" href="classchanrec.html">chanrec</a>* Ptr, <a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">char</span>* text, ...); +<a name="l00039"></a>00039 <span class="keywordtype">int</span> <a class="code" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classuserrec.html">userrec</a> *u2); +<a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommon</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <span class="keywordtype">char</span>* text, ...); +<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommonExcept</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <span class="keywordtype">char</span>* text, ...); +<a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteWallOps</a>(<a class="code" href="classuserrec.html">userrec</a> *source, <span class="keywordtype">bool</span> local_only, <span class="keywordtype">char</span>* text, ...); +<a name="l00043"></a>00043 <span class="keywordtype">int</span> <a class="code" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *n); +<a name="l00044"></a>00044 <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Find</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick); +<a name="l00045"></a>00045 <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* chan); +<a name="l00046"></a>00046 <span class="keywordtype">char</span>* <a class="code" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); +<a name="l00047"></a>00047 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="globals_8h.html#getservername_28_29">getservername</a>(); +<a name="l00048"></a>00048 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="globals_8h.html#getnetworkname_28_29">getnetworkname</a>(); +<a name="l00049"></a>00049 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="globals_8h.html#getadminname_28_29">getadminname</a>(); +<a name="l00050"></a>00050 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="globals_8h.html#getadminemail_28_29">getadminemail</a>(); +<a name="l00051"></a>00051 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="globals_8h.html#getadminnick_28_29">getadminnick</a>(); +<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a>(<a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> &F, <span class="keyword">const</span> <span class="keywordtype">char</span>* fname); +<a name="l00053"></a>00053 <span class="keywordtype">int</span> <a class="code" href="globals_8h.html#ModeDefiend_28char_20c_2C_20int_20i_29">ModeDefiend</a>(<span class="keywordtype">char</span> c, <span class="keywordtype">int</span> i); +<a name="l00054"></a>00054 +<a name="l00055"></a>00055 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/globals_8h.html b/docs/module-doc/globals_8h.html new file mode 100644 index 000000000..b23503e78 --- /dev/null +++ b/docs/module-doc/globals_8h.html @@ -0,0 +1,1019 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: globals.h File Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>globals.h File Reference</h1><code>#include <typeinfo></code><br> +<code>#include <iostream></code><br> +<code>#include <string></code><br> +<code>#include <deque></code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> + +<p> +Include dependency graph for globals.h:<p><center><img src="globals_8h__incl.gif" border="0" usemap="#globals.h_map" alt=""></center> +<map name="globals.h_map"> +<area href="users_8h-source.html" shape="rect" coords="138,235,202,261" alt=""> +<area href="channels_8h-source.html" shape="rect" coords="262,159,347,185" alt=""> +<area href="connection_8h-source.html" shape="rect" coords="255,361,354,388" alt=""> +</map> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="globals_8h__dep__incl.gif" border="0" usemap="#globals.hdep_map" alt=""></center> +<map name="globals.hdep_map"> +<area href="channels_8cpp-source.html" shape="rect" coords="305,57,404,84" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="305,133,404,160" alt=""> +<area href="socketengine_8cpp-source.html" shape="rect" coords="292,235,417,261" alt=""> +<area href="inspircd__io_8h-source.html" shape="rect" coords="140,57,236,84" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="132,209,244,236" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="145,108,231,135" alt=""> +</map> + +<p> +<a href="globals_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>Typedefs</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#file_5Fcache">file_cache</a></td></tr> + +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a> (char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a> (int level, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a> (int sock, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a> (int sock, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a> (int sock, <a class="el" href="classuserrec.html">userrec</a> *user, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">WriteTo</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, char *data,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a> (<a class="el" href="classchanrec.html">chanrec</a> *Ptr, <a class="el" href="classuserrec.html">userrec</a> *user, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">ChanExceptSender</a> (<a class="el" href="classchanrec.html">chanrec</a> *Ptr, <a class="el" href="classuserrec.html">userrec</a> *user, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a> (<a class="el" href="classuserrec.html">userrec</a> *u, <a class="el" href="classuserrec.html">userrec</a> *u2)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *u, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommonExcept</a> (<a class="el" href="classuserrec.html">userrec</a> *u, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteWallOps</a> (<a class="el" href="classuserrec.html">userrec</a> *source, bool local_only, char *text,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick</a> (const char *n)</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="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Find</a> (<a class="el" href="namespaceirc.html#string">std::string</a> nick)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a> (const char *chan)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#getservername_28_29">getservername</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#getnetworkname_28_29">getnetworkname</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#getadminname_28_29">getadminname</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#getadminemail_28_29">getadminemail</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#getadminnick_28_29">getadminnick</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a> (<a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> &F, const char *fname)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="globals_8h.html#ModeDefiend_28char_20c_2C_20int_20i_29">ModeDefiend</a> (char c, int i)</td></tr> + +</table> +<hr><h2>Typedef Documentation</h2> +<a class="anchor" name="file_5Fcache"></a><!-- doxytag: member="globals.h::file_cache" ref="file_5Fcache" args="" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a>> <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="globals_8h-source.html#l00029">29</a> of file <a class="el" href="globals_8h-source.html">globals.h</a>. </td> + </tr> +</table> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::ChanExceptSender" ref="ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(chanrec *Ptr, userrec *user, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void ChanExceptSender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>Ptr</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00455">Server::SendChannel()</a>. </td> + </tr> +</table> +<a class="anchor" name="cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29"></a><!-- doxytag: member="globals.h::cmode" ref="cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29" args="(userrec *user, chanrec *chan)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">char* cmode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>chan</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00519">Server::ChanMode()</a>. </td> + </tr> +</table> +<a class="anchor" name="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29"></a><!-- doxytag: member="globals.h::common_channels" ref="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29" args="(userrec *u, userrec *u2)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int common_channels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u2</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00467">Server::CommonChannels()</a>. </td> + </tr> +</table> +<a class="anchor" name="Find_28std_3A_3Astring_20nick_29"></a><!-- doxytag: member="globals.h::Find" ref="Find_28std_3A_3Astring_20nick_29" args="(std::string nick)" --><p> +<table class="mdTable" 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>* Find </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td> + <td class="mdname1" valign="top" nowrap> <em>nick</em> </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> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00504">Server::FindNick()</a>. </td> + </tr> +</table> +<a class="anchor" name="FindChan_28const_20char_20_2Achan_29"></a><!-- doxytag: member="globals.h::FindChan" ref="FindChan_28const_20char_20_2Achan_29" args="(const char *chan)" --><p> +<table class="mdTable" 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="classchanrec.html">chanrec</a>* FindChan </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>chan</em> </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> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00514">Server::FindChannel()</a>. </td> + </tr> +</table> +<a class="anchor" name="getadminemail_28_29"></a><!-- doxytag: member="globals.h::getadminemail" ref="getadminemail_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> getadminemail </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> +<a class="anchor" name="getadminname_28_29"></a><!-- doxytag: member="globals.h::getadminname" ref="getadminname_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> getadminname </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> +<a class="anchor" name="getadminnick_28_29"></a><!-- doxytag: member="globals.h::getadminnick" ref="getadminnick_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> getadminnick </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> +<a class="anchor" name="getnetworkname_28_29"></a><!-- doxytag: member="globals.h::getnetworkname" ref="getnetworkname_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> getnetworkname </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> +<a class="anchor" name="getservername_28_29"></a><!-- doxytag: member="globals.h::getservername" ref="getservername_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> getservername </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> +<a class="anchor" name="isnick_28const_20char_20_2An_29"></a><!-- doxytag: member="globals.h::isnick" ref="isnick_28const_20char_20_2An_29" args="(const char *n)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int isnick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </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> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00499">Server::IsNick()</a>. </td> + </tr> +</table> +<a class="anchor" name="log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::log" ref="log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(int level, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void log </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>level</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00551">Server::AddExtendedMode()</a>, <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="channels_8cpp-source.html#l00167">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00406">Server::Log()</a>, <a class="el" href="socket_8cpp-source.html#l00158">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00122">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00086">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00111">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00248">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00292">userrec::SetWriteError()</a>, <a class="el" href="socketengine_8cpp-source.html#l00035">SocketEngine::SocketEngine()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00046">SocketEngine::~SocketEngine()</a>. </td> + </tr> +</table> +<a class="anchor" name="ModeDefiend_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="globals.h::ModeDefiend" ref="ModeDefiend_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int ModeDefiend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29"></a><!-- doxytag: member="globals.h::readfile" ref="readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29" args="(file_cache &F, const char *fname)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void readfile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> & </td> + <td class="mdname" nowrap> <em>F</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>fname</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00879">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00890">FileReader::LoadFile()</a>. </td> + </tr> +</table> +<a class="anchor" name="Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::Write" ref="Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(int sock, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void Write </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>sock</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00421">Server::Send()</a>, <a class="el" href="modules_8cpp-source.html#l00436">Server::SendTo()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteChannel" ref="WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(chanrec *Ptr, userrec *user, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteChannel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td> + <td class="mdname" nowrap> <em>Ptr</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00455">Server::SendChannel()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteCommon" ref="WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(userrec *u, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteCommon </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00472">Server::SendCommon()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteCommonExcept" ref="WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(userrec *u, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteCommonExcept </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00472">Server::SendCommon()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteFrom" ref="WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(int sock, userrec *user, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteFrom </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>sock</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00431">Server::SendFrom()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteOpers" ref="WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29" args="(char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteOpers </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="users_8cpp-source.html#l00198">userrec::AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00254">userrec::AddWriteBuf()</a>, <a class="el" href="modules_8cpp-source.html#l00830">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00318">Server::RehashServer()</a>, and <a class="el" href="modules_8cpp-source.html#l00341">Server::SendOpers()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteServ" ref="WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(int sock, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteServ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>sock</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00830">ConfigReader::DumpErrors()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00426">Server::SendServ()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteTo" ref="WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29" args="(userrec *source, userrec *dest, char *data,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>data</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00436">Server::SendTo()</a>. </td> + </tr> +</table> +<a class="anchor" name="WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29"></a><!-- doxytag: member="globals.h::WriteWallOps" ref="WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29" args="(userrec *source, bool local_only, char *text,...)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void WriteWallOps </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>source</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>local_only</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>text</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap> </td> + <td class="mdname" nowrap> <em>...</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00484">Server::SendWallops()</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/globals_8h__dep__incl.gif b/docs/module-doc/globals_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..4b448d416 --- /dev/null +++ b/docs/module-doc/globals_8h__dep__incl.gif diff --git a/docs/module-doc/globals_8h__dep__incl.map b/docs/module-doc/globals_8h__dep__incl.map new file mode 100644 index 000000000..20b679adc --- /dev/null +++ b/docs/module-doc/globals_8h__dep__incl.map @@ -0,0 +1,7 @@ +base referer +rect $channels_8cpp-source.html 305,57 404,84 +rect $modules_8cpp-source.html 305,133 404,160 +rect $socketengine_8cpp-source.html 292,235 417,261 +rect $inspircd__io_8h-source.html 140,57 236,84 +rect $socketengine_8h-source.html 132,209 244,236 +rect $typedefs_8h-source.html 145,108 231,135 diff --git a/docs/module-doc/globals_8h__dep__incl.md5 b/docs/module-doc/globals_8h__dep__incl.md5 new file mode 100644 index 000000000..c1e5ca4dd --- /dev/null +++ b/docs/module-doc/globals_8h__dep__incl.md5 @@ -0,0 +1 @@ +9d6f4bf521bab022edbf6a21bf5aa7ea
\ No newline at end of file diff --git a/docs/module-doc/globals_8h__incl.gif b/docs/module-doc/globals_8h__incl.gif Binary files differnew file mode 100644 index 000000000..aa3102969 --- /dev/null +++ b/docs/module-doc/globals_8h__incl.gif diff --git a/docs/module-doc/globals_8h__incl.map b/docs/module-doc/globals_8h__incl.map new file mode 100644 index 000000000..70f97a908 --- /dev/null +++ b/docs/module-doc/globals_8h__incl.map @@ -0,0 +1,4 @@ +base referer +rect $users_8h-source.html 138,235 202,261 +rect $channels_8h-source.html 262,159 347,185 +rect $connection_8h-source.html 255,361 354,388 diff --git a/docs/module-doc/globals_8h__incl.md5 b/docs/module-doc/globals_8h__incl.md5 new file mode 100644 index 000000000..b01db37e7 --- /dev/null +++ b/docs/module-doc/globals_8h__incl.md5 @@ -0,0 +1 @@ +a3b3469472caf7df1d6ac1729fa3eb57
\ No newline at end of file diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index c1f6f95cf..cc3703257 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</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_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> +<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_e">e</a> | <a class="qindex" href="#index_f">f</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_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> <p> @@ -43,13 +43,24 @@ <li>DEBUG : <a class="el" href="modules_8h.html#DEBUG">modules.h</a>, <a class="el" href="inspircd__io_8h.html#DEBUG">inspircd_io.h</a><li>DEFAULT : <a class="el" href="modules_8h.html#DEFAULT">modules.h</a>, <a class="el" href="inspircd__io_8h.html#DEFAULT">inspircd_io.h</a></ul> +<h3><a class="anchor" name="index_e">- e -</a></h3><ul> +<li>ERROR +: <a class="el" href="inspircd_8h.html#ERROR">inspircd.h</a></ul> <h3><a class="anchor" name="index_f">- f -</a></h3><ul> -<li>FD_MAGIC_NUMBER +<li>FALSE +: <a class="el" href="inspircd_8h.html#FALSE">inspircd.h</a><li>FD_MAGIC_NUMBER : <a class="el" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">modules.h</a><li>FOREACH_MOD : <a class="el" href="modules_8h.html#FOREACH_5FMOD">modules.h</a><li>FOREACH_RESULT : <a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">modules.h</a></ul> +<h3><a class="anchor" name="index_i">- i -</a></h3><ul> +<li>IS_LOCAL +: <a class="el" href="inspircd_8h.html#IS_5FLOCAL_28x_29">inspircd.h</a><li>IS_MODULE_CREATED +: <a class="el" href="inspircd_8h.html#IS_5FMODULE_5FCREATED_28x_29">inspircd.h</a><li>IS_REMOTE +: <a class="el" href="inspircd_8h.html#IS_5FREMOTE_28x_29">inspircd.h</a></ul> <h3><a class="anchor" name="index_m">- m -</a></h3><ul> -<li>MT_CHANNEL +<li>MAXCOMMAND +: <a class="el" href="inspircd_8h.html#MAXCOMMAND">inspircd.h</a><li>MAXSOCKS +: <a class="el" href="inspircd_8h.html#MAXSOCKS">inspircd.h</a><li>MT_CHANNEL : <a class="el" href="modules_8h.html#MT_5FCHANNEL">modules.h</a><li>MT_CLIENT : <a class="el" href="modules_8h.html#MT_5FCLIENT">modules.h</a><li>MT_SERVER : <a class="el" href="modules_8h.html#MT_5FSERVER">modules.h</a></ul> @@ -64,6 +75,12 @@ : <a class="el" href="users_8h.html#STATUS_5FNORMAL">users.h</a><li>STATUS_OP : <a class="el" href="users_8h.html#STATUS_5FOP">users.h</a><li>STATUS_VOICE : <a class="el" href="users_8h.html#STATUS_5FVOICE">users.h</a></ul> +<h3><a class="anchor" name="index_t">- t -</a></h3><ul> +<li>TRUE +: <a class="el" href="inspircd_8h.html#TRUE">inspircd.h</a><li>TYPE_CHANNEL +: <a class="el" href="inspircd_8h.html#TYPE_5FCHANNEL">inspircd.h</a><li>TYPE_SERVER +: <a class="el" href="inspircd_8h.html#TYPE_5FSERVER">inspircd.h</a><li>TYPE_USER +: <a class="el" href="inspircd_8h.html#TYPE_5FUSER">inspircd.h</a></ul> <h3><a class="anchor" name="index_u">- u -</a></h3><ul> <li>UCMODE_FOUNDER : <a class="el" href="channels_8h.html#UCMODE_5FFOUNDER">channels.h</a><li>UCMODE_HOP @@ -78,7 +95,11 @@ : <a class="el" href="modules_8h.html#VF_5FSERVICEPROVIDER">modules.h</a><li>VF_STATIC : <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR : <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<h3><a class="anchor" name="index_w">- w -</a></h3><ul> +<li>WM_AND +: <a class="el" href="inspircd_8h.html#WM_5FAND">inspircd.h</a><li>WM_OR +: <a class="el" href="inspircd_8h.html#WM_5FOR">inspircd.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_enum.html b/docs/module-doc/globals_enum.html index aa397a6e2..1a4942c18 100644 --- a/docs/module-doc/globals_enum.html +++ b/docs/module-doc/globals_enum.html @@ -12,7 +12,7 @@ <li>InspSocketError : <a class="el" href="socket_8h.html#InspSocketError">socket.h</a><li>InspSocketState : <a class="el" href="socket_8h.html#InspSocketState">socket.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_eval.html b/docs/module-doc/globals_eval.html index f066ce86e..4f3574670 100644 --- a/docs/module-doc/globals_eval.html +++ b/docs/module-doc/globals_eval.html @@ -19,7 +19,7 @@ : <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">socket.h</a><li>I_ERROR : <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">socket.h</a><li>I_LISTENING : <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">socket.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index 630b2d087..09e6fe2ae 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -6,28 +6,35 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</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_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_w">w</a> | <a class="qindex" href="#index_z">z</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_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_w">w</a> | <a class="qindex" href="#index_z">z</a></div> <p> <p> <h3><a class="anchor" name="index_a">- a -</a></h3><ul> <li>add_ban() -: <a class="el" href="mode_8h.html#add_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>add_eline() +: <a class="el" href="mode_8h.html#add_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>add_channel() +: <a class="el" href="channels_8h.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">channels.h</a>, <a class="el" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">channels.cpp</a><li>add_eline() : <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_gline() : <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_kline() : <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">xline.h</a><li>add_qline() : <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">xline.h</a><li>add_zline() -: <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">xline.h</a><li>allowed_umode() +: <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">xline.h</a><li>AddOper() +: <a class="el" href="inspircd_8h.html#AddOper_28userrec_20_2Auser_29">inspircd.h</a><li>AddServerName() +: <a class="el" href="inspircd_8h.html#AddServerName_28std_3A_3Astring_20servername_29">inspircd.h</a><li>AddWhoWas() +: <a class="el" href="inspircd_8h.html#AddWhoWas_28userrec_20_2Au_29">inspircd.h</a><li>allowed_umode() : <a class="el" href="mode_8h.html#allowed_5Fumode_28char_20umode_2C_20char_20_2Asourcemodes_2C_20bool_20adding_29">mode.h</a><li>apply_lines() : <a class="el" href="xline_8h.html#apply_5Flines_28const_20int_20What_29">xline.h</a></ul> <h3><a class="anchor" name="index_b">- b -</a></h3><ul> -<li>BindSocket() +<li>BindPorts() +: <a class="el" href="inspircd__io_8h.html#BindPorts_28_29">inspircd_io.h</a><li>BindSocket() : <a class="el" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">inspircd_io.h</a><li>Blocking() : <a class="el" href="message_8h.html#Blocking_28int_20s_29">message.h</a></ul> <h3><a class="anchor" name="index_c">- c -</a></h3><ul> <li>c_count() -: <a class="el" href="message_8h.html#c_5Fcount_28userrec_20_2Au_29">message.h</a><li>ChangeDisplayedHost() +: <a class="el" href="message_8h.html#c_5Fcount_28userrec_20_2Au_29">message.h</a><li>call_handler() +: <a class="el" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>ChanExceptSender() +: <a class="el" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>ChangeDisplayedHost() : <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">message.h</a><li>ChangeName() : <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">message.h</a><li>CheckDie() : <a class="el" href="userprocess_8h.html#CheckDie_28_29">userprocess.h</a><li>CheckRoot() @@ -35,18 +42,22 @@ : <a class="el" href="message_8h.html#chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29">message.h</a><li>chop() : <a class="el" href="message_8h.html#chop_28char_20_2Astr_29">message.h</a><li>CleanAndResolve() : <a class="el" href="message_8h.html#CleanAndResolve_28char_20_2AresolvedHost_2C_20const_20char_20_2AunresolvedHost_29">message.h</a><li>cmode() -: <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a><li>common_channels() -: <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">message.h</a><li>createcommand() +: <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a>, <a class="el" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">globals.h</a><li>common_channels() +: <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">message.h</a>, <a class="el" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">globals.h</a><li>ConnectUser() +: <a class="el" href="inspircd_8h.html#ConnectUser_28userrec_20_2Auser_29">inspircd.h</a><li>createcommand() : <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">modules.h</a><li>cstatus() : <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a></ul> <h3><a class="anchor" name="index_d">- d -</a></h3><ul> <li>DaemonSeed() -: <a class="el" href="inspircd__io_8h.html#DaemonSeed_28void_29">inspircd_io.h</a><li>del_eline() +: <a class="el" href="inspircd__io_8h.html#DaemonSeed_28void_29">inspircd_io.h</a><li>del_channel() +: <a class="el" href="channels_8h.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">channels.h</a>, <a class="el" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">channels.cpp</a><li>del_eline() : <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_gline() : <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_kline() : <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_qline() : <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">xline.h</a><li>del_zline() -: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>do_whois() +: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>DeleteOper() +: <a class="el" href="inspircd_8h.html#DeleteOper_28userrec_20_2Auser_29">inspircd.h</a><li>dns_task() +: <a class="el" href="inspircd_8h.html#dns_5Ftask_28void_20_2Aarg_29">inspircd.h</a><li>do_whois() : <a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">commands.h</a><li>DoAddExtendedMode() : <a class="el" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">modules.cpp</a><li>DoBackgroundUserStuff() : <a class="el" href="userprocess_8h.html#DoBackgroundUserStuff_28time_5Ft_20TIME_29">userprocess.h</a><li>duration() @@ -59,9 +70,22 @@ <h3><a class="anchor" name="index_f">- f -</a></h3><ul> <li>factory() : <a class="el" href="modules_8cpp.html#factory_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#factory">channels.cpp</a><li>FileExists() -: <a class="el" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">inspircd_io.h</a></ul> +: <a class="el" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">inspircd_io.h</a><li>Find() +: <a class="el" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">globals.h</a><li>FindChan() +: <a class="el" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">globals.h</a><li>FindServerNamePtr() +: <a class="el" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">inspircd.h</a><li>force_nickchange() +: <a class="el" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">inspircd.h</a><li>ForceChan() +: <a class="el" href="channels_8cpp.html#ForceChan_28chanrec_20_2APtr_2C_20ucrec_20_26a_2C_20userrec_20_2Auser_2C_20int_20created_29">channels.cpp</a><li>FullConnectUser() +: <a class="el" href="inspircd_8h.html#FullConnectUser_28userrec_20_2Auser_29">inspircd.h</a></ul> <h3><a class="anchor" name="index_g">- g -</a></h3><ul> -<li>give_hops() +<li>getadminemail() +: <a class="el" href="globals_8h.html#getadminemail_28_29">globals.h</a><li>getadminname() +: <a class="el" href="globals_8h.html#getadminname_28_29">globals.h</a><li>getadminnick() +: <a class="el" href="globals_8h.html#getadminnick_28_29">globals.h</a><li>getnetworkname() +: <a class="el" href="globals_8h.html#getnetworkname_28_29">globals.h</a><li>GetRevision() +: <a class="el" href="inspircd_8h.html#GetRevision_28_29">inspircd.h</a><li>getservername() +: <a class="el" href="globals_8h.html#getservername_28_29">globals.h</a><li>GetVersionString() +: <a class="el" href="inspircd_8h.html#GetVersionString_28_29">inspircd.h</a><li>give_hops() : <a class="el" href="mode_8h.html#give_5Fhops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_ops() : <a class="el" href="mode_8h.html#give_5Fops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_voice() : <a class="el" href="mode_8h.html#give_5Fvoice_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>gline_set_creation_time() @@ -114,7 +138,8 @@ : <a class="el" href="commands_8h.html#handle_5Funloadmodule_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_user() : <a class="el" href="commands_8h.html#handle_5Fuser_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_userhost() : <a class="el" href="commands_8h.html#handle_5Fuserhost_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_users() -: <a class="el" href="commands_8h.html#handle_5Fusers_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_wallops() +: <a class="el" href="commands_8h.html#handle_5Fusers_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_version() +: <a class="el" href="inspircd_8h.html#handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>handle_wallops() : <a class="el" href="commands_8h.html#handle_5Fwallops_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_who() : <a class="el" href="commands_8h.html#handle_5Fwho_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_whois() : <a class="el" href="commands_8h.html#handle_5Fwhois_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>handle_whowas() @@ -124,12 +149,20 @@ : <a class="el" href="message_8h.html#hasumode_28userrec_20_2Auser_2C_20char_20mode_29">message.h</a></ul> <h3><a class="anchor" name="index_i">- i -</a></h3><ul> <li>is_uline() -: <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>isident() +: <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>is_valid_cmd() +: <a class="el" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">inspircd.h</a><li>isident() : <a class="el" href="message_8h.html#isident_28const_20char_20_2An_29">message.h</a><li>isnick() -: <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a></ul> +: <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a>, <a class="el" href="globals_8h.html#isnick_28const_20char_20_2An_29">globals.h</a></ul> +<h3><a class="anchor" name="index_k">- k -</a></h3><ul> +<li>kick_channel() +: <a class="el" href="channels_8h.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">channels.h</a>, <a class="el" href="channels_8cpp.html#kick_5Fchannel_28userrec_20_2Asrc_2C_20userrec_20_2Auser_2C_20chanrec_20_2APtr_2C_20char_20_2Areason_29">channels.cpp</a><li>kill_link() +: <a class="el" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">inspircd.h</a><li>kill_link_silent() +: <a class="el" href="inspircd_8h.html#kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">inspircd.h</a></ul> <h3><a class="anchor" name="index_l">- l -</a></h3><ul> <li>LoadAllModules() -: <a class="el" href="userprocess_8h.html#LoadAllModules_28_29">userprocess.h</a></ul> +: <a class="el" href="userprocess_8h.html#LoadAllModules_28_29">userprocess.h</a><li>log() +: <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>loop_call() +: <a class="el" href="inspircd_8h.html#loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29">inspircd.h</a></ul> <h3><a class="anchor" name="index_m">- m -</a></h3><ul> <li>matches_exception() : <a class="el" href="xline_8h.html#matches_5Fexception_28const_20char_20_2Ahost_29">xline.h</a><li>matches_gline() @@ -138,13 +171,15 @@ : <a class="el" href="xline_8h.html#matches_5Fqline_28const_20char_20_2Anick_29">xline.h</a><li>matches_zline() : <a class="el" href="xline_8h.html#matches_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>merge_mode() : <a class="el" href="mode_8h.html#merge_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_29">mode.h</a><li>merge_mode2() -: <a class="el" href="mode_8h.html#merge_5Fmode_32_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>ModeDefined() -: <a class="el" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOff() -: <a class="el" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOn() -: <a class="el" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOper() -: <a class="el" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeIsListMode() -: <a class="el" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeMakeList() -: <a class="el" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">modules.cpp</a><li>modules() +: <a class="el" href="mode_8h.html#merge_5Fmode_32_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">mode.h</a><li>ModeDefiend() +: <a class="el" href="globals_8h.html#ModeDefiend_28char_20c_2C_20int_20i_29">globals.h</a><li>ModeDefined() +: <a class="el" href="modules_8h.html#ModeDefined_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOff() +: <a class="el" href="modules_8h.html#ModeDefinedOff_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOn() +: <a class="el" href="modules_8h.html#ModeDefinedOn_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeDefinedOper() +: <a class="el" href="modules_8h.html#ModeDefinedOper_28char_20c_2C_20int_20i_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeIsListMode() +: <a class="el" href="modules_8h.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">modules.cpp</a><li>ModeMakeList() +: <a class="el" href="modules_8h.html#ModeMakeList_28char_20modechar_29">modules.h</a>, <a class="el" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">modules.cpp</a><li>ModuleError() +: <a class="el" href="inspircd_8h.html#ModuleError_28_29">inspircd.h</a><li>modules() : <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a></ul> <h3><a class="anchor" name="index_n">- n -</a></h3><ul> <li>NonBlocking() @@ -154,7 +189,8 @@ : <a class="el" href="userprocess_8h.html#OpenLog_28char_20_2A_2Aargv_2C_20int_20argc_29">userprocess.h</a><li>OpenTCPSocket() : <a class="el" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">inspircd_io.h</a></ul> <h3><a class="anchor" name="index_p">- p -</a></h3><ul> -<li>process_modes() +<li>process_buffer() +: <a class="el" href="inspircd_8h.html#process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29">inspircd.h</a><li>process_modes() : <a class="el" href="mode_8h.html#process_5Fmodes_28char_20_2A_2Aparameters_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20int_20status_2C_20int_20pcnt_2C_20bool_20servermode_2C_20bool_20silent_2C_20bool_20local_29">mode.h</a><li>process_module_umode() : <a class="el" href="mode_8h.html#process_5Fmodule_5Fumode_28char_20umode_2C_20userrec_20_2Asource_2C_20void_20_2Adest_2C_20bool_20adding_29">mode.h</a><li>ProcessUser() : <a class="el" href="userprocess_8h.html#ProcessUser_28userrec_20_2Acu_29">userprocess.h</a></ul> @@ -164,7 +200,9 @@ : <a class="el" href="xline_8h.html#qline_5Fset_5Fcreation_5Ftime_28char_20_2Anick_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> <li>read_xline_defaults() -: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a></ul> +: <a class="el" href="xline_8h.html#read_5Fxline_5Fdefaults_28_29">xline.h</a><li>readfile() +: <a class="el" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">globals.h</a><li>ReHashNick() +: <a class="el" href="inspircd_8h.html#ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29">inspircd.h</a></ul> <h3><a class="anchor" name="index_s">- s -</a></h3><ul> <li>send_network_quit() : <a class="el" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">message.h</a><li>server_mode() @@ -184,13 +222,22 @@ : <a class="el" href="message_8h.html#TidyBan_28char_20_2Aban_29">message.h</a><li>tidystring() : <a class="el" href="message_8h.html#tidystring_28char_20_2Astr_29">message.h</a></ul> <h3><a class="anchor" name="index_w">- w -</a></h3><ul> -<li>WritePID() -: <a class="el" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">inspircd_io.h</a></ul> +<li>Write() +: <a class="el" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteChannel() +: <a class="el" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteCommon() +: <a class="el" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteCommonExcept() +: <a class="el" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteFrom() +: <a class="el" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteOpers() +: <a class="el" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WritePID() +: <a class="el" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">inspircd_io.h</a><li>WriteServ() +: <a class="el" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a><li>WriteTo() +: <a class="el" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">globals.h</a><li>WriteWallOps() +: <a class="el" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">globals.h</a></ul> <h3><a class="anchor" name="index_z">- z -</a></h3><ul> <li>zline_make_global() : <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time() : <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index 8c2f6cab1..55904231a 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -19,7 +19,8 @@ : <a class="el" href="channels_8h.html#ExemptList">channels.h</a><li>ExtModeList : <a class="el" href="typedefs_8h.html#ExtModeList">typedefs.h</a><li>ExtModeListIter : <a class="el" href="typedefs_8h.html#ExtModeListIter">typedefs.h</a><li>file_cache -: <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a><li>InvitedList +: <a class="el" href="typedefs_8h.html#file_5Fcache">typedefs.h</a>, <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a>, <a class="el" href="globals_8h.html#file_5Fcache">globals.h</a><li>handlerfunc +: <a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">inspircd.h</a><li>InvitedList : <a class="el" href="users_8h.html#InvitedList">users.h</a><li>InviteList : <a class="el" href="channels_8h.html#InviteList">channels.h</a><li>ircd_module : <a class="el" href="modules_8h.html#ircd_5Fmodule">modules.h</a><li>servernamelist @@ -29,7 +30,7 @@ : <a class="el" href="typedefs_8h.html#user_5Fhash">typedefs.h</a><li>VoidPointer : <a class="el" href="base_8h.html#VoidPointer">base.h</a><li>whowas_hash : <a class="el" href="typedefs_8h.html#whowas_5Fhash">typedefs.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index 6fe946e60..aaa6166b9 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -6,7 +6,7 @@ <!-- Generated by Doxygen 1.4.4-20050815 --> <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumerator</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_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</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_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> | <a class="qindex" href="#index_x">x</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_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_o">o</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> | <a class="qindex" href="#index_x">x</a></div> <p> @@ -20,14 +20,13 @@ : <a class="el" href="xline_8h.html#APPLY_5FZLINES">xline.h</a></ul> <h3><a class="anchor" name="index_b">- b -</a></h3><ul> <li>boundPortCount -: <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a>, <a class="el" href="modules_8cpp.html#boundPortCount">modules.cpp</a>, <a class="el" href="channels_8cpp.html#boundPortCount">channels.cpp</a></ul> +: <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a></ul> <h3><a class="anchor" name="index_c">- c -</a></h3><ul> <li>chanlist -: <a class="el" href="modules_8cpp.html#chanlist">modules.cpp</a><li>clientlist +: <a class="el" href="modules_8cpp.html#chanlist">modules.cpp</a>, <a class="el" href="channels_8cpp.html#chanlist">channels.cpp</a><li>clientlist : <a class="el" href="modules_8cpp.html#clientlist">modules.cpp</a><li>cmdlist : <a class="el" href="modules_8cpp.html#cmdlist">modules.cpp</a><li>Config -: <a class="el" href="users_8cpp.html#Config">users.cpp</a>, <a class="el" href="modules_8cpp.html#Config">modules.cpp</a>, <a class="el" href="channels_8cpp.html#Config">channels.cpp</a><li>config_f -: <a class="el" href="channels_8cpp.html#config_5Ff">channels.cpp</a><li>custom_mode_params +: <a class="el" href="users_8cpp.html#Config">users.cpp</a>, <a class="el" href="modules_8cpp.html#Config">modules.cpp</a>, <a class="el" href="channels_8cpp.html#Config">channels.cpp</a><li>custom_mode_params : <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">channels.cpp</a></ul> <h3><a class="anchor" name="index_e">- e -</a></h3><ul> <li>EMode @@ -36,38 +35,29 @@ <li>factory : <a class="el" href="modules_8cpp.html#factory_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#factory">channels.cpp</a><li>fd_ref_table : <a class="el" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">modules.cpp</a></ul> -<h3><a class="anchor" name="index_i">- i -</a></h3><ul> -<li>IP -: <a class="el" href="modules_8cpp.html#IP">modules.cpp</a></ul> <h3><a class="anchor" name="index_m">- m -</a></h3><ul> <li>MODCOUNT -: <a class="el" href="modules_8cpp.html#MODCOUNT">modules.cpp</a>, <a class="el" href="channels_8cpp.html#MODCOUNT">channels.cpp</a><li>module_names -: <a class="el" href="channels_8cpp.html#module_5Fnames">channels.cpp</a><li>module_sockets +: <a class="el" href="modules_8cpp.html#MODCOUNT">modules.cpp</a>, <a class="el" href="channels_8cpp.html#MODCOUNT">channels.cpp</a><li>module_sockets : <a class="el" href="modules_8cpp.html#module_5Fsockets">modules.cpp</a><li>modules : <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a></ul> <h3><a class="anchor" name="index_o">- o -</a></h3><ul> <li>openSockfd : <a class="el" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">socket.cpp</a></ul> -<h3><a class="anchor" name="index_p">- p -</a></h3><ul> -<li>portCount -: <a class="el" href="modules_8cpp.html#portCount">modules.cpp</a><li>ports -: <a class="el" href="modules_8cpp.html#ports_5BMAXSOCKS_5D">modules.cpp</a></ul> <h3><a class="anchor" name="index_r">- r -</a></h3><ul> <li>ref : <a class="el" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">socketengine.cpp</a></ul> <h3><a class="anchor" name="index_s">- s -</a></h3><ul> <li>SE -: <a class="el" href="socket_8cpp.html#SE">socket.cpp</a>, <a class="el" href="modules_8cpp.html#SE">modules.cpp</a><li>socket_ref -: <a class="el" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">socket.cpp</a><li>startup_time -: <a class="el" href="modules_8cpp.html#startup_5Ftime">modules.cpp</a>, <a class="el" href="channels_8cpp.html#startup_5Ftime">channels.cpp</a></ul> +: <a class="el" href="socket_8cpp.html#SE">socket.cpp</a>, <a class="el" href="modules_8cpp.html#SE">modules.cpp</a><li>ServerInstance +: <a class="el" href="modules_8cpp.html#ServerInstance">modules.cpp</a><li>socket_ref +: <a class="el" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">socket.cpp</a></ul> <h3><a class="anchor" name="index_t">- t -</a></h3><ul> <li>TIME : <a class="el" href="users_8cpp.html#TIME">users.cpp</a>, <a class="el" href="socket_8cpp.html#TIME">socket.cpp</a>, <a class="el" href="modules_8cpp.html#TIME">modules.cpp</a>, <a class="el" href="channels_8cpp.html#TIME">channels.cpp</a></ul> <h3><a class="anchor" name="index_w">- w -</a></h3><ul> -<li>whowas -: <a class="el" href="modules_8cpp.html#whowas">modules.cpp</a><li>WHOWAS_MAX -: <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE -: <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul> +<li>WHOWAS_MAX +: <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE +: <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul> <h3><a class="anchor" name="index_x">- x -</a></h3><ul> <li>X_EMPTY_SLOT : <a class="el" href="socketengine_8h.html#X_5FEMPTY_5FSLOT">socketengine.h</a><li>X_ESTAB_CLIENT @@ -76,7 +66,7 @@ : <a class="el" href="socketengine_8h.html#X_5FESTAB_5FMODULE">socketengine.h</a><li>X_LISTEN : <a class="el" href="socketengine_8h.html#X_5FLISTEN">socketengine.h</a><li>X_READBIT : <a class="el" href="socketengine_8h.html#X_5FREADBIT">socketengine.h</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index d1df49f64..b311a390d 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -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 Wed Dec 14 15:55:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html index 1e0fa4622..59008b12a 100644 --- a/docs/module-doc/hashcomp_8h-source.html +++ b/docs/module-doc/hashcomp_8h-source.html @@ -109,7 +109,7 @@ <a name="l00130"></a>00130 } <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html index 8c1e6e7c3..c0e831778 100644 --- a/docs/module-doc/hashcomp_8h.html +++ b/docs/module-doc/hashcomp_8h.html @@ -16,8 +16,9 @@ Include dependency graph for hashcomp.h:<p><center><img src="hashcomp_8h__incl.g <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=""></center> <map name="hashcomp.hdep_map"> -<area href="modules_8cpp-source.html" shape="rect" coords="284,32,383,59" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="285,7,384,34" alt=""> <area href="typedefs_8h-source.html" shape="rect" coords="151,58,236,84" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="285,58,384,84" alt=""> </map> <p> @@ -78,7 +79,7 @@ This graph shows which files directly or indirectly include this file:<p><center Definition at line <a class="el" href="hashcomp_8h-source.html#l00044">44</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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/hashcomp_8h__dep__incl.gif b/docs/module-doc/hashcomp_8h__dep__incl.gif Binary files differindex 076e8b9e0..d3caf5979 100644 --- a/docs/module-doc/hashcomp_8h__dep__incl.gif +++ b/docs/module-doc/hashcomp_8h__dep__incl.gif diff --git a/docs/module-doc/hashcomp_8h__dep__incl.map b/docs/module-doc/hashcomp_8h__dep__incl.map index f8f9b2cc4..52c40f1fc 100644 --- a/docs/module-doc/hashcomp_8h__dep__incl.map +++ b/docs/module-doc/hashcomp_8h__dep__incl.map @@ -1,3 +1,4 @@ base referer -rect $modules_8cpp-source.html 284,32 383,59 +rect $modules_8cpp-source.html 285,7 384,34 rect $typedefs_8h-source.html 151,58 236,84 +rect $channels_8cpp-source.html 285,58 384,84 diff --git a/docs/module-doc/hashcomp_8h__dep__incl.md5 b/docs/module-doc/hashcomp_8h__dep__incl.md5 index 02fa744bc..6be4611c3 100644 --- a/docs/module-doc/hashcomp_8h__dep__incl.md5 +++ b/docs/module-doc/hashcomp_8h__dep__incl.md5 @@ -1 +1 @@ -40ab5dae8b125b51cc6bddd308d045f3
\ No newline at end of file +6a6c46b821cf3dc5d3cadf06a3a1391b
\ No newline at end of file diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index dd52dc05e..6d67cb6ba 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -62,12 +62,14 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul> <li><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a> <li><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash< string ></a> <li><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a> +<li><a class="el" href="classInspIRCd.html">InspIRCd</a> <li><a class="el" href="classInspSocket.html">InspSocket</a> +<li><a class="el" href="classserverstats.html">serverstats</a> <li><a class="el" href="classSocketEngine.html">SocketEngine</a> <li><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> <li><a class="el" href="classWhoWasUser.html">WhoWasUser</a> </ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/inherit__graph__10.gif b/docs/module-doc/inherit__graph__10.gif Binary files differindex dfb0c4c56..ead171060 100644 --- a/docs/module-doc/inherit__graph__10.gif +++ b/docs/module-doc/inherit__graph__10.gif diff --git a/docs/module-doc/inherit__graph__10.map b/docs/module-doc/inherit__graph__10.map index cb5e68503..cf6c39bc6 100644 --- a/docs/module-doc/inherit__graph__10.map +++ b/docs/module-doc/inherit__graph__10.map @@ -1,2 +1,2 @@ base referer -rect $classSocketEngine.html 8,7 112,33 +rect $structnspace_1_1hash_3_01string_01_4.html 7,7 164,33 diff --git a/docs/module-doc/inherit__graph__10.md5 b/docs/module-doc/inherit__graph__10.md5 index 6349253e0..354478843 100644 --- a/docs/module-doc/inherit__graph__10.md5 +++ b/docs/module-doc/inherit__graph__10.md5 @@ -1 +1 @@ -949dcc70479b42522977703d4bb0a709
\ No newline at end of file +317e8030ba500855ca30d38cc6449d34
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__11.gif b/docs/module-doc/inherit__graph__11.gif Binary files differindex e79f9b374..8c35d516a 100644 --- a/docs/module-doc/inherit__graph__11.gif +++ b/docs/module-doc/inherit__graph__11.gif diff --git a/docs/module-doc/inherit__graph__11.map b/docs/module-doc/inherit__graph__11.map index f4dc152fc..8390fc618 100644 --- a/docs/module-doc/inherit__graph__11.map +++ b/docs/module-doc/inherit__graph__11.map @@ -1,2 +1,2 @@ base referer -rect $classWhoWasUser.html 8,7 112,33 +rect $classserverstats.html 7,7 95,33 diff --git a/docs/module-doc/inherit__graph__11.md5 b/docs/module-doc/inherit__graph__11.md5 index 49ded545f..2d37de06b 100644 --- a/docs/module-doc/inherit__graph__11.md5 +++ b/docs/module-doc/inherit__graph__11.md5 @@ -1 +1 @@ -5bff511d62c6faa81cdb63b1f78f6cd8
\ No newline at end of file +cf48882e944fddb7efa2fe6a320e8c63
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__12.gif b/docs/module-doc/inherit__graph__12.gif Binary files differnew file mode 100644 index 000000000..dfb0c4c56 --- /dev/null +++ b/docs/module-doc/inherit__graph__12.gif diff --git a/docs/module-doc/inherit__graph__12.map b/docs/module-doc/inherit__graph__12.map new file mode 100644 index 000000000..cb5e68503 --- /dev/null +++ b/docs/module-doc/inherit__graph__12.map @@ -0,0 +1,2 @@ +base referer +rect $classSocketEngine.html 8,7 112,33 diff --git a/docs/module-doc/inherit__graph__12.md5 b/docs/module-doc/inherit__graph__12.md5 new file mode 100644 index 000000000..6349253e0 --- /dev/null +++ b/docs/module-doc/inherit__graph__12.md5 @@ -0,0 +1 @@ +949dcc70479b42522977703d4bb0a709
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__13.gif b/docs/module-doc/inherit__graph__13.gif Binary files differnew file mode 100644 index 000000000..e79f9b374 --- /dev/null +++ b/docs/module-doc/inherit__graph__13.gif diff --git a/docs/module-doc/inherit__graph__13.map b/docs/module-doc/inherit__graph__13.map new file mode 100644 index 000000000..f4dc152fc --- /dev/null +++ b/docs/module-doc/inherit__graph__13.map @@ -0,0 +1,2 @@ +base referer +rect $classWhoWasUser.html 8,7 112,33 diff --git a/docs/module-doc/inherit__graph__13.md5 b/docs/module-doc/inherit__graph__13.md5 new file mode 100644 index 000000000..49ded545f --- /dev/null +++ b/docs/module-doc/inherit__graph__13.md5 @@ -0,0 +1 @@ +5bff511d62c6faa81cdb63b1f78f6cd8
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__5.gif b/docs/module-doc/inherit__graph__5.gif Binary files differindex f657b86ad..b55141572 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__5.map b/docs/module-doc/inherit__graph__5.map index 9f8c7b021..ac2c9ebe9 100644 --- a/docs/module-doc/inherit__graph__5.map +++ b/docs/module-doc/inherit__graph__5.map @@ -1,2 +1,2 @@ base referer -rect $classInspSocket.html 7,7 95,33 +rect $classInspIRCd.html 7,7 84,33 diff --git a/docs/module-doc/inherit__graph__5.md5 b/docs/module-doc/inherit__graph__5.md5 index d2ac3e742..d6b0d6c87 100644 --- a/docs/module-doc/inherit__graph__5.md5 +++ b/docs/module-doc/inherit__graph__5.md5 @@ -1 +1 @@ -866431d87448beeff03effa477cb0785
\ No newline at end of file +027440a4e7d81cbfbc813d6bda090a43
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__6.gif b/docs/module-doc/inherit__graph__6.gif Binary files differindex 0f004ad81..f657b86ad 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__6.map b/docs/module-doc/inherit__graph__6.map index dad9d9fcd..9f8c7b021 100644 --- a/docs/module-doc/inherit__graph__6.map +++ b/docs/module-doc/inherit__graph__6.map @@ -1,2 +1,2 @@ base referer -rect $structirc_1_1InAddr__HashComp.html 7,7 164,33 +rect $classInspSocket.html 7,7 95,33 diff --git a/docs/module-doc/inherit__graph__6.md5 b/docs/module-doc/inherit__graph__6.md5 index 9496775c7..d2ac3e742 100644 --- a/docs/module-doc/inherit__graph__6.md5 +++ b/docs/module-doc/inherit__graph__6.md5 @@ -1 +1 @@ -3c2c67e0c9a15d3aaf7860ffcd39768e
\ No newline at end of file +866431d87448beeff03effa477cb0785
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__7.gif b/docs/module-doc/inherit__graph__7.gif Binary files differindex b68f09f13..0f004ad81 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__7.map b/docs/module-doc/inherit__graph__7.map index 8c67f4a72..dad9d9fcd 100644 --- a/docs/module-doc/inherit__graph__7.map +++ b/docs/module-doc/inherit__graph__7.map @@ -1,2 +1,2 @@ base referer -rect $structirc_1_1StrHashComp.html 7,7 135,33 +rect $structirc_1_1InAddr__HashComp.html 7,7 164,33 diff --git a/docs/module-doc/inherit__graph__7.md5 b/docs/module-doc/inherit__graph__7.md5 index b62920d1d..9496775c7 100644 --- a/docs/module-doc/inherit__graph__7.md5 +++ b/docs/module-doc/inherit__graph__7.md5 @@ -1 +1 @@ -d94ccc9245ee31c76282e2c8ed0c0bb2
\ No newline at end of file +3c2c67e0c9a15d3aaf7860ffcd39768e
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__8.gif b/docs/module-doc/inherit__graph__8.gif Binary files differindex 2c759987a..b68f09f13 100644 --- a/docs/module-doc/inherit__graph__8.gif +++ b/docs/module-doc/inherit__graph__8.gif diff --git a/docs/module-doc/inherit__graph__8.map b/docs/module-doc/inherit__graph__8.map index e91564620..8c67f4a72 100644 --- a/docs/module-doc/inherit__graph__8.map +++ b/docs/module-doc/inherit__graph__8.map @@ -1,2 +1,2 @@ base referer -rect $structnspace_1_1hash_3_01in__addr_01_4.html 8,7 176,33 +rect $structirc_1_1StrHashComp.html 7,7 135,33 diff --git a/docs/module-doc/inherit__graph__8.md5 b/docs/module-doc/inherit__graph__8.md5 index 9c5f939fc..b62920d1d 100644 --- a/docs/module-doc/inherit__graph__8.md5 +++ b/docs/module-doc/inherit__graph__8.md5 @@ -1 +1 @@ -40e92872c26375b92021bb12d46d2211
\ No newline at end of file +d94ccc9245ee31c76282e2c8ed0c0bb2
\ No newline at end of file diff --git a/docs/module-doc/inherit__graph__9.gif b/docs/module-doc/inherit__graph__9.gif Binary files differindex ead171060..2c759987a 100644 --- a/docs/module-doc/inherit__graph__9.gif +++ b/docs/module-doc/inherit__graph__9.gif diff --git a/docs/module-doc/inherit__graph__9.map b/docs/module-doc/inherit__graph__9.map index cf6c39bc6..e91564620 100644 --- a/docs/module-doc/inherit__graph__9.map +++ b/docs/module-doc/inherit__graph__9.map @@ -1,2 +1,2 @@ base referer -rect $structnspace_1_1hash_3_01string_01_4.html 7,7 164,33 +rect $structnspace_1_1hash_3_01in__addr_01_4.html 8,7 176,33 diff --git a/docs/module-doc/inherit__graph__9.md5 b/docs/module-doc/inherit__graph__9.md5 index 354478843..9c5f939fc 100644 --- a/docs/module-doc/inherit__graph__9.md5 +++ b/docs/module-doc/inherit__graph__9.md5 @@ -1 +1 @@ -317e8030ba500855ca30d38cc6449d34
\ No newline at end of file +40e92872c26375b92021bb12d46d2211
\ No newline at end of file diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index d9f95000c..514c47665 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -60,36 +60,44 @@ <map name="dns__ip4list_map"> <area href="structdns__ip4list.html" shape="rect" coords="7,7,92,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#InspSocket_map"> +<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#InspIRCd_map"> +<map name="InspIRCd_map"> +<area href="classInspIRCd.html" shape="rect" coords="7,7,84,33" alt=""> +</map></td></tr> +<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#InspSocket_map"> <map name="InspSocket_map"> <area href="classInspSocket.html" shape="rect" coords="7,7,95,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#irc_1_1InAddr__HashComp_map"> +<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#irc_1_1InAddr__HashComp_map"> <map name="irc_1_1InAddr__HashComp_map"> <area href="structirc_1_1InAddr__HashComp.html" shape="rect" coords="7,7,164,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#irc_1_1StrHashComp_map"> +<tr><td><img src="inherit__graph__8.gif" border="0" alt="" usemap="#irc_1_1StrHashComp_map"> <map name="irc_1_1StrHashComp_map"> <area href="structirc_1_1StrHashComp.html" shape="rect" coords="7,7,135,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__8.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01in__addr_01_4_map"> +<tr><td><img src="inherit__graph__9.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_1hash_3_01in__addr_01_4.html" shape="rect" coords="8,7,176,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__9.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01string_01_4_map"> +<tr><td><img src="inherit__graph__10.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_1hash_3_01string_01_4.html" shape="rect" coords="7,7,164,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__10.gif" border="0" alt="" usemap="#SocketEngine_map"> +<tr><td><img src="inherit__graph__11.gif" border="0" alt="" usemap="#serverstats_map"> +<map name="serverstats_map"> +<area href="classserverstats.html" shape="rect" coords="7,7,95,33" alt=""> +</map></td></tr> +<tr><td><img src="inherit__graph__12.gif" border="0" alt="" usemap="#SocketEngine_map"> <map name="SocketEngine_map"> <area href="classSocketEngine.html" shape="rect" coords="8,7,112,33" alt=""> </map></td></tr> -<tr><td><img src="inherit__graph__11.gif" border="0" alt="" usemap="#WhoWasUser_map"> +<tr><td><img src="inherit__graph__13.gif" border="0" alt="" usemap="#WhoWasUser_map"> <map name="WhoWasUser_map"> <area href="classWhoWasUser.html" shape="rect" coords="8,7,112,33" alt=""> </map></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:53 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/inspircd_8h-source.html b/docs/module-doc/inspircd_8h-source.html new file mode 100644 index 000000000..e9f0d62f6 --- /dev/null +++ b/docs/module-doc/inspircd_8h-source.html @@ -0,0 +1,150 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: inspircd.h Source File</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>inspircd.h</h1><a href="inspircd_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* +------------------------------------+</span> +<a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> +<a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> +<a name="l00004"></a>00004 <span class="comment"> *</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +<a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> +<a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> +<a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> +<a name="l00009"></a>00009 <span class="comment"> * </span> +<a name="l00010"></a>00010 <span class="comment"> * Written by Craig Edwards, Craig McLure, and others.</span> +<a name="l00011"></a>00011 <span class="comment"> * This program is free but copyrighted software; see</span> +<a name="l00012"></a>00012 <span class="comment"> * the file COPYING for details.</span> +<a name="l00013"></a>00013 <span class="comment"> *</span> +<a name="l00014"></a>00014 <span class="comment"> * ---------------------------------------------------</span> +<a name="l00015"></a>00015 <span class="comment"> */</span> +<a name="l00016"></a>00016 +<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __INSPIRCD_H__</span> +<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __INSPIRCD_H__</span> +<a name="l00019"></a>00019 <span class="preprocessor"></span> +<a name="l00020"></a>00020 <span class="preprocessor">#include "inspircd_config.h"</span> +<a name="l00021"></a>00021 <span class="preprocessor">#include <string></span> +<a name="l00022"></a>00022 <span class="preprocessor">#include <stdio.h></span> +<a name="l00023"></a>00023 <span class="preprocessor">#include <unistd.h></span> +<a name="l00024"></a>00024 <span class="preprocessor">#include <signal.h></span> +<a name="l00025"></a>00025 <span class="preprocessor">#include <time.h></span> +<a name="l00026"></a>00026 <span class="preprocessor">#include <netdb.h></span> +<a name="l00027"></a>00027 <span class="preprocessor">#include <string.h></span> +<a name="l00028"></a>00028 <span class="preprocessor">#include <errno.h></span> +<a name="l00029"></a>00029 <span class="preprocessor">#include <sys/types.h></span> +<a name="l00030"></a>00030 +<a name="l00031"></a>00031 <span class="preprocessor">#ifndef _LINUX_C_LIB_VERSION</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#include <sys/socket.h></span> +<a name="l00033"></a>00033 <span class="preprocessor">#include <sys/stat.h></span> +<a name="l00034"></a>00034 <span class="preprocessor">#include <netinet/in.h></span> +<a name="l00035"></a>00035 <span class="preprocessor">#endif</span> +<a name="l00036"></a>00036 <span class="preprocessor"></span> +<a name="l00037"></a>00037 <span class="preprocessor">#include <arpa/inet.h></span> +<a name="l00038"></a>00038 <span class="preprocessor">#include <string></span> +<a name="l00039"></a>00039 <span class="preprocessor">#include <deque></span> +<a name="l00040"></a>00040 +<a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="inspircd__io_8h.html">inspircd_io.h</a>"</span> +<a name="l00042"></a>00042 <span class="preprocessor">#include "inspircd_util.h"</span> +<a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> +<a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> +<a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="socket_8h.html">socket.h</a>"</span> +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 <span class="comment">// some misc defines</span> +<a name="l00048"></a>00048 +<a name="l00049"></a><a class="code" href="inspircd_8h.html#ERROR">00049</a> <span class="preprocessor">#define ERROR -1</span> +<a name="l00050"></a><a class="code" href="inspircd_8h.html#TRUE">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define TRUE 1</span> +<a name="l00051"></a><a class="code" href="inspircd_8h.html#FALSE">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span> +<a name="l00052"></a><a class="code" href="inspircd_8h.html#MAXSOCKS">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define MAXSOCKS 64</span> +<a name="l00053"></a><a class="code" href="inspircd_8h.html#MAXCOMMAND">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define MAXCOMMAND 32</span> +<a name="l00054"></a>00054 <span class="preprocessor"></span> +<a name="l00055"></a>00055 <span class="comment">// flags for use with WriteMode</span> +<a name="l00056"></a>00056 +<a name="l00057"></a><a class="code" href="inspircd_8h.html#WM_5FAND">00057</a> <span class="preprocessor">#define WM_AND 1</span> +<a name="l00058"></a><a class="code" href="inspircd_8h.html#WM_5FOR">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define WM_OR 2</span> +<a name="l00059"></a>00059 <span class="preprocessor"></span> +<a name="l00060"></a>00060 <span class="comment">// flags for use with OnUserPreMessage and OnUserPreNotice</span> +<a name="l00061"></a>00061 +<a name="l00062"></a><a class="code" href="inspircd_8h.html#TYPE_5FUSER">00062</a> <span class="preprocessor">#define TYPE_USER 1</span> +<a name="l00063"></a><a class="code" href="inspircd_8h.html#TYPE_5FCHANNEL">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define TYPE_CHANNEL 2</span> +<a name="l00064"></a><a class="code" href="inspircd_8h.html#TYPE_5FSERVER">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define TYPE_SERVER 3</span> +<a name="l00065"></a>00065 <span class="preprocessor"></span> +<a name="l00066"></a><a class="code" href="inspircd_8h.html#IS_5FLOCAL_28x_29">00066</a> <span class="preprocessor">#define IS_LOCAL(x) (x->fd > -1)</span> +<a name="l00067"></a><a class="code" href="inspircd_8h.html#IS_5FREMOTE_28x_29">00067</a> <span class="preprocessor"></span><span class="preprocessor">#define IS_REMOTE(x) (x->fd < 0)</span> +<a name="l00068"></a><a class="code" href="inspircd_8h.html#IS_5FMODULE_5FCREATED_28x_29">00068</a> <span class="preprocessor"></span><span class="preprocessor">#define IS_MODULE_CREATED(x) (x->fd == FD_MAGIC_NUMBER)</span> +<a name="l00069"></a>00069 <span class="preprocessor"></span> +<a name="l00070"></a><a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">00070</a> <span class="keyword">typedef</span> void (<a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a>) (<span class="keywordtype">char</span>**, int, <a class="code" href="classuserrec.html">userrec</a>*); +<a name="l00071"></a>00071 +<a name="l00072"></a><a class="code" href="classserverstats.html">00072</a> <span class="keyword">class </span><a class="code" href="classserverstats.html">serverstats</a> +<a name="l00073"></a>00073 { +<a name="l00074"></a>00074 <span class="keyword">public</span>: +<a name="l00075"></a><a class="code" href="classserverstats.html#statsAccept">00075</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsAccept">statsAccept</a>; +<a name="l00076"></a><a class="code" href="classserverstats.html#statsRefused">00076</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsRefused">statsRefused</a>; +<a name="l00077"></a><a class="code" href="classserverstats.html#statsUnknown">00077</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsUnknown">statsUnknown</a>; +<a name="l00078"></a><a class="code" href="classserverstats.html#statsCollisions">00078</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsCollisions">statsCollisions</a>; +<a name="l00079"></a><a class="code" href="classserverstats.html#statsDns">00079</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsDns">statsDns</a>; +<a name="l00080"></a><a class="code" href="classserverstats.html#statsDnsGood">00080</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsDnsGood">statsDnsGood</a>; +<a name="l00081"></a><a class="code" href="classserverstats.html#statsDnsBad">00081</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsDnsBad">statsDnsBad</a>; +<a name="l00082"></a><a class="code" href="classserverstats.html#statsConnects">00082</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsConnects">statsConnects</a>; +<a name="l00083"></a><a class="code" href="classserverstats.html#statsSent">00083</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsSent">statsSent</a>; +<a name="l00084"></a><a class="code" href="classserverstats.html#statsRecv">00084</a> <span class="keywordtype">int</span> <a class="code" href="classserverstats.html#statsRecv">statsRecv</a>; +<a name="l00085"></a>00085 +<a name="l00086"></a><a class="code" href="classserverstats.html#serverstats_28_29">00086</a> <a class="code" href="classserverstats.html#serverstats_28_29">serverstats</a>() +<a name="l00087"></a>00087 { +<a name="l00088"></a>00088 <a class="code" href="classserverstats.html#statsAccept">statsAccept</a> = <a class="code" href="classserverstats.html#statsRefused">statsRefused</a> = <a class="code" href="classserverstats.html#statsUnknown">statsUnknown</a> = 0; +<a name="l00089"></a>00089 <a class="code" href="classserverstats.html#statsCollisions">statsCollisions</a> = <a class="code" href="classserverstats.html#statsDns">statsDns</a> = <a class="code" href="classserverstats.html#statsDnsGood">statsDnsGood</a> = 0; +<a name="l00090"></a>00090 <a class="code" href="classserverstats.html#statsDnsBad">statsDnsBad</a> = <a class="code" href="classserverstats.html#statsConnects">statsConnects</a> = <a class="code" href="classserverstats.html#statsSent">statsSent</a> = <a class="code" href="classserverstats.html#statsRecv">statsRecv</a> = 0; +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 }; +<a name="l00093"></a>00093 +<a name="l00094"></a>00094 +<a name="l00095"></a><a class="code" href="classInspIRCd.html">00095</a> <span class="keyword">class </span><a class="code" href="classInspIRCd.html">InspIRCd</a> +<a name="l00096"></a>00096 { +<a name="l00097"></a>00097 +<a name="l00098"></a>00098 <span class="keyword">private</span>: +<a name="l00099"></a>00099 <span class="keywordtype">void</span> <a class="code" href="classInspIRCd.html#erase_5Ffactory_28int_20j_29">erase_factory</a>(<span class="keywordtype">int</span> j); +<a name="l00100"></a>00100 <span class="keywordtype">void</span> <a class="code" href="classInspIRCd.html#erase_5Fmodule_28int_20j_29">erase_module</a>(<span class="keywordtype">int</span> j); +<a name="l00101"></a>00101 +<a name="l00102"></a>00102 <span class="keyword">public</span>: +<a name="l00103"></a><a class="code" href="classInspIRCd.html#startup_5Ftime">00103</a> time_t <a class="code" href="classInspIRCd.html#startup_5Ftime">startup_time</a>; +<a name="l00104"></a>00104 +<a name="l00105"></a>00105 <span class="keywordtype">bool</span> <a class="code" href="classInspIRCd.html#LoadModule_28const_20char_20_2Afilename_29">LoadModule</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename); +<a name="l00106"></a>00106 <span class="keywordtype">bool</span> <a class="code" href="classInspIRCd.html#UnloadModule_28const_20char_20_2Afilename_29">UnloadModule</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename); +<a name="l00107"></a>00107 <a class="code" href="classInspIRCd.html#InspIRCd_28int_20argc_2C_20char_20_2A_2Aargv_29">InspIRCd</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv); +<a name="l00108"></a>00108 <span class="keywordtype">int</span> <a class="code" href="classInspIRCd.html#Run_28_29">Run</a>(); +<a name="l00109"></a>00109 +<a name="l00110"></a>00110 }; +<a name="l00111"></a>00111 +<a name="l00112"></a>00112 <span class="comment">/* prototypes */</span> +<a name="l00113"></a>00113 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">force_nickchange</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keyword">const</span> <span class="keywordtype">char</span>* newnick); +<a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keyword">const</span> <span class="keywordtype">char</span>* r); +<a name="l00115"></a>00115 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link_silent</a>(<a class="code" href="classuserrec.html">userrec</a> *user,<span class="keyword">const</span> <span class="keywordtype">char</span>* r); +<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">call_handler</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* commandname,<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +<a name="l00117"></a>00117 <span class="keywordtype">bool</span> <a class="code" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">is_valid_cmd</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> * user); +<a name="l00118"></a>00118 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="inspircd_8h.html#GetRevision_28_29">GetRevision</a>(); +<a name="l00119"></a>00119 <span class="keywordtype">int</span> <a class="code" href="inspircd_8h.html#loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29">loop_call</a>(<a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> fn, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *u, <span class="keywordtype">int</span> start, <span class="keywordtype">int</span> end, <span class="keywordtype">int</span> joins); +<a name="l00120"></a>00120 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#AddWhoWas_28userrec_20_2Au_29">AddWhoWas</a>(<a class="code" href="classuserrec.html">userrec</a>* u); +<a name="l00121"></a>00121 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#ConnectUser_28userrec_20_2Auser_29">ConnectUser</a>(<a class="code" href="classuserrec.html">userrec</a> *user); +<a name="l00122"></a>00122 <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="inspircd_8h.html#ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29">ReHashNick</a>(<span class="keywordtype">char</span>* Old, <span class="keywordtype">char</span>* New); +<a name="l00123"></a>00123 <span class="keywordtype">char</span>* <a class="code" href="inspircd_8h.html#ModuleError_28_29">ModuleError</a>(); +<a name="l00124"></a>00124 <span class="comment">/* optimization tricks to save us walking the user hash */</span> +<a name="l00125"></a>00125 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#AddOper_28userrec_20_2Auser_29">AddOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +<a name="l00126"></a>00126 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#DeleteOper_28userrec_20_2Auser_29">DeleteOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +<a name="l00127"></a>00127 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">handle_version</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); +<a name="l00128"></a>00128 <span class="comment">/* userrec optimization stuff */</span> +<a name="l00129"></a>00129 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#AddServerName_28std_3A_3Astring_20servername_29">AddServerName</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername); +<a name="l00130"></a>00130 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">FindServerNamePtr</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername); +<a name="l00131"></a>00131 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="inspircd_8h.html#GetVersionString_28_29">GetVersionString</a>(); +<a name="l00132"></a>00132 <span class="keywordtype">void</span>* <a class="code" href="inspircd_8h.html#dns_5Ftask_28void_20_2Aarg_29">dns_task</a>(<span class="keywordtype">void</span>* arg); +<a name="l00133"></a>00133 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29">process_buffer</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* cmdbuf,<a class="code" href="classuserrec.html">userrec</a> *user); +<a name="l00134"></a>00134 <span class="keywordtype">void</span> <a class="code" href="inspircd_8h.html#FullConnectUser_28userrec_20_2Auser_29">FullConnectUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user); +<a name="l00135"></a>00135 +<a name="l00136"></a>00136 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/inspircd_8h.html b/docs/module-doc/inspircd_8h.html new file mode 100644 index 000000000..7fb7590fc --- /dev/null +++ b/docs/module-doc/inspircd_8h.html @@ -0,0 +1,1210 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>InspIRCd: inspircd.h File Reference</title> +<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.4.4-20050815 --> +<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000004.html">include</a></div> +<h1>inspircd.h File Reference</h1><code>#include "inspircd_config.h"</code><br> +<code>#include <string></code><br> +<code>#include <stdio.h></code><br> +<code>#include <unistd.h></code><br> +<code>#include <signal.h></code><br> +<code>#include <time.h></code><br> +<code>#include <netdb.h></code><br> +<code>#include <string.h></code><br> +<code>#include <errno.h></code><br> +<code>#include <sys/types.h></code><br> +<code>#include <sys/socket.h></code><br> +<code>#include <sys/stat.h></code><br> +<code>#include <netinet/in.h></code><br> +<code>#include <arpa/inet.h></code><br> +<code>#include <deque></code><br> +<code>#include "<a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>"</code><br> +<code>#include "inspircd_util.h"</code><br> +<code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> +<code>#include "<a class="el" href="channels_8h-source.html">channels.h</a>"</code><br> +<code>#include "<a class="el" href="socket_8h-source.html">socket.h</a>"</code><br> + +<p> +Include dependency graph for inspircd.h:<p><center><img src="inspircd_8h__incl.gif" border="0" usemap="#inspircd.h_map" alt=""></center> +<map name="inspircd.h_map"> +<area href="inspircd__io_8h-source.html" shape="rect" coords="139,615,235,642" alt=""> +<area href="users_8h-source.html" shape="rect" coords="155,868,219,895" alt=""> +<area href="channels_8h-source.html" shape="rect" coords="292,868,377,895" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="151,463,223,490" alt=""> +</map> + +<p> +This graph shows which files directly or indirectly include this file:<p><center><img src="inspircd_8h__dep__incl.gif" border="0" usemap="#inspircd.hdep_map" alt=""></center> +<map name="inspircd.hdep_map"> +<area href="channels_8cpp-source.html" shape="rect" coords="469,83,568,110" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="469,260,568,287" alt=""> +<area href="socket_8cpp-source.html" shape="rect" coords="315,362,400,388" alt=""> +<area href="socketengine_8cpp-source.html" shape="rect" coords="295,463,420,490" alt=""> +<area href="users_8cpp-source.html" shape="rect" coords="151,514,231,540" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="153,159,228,186" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="315,108,400,135" alt=""> +<area href="inspircd__io_8h-source.html" shape="rect" coords="143,260,239,287" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="135,412,247,439" alt=""> +</map> + +<p> +<a href="inspircd_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>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classserverstats.html">serverstats</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classInspIRCd.html">InspIRCd</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="inspircd_8h.html#ERROR">ERROR</a> -1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#TRUE">TRUE</a> 1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#FALSE">FALSE</a> 0</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#MAXSOCKS">MAXSOCKS</a> 64</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#MAXCOMMAND">MAXCOMMAND</a> 32</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#WM_5FAND">WM_AND</a> 1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#WM_5FOR">WM_OR</a> 2</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#TYPE_5FUSER">TYPE_USER</a> 1</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#TYPE_5FCHANNEL">TYPE_CHANNEL</a> 2</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#TYPE_5FSERVER">TYPE_SERVER</a> 3</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#IS_5FLOCAL_28x_29">IS_LOCAL</a>(x) (x->fd > -1)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#IS_5FREMOTE_28x_29">IS_REMOTE</a>(x) (x->fd < 0)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#IS_5FMODULE_5FCREATED_28x_29">IS_MODULE_CREATED</a>(x) (x->fd == FD_MAGIC_NUMBER)</td></tr> + +<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void( </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> )(char **, int, <a class="el" href="classuserrec.html">userrec</a> *)</td></tr> + +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">force_nickchange</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *newnick)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *r)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link_silent</a> (<a class="el" href="classuserrec.html">userrec</a> *user, const char *r)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">call_handler</a> (const char *commandname, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">is_valid_cmd</a> (const char *commandname, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#GetRevision_28_29">GetRevision</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29">loop_call</a> (<a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> fn, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *u, int start, int end, int joins)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#AddWhoWas_28userrec_20_2Au_29">AddWhoWas</a> (<a class="el" href="classuserrec.html">userrec</a> *u)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#ConnectUser_28userrec_20_2Auser_29">ConnectUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</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="inspircd_8h.html#ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29">ReHashNick</a> (char *Old, char *New)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#ModuleError_28_29">ModuleError</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#AddOper_28userrec_20_2Auser_29">AddOper</a> (<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="inspircd_8h.html#DeleteOper_28userrec_20_2Auser_29">DeleteOper</a> (<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="inspircd_8h.html#handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">handle_version</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="inspircd_8h.html#AddServerName_28std_3A_3Astring_20servername_29">AddServerName</a> (<a class="el" href="namespaceirc.html#string">std::string</a> servername)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">FindServerNamePtr</a> (<a class="el" href="namespaceirc.html#string">std::string</a> servername)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#GetVersionString_28_29">GetVersionString</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#dns_5Ftask_28void_20_2Aarg_29">dns_task</a> (void *arg)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd_8h.html#process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29">process_buffer</a> (const char *cmdbuf, <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="inspircd_8h.html#FullConnectUser_28userrec_20_2Auser_29">FullConnectUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr> + +</table> +<hr><h2>Define Documentation</h2> +<a class="anchor" name="ERROR"></a><!-- doxytag: member="inspircd.h::ERROR" ref="ERROR" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define ERROR -1 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00049">49</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. +<p> +Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::InspSocket()</a>. </td> + </tr> +</table> +<a class="anchor" name="FALSE"></a><!-- doxytag: member="inspircd.h::FALSE" ref="FALSE" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define FALSE 0 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00051">51</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="IS_5FLOCAL_28x_29"></a><!-- doxytag: member="inspircd.h::IS_LOCAL" ref="IS_5FLOCAL_28x_29" args="(x)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define IS_LOCAL </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">x </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> (x->fd > -1)</td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00066">66</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="IS_5FMODULE_5FCREATED_28x_29"></a><!-- doxytag: member="inspircd.h::IS_MODULE_CREATED" ref="IS_5FMODULE_5FCREATED_28x_29" args="(x)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define IS_MODULE_CREATED </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">x </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> (x->fd == FD_MAGIC_NUMBER)</td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00068">68</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="IS_5FREMOTE_28x_29"></a><!-- doxytag: member="inspircd.h::IS_REMOTE" ref="IS_5FREMOTE_28x_29" args="(x)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define IS_REMOTE </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">x </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> (x->fd < 0)</td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00067">67</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="MAXCOMMAND"></a><!-- doxytag: member="inspircd.h::MAXCOMMAND" ref="MAXCOMMAND" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define MAXCOMMAND 32 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00053">53</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="MAXSOCKS"></a><!-- doxytag: member="inspircd.h::MAXSOCKS" ref="MAXSOCKS" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define MAXSOCKS 64 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00052">52</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="TRUE"></a><!-- doxytag: member="inspircd.h::TRUE" ref="TRUE" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define TRUE 1 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00050">50</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="TYPE_5FCHANNEL"></a><!-- doxytag: member="inspircd.h::TYPE_CHANNEL" ref="TYPE_5FCHANNEL" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define TYPE_CHANNEL 2 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00063">63</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="TYPE_5FSERVER"></a><!-- doxytag: member="inspircd.h::TYPE_SERVER" ref="TYPE_5FSERVER" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define TYPE_SERVER 3 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00064">64</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="TYPE_5FUSER"></a><!-- doxytag: member="inspircd.h::TYPE_USER" ref="TYPE_5FUSER" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define TYPE_USER 1 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00062">62</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="WM_5FAND"></a><!-- doxytag: member="inspircd.h::WM_AND" ref="WM_5FAND" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define WM_AND 1 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00057">57</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<a class="anchor" name="WM_5FOR"></a><!-- doxytag: member="inspircd.h::WM_OR" ref="WM_5FOR" args="" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">#define WM_OR 2 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00058">58</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<hr><h2>Typedef Documentation</h2> +<a class="anchor" name="handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29"></a><!-- doxytag: member="inspircd.h::handlerfunc" ref="handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29" args=")(char **, int, userrec *)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">typedef void( <a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a>)(char **, int, <a class="el" href="classuserrec.html">userrec</a> *) </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="inspircd_8h-source.html#l00070">70</a> of file <a class="el" href="inspircd_8h-source.html">inspircd.h</a>. </td> + </tr> +</table> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="AddOper_28userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::AddOper" ref="AddOper_28userrec_20_2Auser_29" args="(userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void AddOper </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </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> +<a class="anchor" name="AddServerName_28std_3A_3Astring_20servername_29"></a><!-- doxytag: member="inspircd.h::AddServerName" ref="AddServerName_28std_3A_3Astring_20servername_29" args="(std::string servername)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void AddServerName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td> + <td class="mdname1" valign="top" nowrap> <em>servername</em> </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> +<a class="anchor" name="AddWhoWas_28userrec_20_2Au_29"></a><!-- doxytag: member="inspircd.h::AddWhoWas" ref="AddWhoWas_28userrec_20_2Au_29" args="(userrec *u)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void AddWhoWas </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>u</em> </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> +<a class="anchor" name="call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::call_handler" ref="call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(const char *commandname, char **parameters, int pcnt, userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void call_handler </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>commandname</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00396">Server::CallCommandHandler()</a>. </td> + </tr> +</table> +<a class="anchor" name="ConnectUser_28userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::ConnectUser" ref="ConnectUser_28userrec_20_2Auser_29" args="(userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void ConnectUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </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> +<a class="anchor" name="DeleteOper_28userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::DeleteOper" ref="DeleteOper_28userrec_20_2Auser_29" args="(userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void DeleteOper </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </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> +<a class="anchor" name="dns_5Ftask_28void_20_2Aarg_29"></a><!-- doxytag: member="inspircd.h::dns_task" ref="dns_5Ftask_28void_20_2Aarg_29" args="(void *arg)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void* dns_task </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void * </td> + <td class="mdname1" valign="top" nowrap> <em>arg</em> </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> +<a class="anchor" name="FindServerNamePtr_28std_3A_3Astring_20servername_29"></a><!-- doxytag: member="inspircd.h::FindServerNamePtr" ref="FindServerNamePtr_28std_3A_3Astring_20servername_29" args="(std::string servername)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">const char* FindServerNamePtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> </td> + <td class="mdname1" valign="top" nowrap> <em>servername</em> </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> + +<p> +Referenced by <a class="el" href="users_8cpp-source.html#l00036">userrec::userrec()</a>. </td> + </tr> +</table> +<a class="anchor" name="force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29"></a><!-- doxytag: member="inspircd.h::force_nickchange" ref="force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29" args="(userrec *user, const char *newnick)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void force_nickchange </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>newnick</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00381">Server::ChangeUserNick()</a>. </td> + </tr> +</table> +<a class="anchor" name="FullConnectUser_28userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::FullConnectUser" ref="FullConnectUser_28userrec_20_2Auser_29" args="(userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void FullConnectUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>user</em> </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> +<a class="anchor" name="GetRevision_28_29"></a><!-- doxytag: member="inspircd.h::GetRevision" ref="GetRevision_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> GetRevision </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> +<a class="anchor" name="GetVersionString_28_29"></a><!-- doxytag: member="inspircd.h::GetVersionString" ref="GetVersionString_28_29" args="()" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a> GetVersionString </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> +<a class="anchor" name="handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::handle_version" ref="handle_5Fversion_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void handle_version </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::is_valid_cmd" ref="is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(const char *commandname, int pcnt, userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool is_valid_cmd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>commandname</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00401">Server::IsValidModuleCommand()</a>. </td> + </tr> +</table> +<a class="anchor" name="kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29"></a><!-- doxytag: member="inspircd.h::kill_link" ref="kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29" args="(userrec *user, const char *r)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void kill_link </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>r</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00386">Server::QuitUser()</a>. </td> + </tr> +</table> +<a class="anchor" name="kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29"></a><!-- doxytag: member="inspircd.h::kill_link_silent" ref="kill_5Flink_5Fsilent_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29" args="(userrec *user, const char *r)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void kill_link_silent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>r</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29"></a><!-- doxytag: member="inspircd.h::loop_call" ref="loop_5Fcall_28handlerfunc_20fn_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Au_2C_20int_20start_2C_20int_20end_2C_20int_20joins_29" args="(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start, int end, int joins)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int loop_call </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> </td> + <td class="mdname" nowrap> <em>fn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char ** </td> + <td class="mdname" nowrap> <em>parameters</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>pcnt</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>u</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>start</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>end</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>joins</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModuleError_28_29"></a><!-- doxytag: member="inspircd.h::ModuleError" ref="ModuleError_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">char* ModuleError </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> +<a class="anchor" name="process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="inspircd.h::process_buffer" ref="process_5Fbuffer_28const_20char_20_2Acmdbuf_2C_20userrec_20_2Auser_29" args="(const char *cmdbuf, userrec *user)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void process_buffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>cmdbuf</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td> + <td class="mdname" nowrap> <em>user</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29"></a><!-- doxytag: member="inspircd.h::ReHashNick" ref="ReHashNick_28char_20_2AOld_2C_20char_20_2ANew_29" args="(char *Old, char *New)" --><p> +<table class="mdTable" 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>* ReHashNick </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname" nowrap> <em>Old</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>char * </td> + <td class="mdname" nowrap> <em>New</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></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 Wed Dec 14 19:16: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.4.4-20050815 </small></address> +</body> +</html> diff --git a/docs/module-doc/inspircd_8h__dep__incl.gif b/docs/module-doc/inspircd_8h__dep__incl.gif Binary files differnew file mode 100644 index 000000000..2c276626e --- /dev/null +++ b/docs/module-doc/inspircd_8h__dep__incl.gif diff --git a/docs/module-doc/inspircd_8h__dep__incl.map b/docs/module-doc/inspircd_8h__dep__incl.map new file mode 100644 index 000000000..280811f38 --- /dev/null +++ b/docs/module-doc/inspircd_8h__dep__incl.map @@ -0,0 +1,10 @@ +base referer +rect $channels_8cpp-source.html 469,83 568,110 +rect $modules_8cpp-source.html 469,260 568,287 +rect $socket_8cpp-source.html 315,362 400,388 +rect $socketengine_8cpp-source.html 295,463 420,490 +rect $users_8cpp-source.html 151,514 231,540 +rect $ctables_8h-source.html 153,159 228,186 +rect $typedefs_8h-source.html 315,108 400,135 +rect $inspircd__io_8h-source.html 143,260 239,287 +rect $socketengine_8h-source.html 135,412 247,439 diff --git a/docs/module-doc/inspircd_8h__dep__incl.md5 b/docs/module-doc/inspircd_8h__dep__incl.md5 new file mode 100644 index 000000000..5361c877a --- /dev/null +++ b/docs/module-doc/inspircd_8h__dep__incl.md5 @@ -0,0 +1 @@ +782bd90da01c2446bdc3773deda660d0
\ No newline at end of file diff --git a/docs/module-doc/inspircd_8h__incl.gif b/docs/module-doc/inspircd_8h__incl.gif Binary files differnew file mode 100644 index 000000000..a86c8b53e --- /dev/null +++ b/docs/module-doc/inspircd_8h__incl.gif diff --git a/docs/module-doc/inspircd_8h__incl.map b/docs/module-doc/inspircd_8h__incl.map new file mode 100644 index 000000000..c32bf91d7 --- /dev/null +++ b/docs/module-doc/inspircd_8h__incl.map @@ -0,0 +1,5 @@ +base referer +rect $inspircd__io_8h-source.html 139,615 235,642 +rect $users_8h-source.html 155,868 219,895 +rect $channels_8h-source.html 292,868 377,895 +rect $socket_8h-source.html 151,463 223,490 diff --git a/docs/module-doc/inspircd_8h__incl.md5 b/docs/module-doc/inspircd_8h__incl.md5 new file mode 100644 index 000000000..00acfb0a8 --- /dev/null +++ b/docs/module-doc/inspircd_8h__incl.md5 @@ -0,0 +1 @@ +8358cd32839305504555325b345eb8ff
\ No newline at end of file diff --git a/docs/module-doc/inspircd__io_8h-source.html b/docs/module-doc/inspircd__io_8h-source.html index adb91f08c..c39058286 100644 --- a/docs/module-doc/inspircd__io_8h-source.html +++ b/docs/module-doc/inspircd__io_8h-source.html @@ -29,8 +29,8 @@ <a name="l00020"></a>00020 <span class="preprocessor">#include <sstream></span> <a name="l00021"></a>00021 <span class="preprocessor">#include <string></span> <a name="l00022"></a>00022 <span class="preprocessor">#include <vector></span> -<a name="l00023"></a>00023 <span class="preprocessor">#include "inspircd.h"</span> -<a name="l00024"></a>00024 <span class="preprocessor">#include "globals.h"</span> +<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> +<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> <a name="l00025"></a>00025 <a name="l00028"></a><a class="code" href="inspircd__io_8h.html#DEBUG">00028</a> <span class="preprocessor">#define DEBUG 10</span> <a name="l00029"></a><a class="code" href="inspircd__io_8h.html#VERBOSE">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define VERBOSE 20</span> @@ -111,9 +111,9 @@ <a name="l00212"></a>00212 <a name="l00216"></a><a class="code" href="classServerConfig.html#addrs_5BMAXBUF_5D_5B_32_35_35_5D">00216</a> <span class="keywordtype">char</span> <a class="code" href="classServerConfig.html#addrs_5BMAXBUF_5D_5B_32_35_35_5D">addrs</a>[MAXBUF][255]; <a name="l00217"></a>00217 -<a name="l00220"></a><a class="code" href="classServerConfig.html#MOTD">00220</a> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classServerConfig.html#MOTD">MOTD</a>; +<a name="l00220"></a><a class="code" href="classServerConfig.html#MOTD">00220</a> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classServerConfig.html#MOTD">MOTD</a>; <a name="l00221"></a>00221 -<a name="l00224"></a><a class="code" href="classServerConfig.html#RULES">00224</a> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classServerConfig.html#RULES">RULES</a>; +<a name="l00224"></a><a class="code" href="classServerConfig.html#RULES">00224</a> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classServerConfig.html#RULES">RULES</a>; <a name="l00225"></a>00225 <a name="l00229"></a><a class="code" href="classServerConfig.html#PID_5B_31_30_32_34_5D">00229</a> <span class="keywordtype">char</span> <a class="code" href="classServerConfig.html#PID_5B_31_30_32_34_5D">PID</a>[1024]; <a name="l00230"></a>00230 @@ -123,31 +123,34 @@ <a name="l00243"></a>00243 <a name="l00247"></a><a class="code" href="classServerConfig.html#module_5Fnames">00247</a> std::vector<std::string> <a class="code" href="classServerConfig.html#module_5Fnames">module_names</a>; <a name="l00248"></a>00248 -<a name="l00249"></a>00249 <a class="code" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a>(); -<a name="l00250"></a>00250 -<a name="l00254"></a>00254 <span class="keywordtype">void</span> <a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00255"></a>00255 -<a name="l00260"></a>00260 <span class="keywordtype">void</span> <a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user); -<a name="l00261"></a>00261 -<a name="l00262"></a>00262 <span class="keywordtype">bool</span> <a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, std::stringstream *target, std::stringstream* errorstream); -<a name="l00263"></a>00263 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ConfValue_28char_20_2Atag_2C_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValue</a>(<span class="keywordtype">char</span>* tag, <span class="keywordtype">char</span>* var, <span class="keywordtype">int</span> index, <span class="keywordtype">char</span> *result, std::stringstream *config); -<a name="l00264"></a>00264 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(std::stringstream *<a class="code" href="classServerConfig.html#config_5Ff">config_f</a>,<span class="keyword">const</span> <span class="keywordtype">char</span>* tag, <span class="keyword">const</span> <span class="keywordtype">char</span>* var, <span class="keywordtype">int</span> index, <span class="keywordtype">char</span> *result); -<a name="l00265"></a>00265 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ConfValueEnum_28char_20_2Atag_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValueEnum</a>(<span class="keywordtype">char</span>* tag,std::stringstream *config); -<a name="l00266"></a>00266 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(std::stringstream *<a class="code" href="classServerConfig.html#config_5Ff">config_f</a>,<span class="keyword">const</span> <span class="keywordtype">char</span>* tag); -<a name="l00267"></a>00267 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(std::stringstream *config, <span class="keyword">const</span> <span class="keywordtype">char</span>* tag, <span class="keywordtype">int</span> index); -<a name="l00268"></a>00268 }; -<a name="l00269"></a>00269 -<a name="l00270"></a>00270 -<a name="l00271"></a>00271 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#Exit_28int_29">Exit</a> (<span class="keywordtype">int</span>); -<a name="l00272"></a>00272 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#Start_28void_29">Start</a> (<span class="keywordtype">void</span>); -<a name="l00273"></a>00273 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#DaemonSeed_28void_29">DaemonSeed</a> (<span class="keywordtype">void</span>); -<a name="l00274"></a>00274 <span class="keywordtype">bool</span> <a class="code" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">FileExists</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* file); -<a name="l00275"></a>00275 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a> (<span class="keywordtype">void</span>); -<a name="l00276"></a>00276 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a> (<span class="keywordtype">int</span> sockfd, <span class="keyword">struct</span> sockaddr_in client, <span class="keyword">struct</span> sockaddr_in server, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* addr); -<a name="l00277"></a>00277 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">WritePID</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename); -<a name="l00278"></a>00278 -<a name="l00279"></a>00279 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +<a name="l00251"></a><a class="code" href="classServerConfig.html#ports_5B_32_35_35_5D">00251</a> <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ports_5B_32_35_35_5D">ports</a>[255]; +<a name="l00252"></a>00252 +<a name="l00253"></a>00253 <a class="code" href="classServerConfig.html#ServerConfig_28_29">ServerConfig</a>(); +<a name="l00254"></a>00254 +<a name="l00258"></a>00258 <span class="keywordtype">void</span> <a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00259"></a>00259 +<a name="l00264"></a>00264 <span class="keywordtype">void</span> <a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user); +<a name="l00265"></a>00265 +<a name="l00266"></a>00266 <span class="keywordtype">bool</span> <a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, std::stringstream *target, std::stringstream* errorstream); +<a name="l00267"></a>00267 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ConfValue_28char_20_2Atag_2C_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValue</a>(<span class="keywordtype">char</span>* tag, <span class="keywordtype">char</span>* var, <span class="keywordtype">int</span> index, <span class="keywordtype">char</span> *result, std::stringstream *config); +<a name="l00268"></a>00268 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(std::stringstream *<a class="code" href="classServerConfig.html#config_5Ff">config_f</a>,<span class="keyword">const</span> <span class="keywordtype">char</span>* tag, <span class="keyword">const</span> <span class="keywordtype">char</span>* var, <span class="keywordtype">int</span> index, <span class="keywordtype">char</span> *result); +<a name="l00269"></a>00269 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#ConfValueEnum_28char_20_2Atag_2C_20std_3A_3Astringstream_20_2Aconfig_29">ConfValueEnum</a>(<span class="keywordtype">char</span>* tag,std::stringstream *config); +<a name="l00270"></a>00270 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(std::stringstream *<a class="code" href="classServerConfig.html#config_5Ff">config_f</a>,<span class="keyword">const</span> <span class="keywordtype">char</span>* tag); +<a name="l00271"></a>00271 <span class="keywordtype">int</span> <a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(std::stringstream *config, <span class="keyword">const</span> <span class="keywordtype">char</span>* tag, <span class="keywordtype">int</span> index); +<a name="l00272"></a>00272 }; +<a name="l00273"></a>00273 +<a name="l00274"></a>00274 +<a name="l00275"></a>00275 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#Exit_28int_29">Exit</a> (<span class="keywordtype">int</span>); +<a name="l00276"></a>00276 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#Start_28void_29">Start</a> (<span class="keywordtype">void</span>); +<a name="l00277"></a>00277 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#DaemonSeed_28void_29">DaemonSeed</a> (<span class="keywordtype">void</span>); +<a name="l00278"></a>00278 <span class="keywordtype">bool</span> <a class="code" href="inspircd__io_8h.html#FileExists_28const_20char_20_2Afile_29">FileExists</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* file); +<a name="l00279"></a>00279 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a> (<span class="keywordtype">void</span>); +<a name="l00280"></a>00280 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a> (<span class="keywordtype">int</span> sockfd, <span class="keyword">struct</span> sockaddr_in client, <span class="keyword">struct</span> sockaddr_in server, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* addr); +<a name="l00281"></a>00281 <span class="keywordtype">void</span> <a class="code" href="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">WritePID</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename); +<a name="l00282"></a>00282 <span class="keywordtype">int</span> <a class="code" href="inspircd__io_8h.html#BindPorts_28_29">BindPorts</a>(); +<a name="l00283"></a>00283 +<a name="l00284"></a>00284 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/inspircd__io_8h.html b/docs/module-doc/inspircd__io_8h.html index 37dd23863..7fce7a098 100644 --- a/docs/module-doc/inspircd__io_8h.html +++ b/docs/module-doc/inspircd__io_8h.html @@ -10,18 +10,23 @@ <h1>inspircd_io.h File Reference</h1><code>#include <sstream></code><br> <code>#include <string></code><br> <code>#include <vector></code><br> -<code>#include "inspircd.h"</code><br> -<code>#include "globals.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> <p> Include dependency graph for inspircd_io.h:<p><center><img src="inspircd__io_8h__incl.gif" border="0" usemap="#inspircd_io.h_map" alt=""></center> +<map name="inspircd_io.h_map"> +<area href="inspircd_8h-source.html" shape="rect" coords="153,159,233,186" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="156,210,231,236" alt=""> +</map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="inspircd__io_8h__dep__incl.gif" border="0" usemap="#inspircd_io.hdep_map" alt=""></center> <map name="inspircd_io.hdep_map"> -<area href="channels_8cpp-source.html" shape="rect" coords="155,7,253,33" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="155,57,253,84" alt=""> -<area href="socket_8cpp-source.html" shape="rect" coords="161,108,247,135" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="283,20,381,47" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="283,96,381,123" alt=""> +<area href="socket_8cpp-source.html" shape="rect" coords="289,147,375,173" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="153,57,233,84" alt=""> </map> <p> @@ -34,7 +39,7 @@ This graph shows which files directly or indirectly include this file:<p><center <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="inspircd__io_8h.html#DEBUG">DEBUG</a> 10</td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Flags for use with log(). <a href="#DEBUG"></a><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Flags for use with <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>. <a href="#DEBUG"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd__io_8h.html#VERBOSE">VERBOSE</a> 20</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd__io_8h.html#DEFAULT">DEFAULT</a> 30</td></tr> @@ -58,6 +63,8 @@ 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="inspircd__io_8h.html#WritePID_28std_3A_3Astring_20filename_29">WritePID</a> (<a class="el" href="namespaceirc.html#string">std::string</a> filename)</td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="inspircd__io_8h.html#BindPorts_28_29">BindPorts</a> ()</td></tr> + </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="DEBUG"></a><!-- doxytag: member="inspircd_io.h::DEBUG" ref="DEBUG" args="" --><p> @@ -80,13 +87,13 @@ This graph shows which files directly or indirectly include this file:<p><center <td> <p> -Flags for use with log(). +Flags for use with <a class="el" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log()</a>. <p> <p> Definition at line <a class="el" href="inspircd__io_8h-source.html#l00028">28</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00559">Server::AddExtendedMode()</a>, <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="channels_8cpp-source.html#l00166">chanrec::AddUser()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="channels_8cpp-source.html#l00172">chanrec::DelUser()</a>, <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::InspSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00158">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00122">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00085">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00110">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00248">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00292">userrec::SetWriteError()</a>, <a class="el" href="socketengine_8cpp-source.html#l00035">SocketEngine::SocketEngine()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00046">SocketEngine::~SocketEngine()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00551">Server::AddExtendedMode()</a>, <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="channels_8cpp-source.html#l00167">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="channels_8cpp-source.html#l00173">chanrec::DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="socket_8cpp-source.html#l00158">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00122">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00086">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00111">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00248">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00292">userrec::SetWriteError()</a>, <a class="el" href="socketengine_8cpp-source.html#l00035">SocketEngine::SocketEngine()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00046">SocketEngine::~SocketEngine()</a>. </td> </tr> </table> <a class="anchor" name="DEFAULT"></a><!-- doxytag: member="inspircd_io.h::DEFAULT" ref="DEFAULT" args="" --><p> @@ -111,7 +118,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00559">Server::AddEx <p> <p> -Definition at line <a class="el" href="inspircd__io_8h-source.html#l00030">30</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. </td> +Definition at line <a class="el" href="inspircd__io_8h-source.html#l00030">30</a> of file <a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="NONE"></a><!-- doxytag: member="inspircd_io.h::NONE" ref="NONE" args="" --><p> @@ -190,6 +199,33 @@ Definition at line <a class="el" href="inspircd__io_8h-source.html#l00029">29</a </tr> </table> <hr><h2>Function Documentation</h2> +<a class="anchor" name="BindPorts_28_29"></a><!-- doxytag: member="inspircd_io.h::BindPorts" ref="BindPorts_28_29" args="()" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int BindPorts </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> <a class="anchor" name="BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29"></a><!-- doxytag: member="inspircd_io.h::BindSocket" ref="BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29" args="(int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char *addr)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -417,7 +453,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00062">InspSocket::In </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/inspircd__io_8h__dep__incl.gif b/docs/module-doc/inspircd__io_8h__dep__incl.gif Binary files differindex d9adbe194..9b7d71947 100644 --- a/docs/module-doc/inspircd__io_8h__dep__incl.gif +++ b/docs/module-doc/inspircd__io_8h__dep__incl.gif diff --git a/docs/module-doc/inspircd__io_8h__dep__incl.map b/docs/module-doc/inspircd__io_8h__dep__incl.map index 3d1893566..1b2fd55bc 100644 --- a/docs/module-doc/inspircd__io_8h__dep__incl.map +++ b/docs/module-doc/inspircd__io_8h__dep__incl.map @@ -1,4 +1,5 @@ base referer -rect $channels_8cpp-source.html 155,7 253,33 -rect $modules_8cpp-source.html 155,57 253,84 -rect $socket_8cpp-source.html 161,108 247,135 +rect $channels_8cpp-source.html 283,20 381,47 +rect $modules_8cpp-source.html 283,96 381,123 +rect $socket_8cpp-source.html 289,147 375,173 +rect $inspircd_8h-source.html 153,57 233,84 diff --git a/docs/module-doc/inspircd__io_8h__dep__incl.md5 b/docs/module-doc/inspircd__io_8h__dep__incl.md5 index 2c682c785..dcdb730b7 100644 --- a/docs/module-doc/inspircd__io_8h__dep__incl.md5 +++ b/docs/module-doc/inspircd__io_8h__dep__incl.md5 @@ -1 +1 @@ -7eca6ee03b8313db6051fb05e53f2d93
\ No newline at end of file +722bc875f4773acca578188c1eaafc53
\ No newline at end of file diff --git a/docs/module-doc/inspircd__io_8h__incl.gif b/docs/module-doc/inspircd__io_8h__incl.gif Binary files differindex f574379f0..7addcea98 100644 --- a/docs/module-doc/inspircd__io_8h__incl.gif +++ b/docs/module-doc/inspircd__io_8h__incl.gif diff --git a/docs/module-doc/inspircd__io_8h__incl.map b/docs/module-doc/inspircd__io_8h__incl.map index 5a14779e7..51ab7577f 100644 --- a/docs/module-doc/inspircd__io_8h__incl.map +++ b/docs/module-doc/inspircd__io_8h__incl.map @@ -1 +1,3 @@ base referer +rect $inspircd_8h-source.html 153,159 233,186 +rect $globals_8h-source.html 156,210 231,236 diff --git a/docs/module-doc/inspircd__io_8h__incl.md5 b/docs/module-doc/inspircd__io_8h__incl.md5 index 974329ef1..8a137bb78 100644 --- a/docs/module-doc/inspircd__io_8h__incl.md5 +++ b/docs/module-doc/inspircd__io_8h__incl.md5 @@ -1 +1 @@ -be7efab13a3353412e4a7bcda3182ee6
\ No newline at end of file +a89903b24a07224b6560b828285cf5bb
\ No newline at end of file diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index cc6fc63b3..1030583a1 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -7,7 +7,7 @@ <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">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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 Wed Dec 14 15:55:46 2005 for InspIRCd by +<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 6d5e580d7..2d85dcae6 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -37,7 +37,7 @@ <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> <a name="l00030"></a>00030 -<a name="l00031"></a>00031 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classuserrec.html">userrec</a> *u2); +<a name="l00031"></a>00031 <span class="keywordtype">int</span> <a class="code" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classuserrec.html">userrec</a> *u2); <a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#chop_28char_20_2Astr_29">chop</a>(<span class="keywordtype">char</span>* str); <a name="l00033"></a>00033 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#tidystring_28char_20_2Astr_29">tidystring</a>(<span class="keywordtype">char</span>* str); <a name="l00034"></a>00034 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#Blocking_28int_20s_29">Blocking</a>(<span class="keywordtype">int</span> s); @@ -48,8 +48,8 @@ <a name="l00039"></a>00039 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keyword">const</span> <span class="keywordtype">char</span>* gecos); <a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keyword">const</span> <span class="keywordtype">char</span>* host); <a name="l00041"></a>00041 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#isident_28const_20char_20_2An_29">isident</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n); -<a name="l00042"></a>00042 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n); -<a name="l00043"></a>00043 <span class="keywordtype">char</span>* <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); +<a name="l00042"></a>00042 <span class="keywordtype">int</span> <a class="code" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n); +<a name="l00043"></a>00043 <span class="keywordtype">char</span>* <a class="code" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); <a name="l00044"></a>00044 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cstatus</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan); <a name="l00045"></a>00045 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classchanrec.html">chanrec</a> *c); <a name="l00046"></a>00046 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#TidyBan_28char_20_2Aban_29">TidyBan</a>(<span class="keywordtype">char</span> *ban); @@ -57,7 +57,7 @@ <a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">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); <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index ec2abd1ed..291b55ede 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -165,7 +165,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#l00497">Server::ChangeHost()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00489">Server::ChangeHost()</a>. </td> </tr> </table> <a class="anchor" name="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29"></a><!-- doxytag: member="message.h::ChangeName" ref="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29" args="(userrec *user, const char *gecos)" --><p> @@ -204,7 +204,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00497">Server::Chang <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00502">Server::ChangeGECOS()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00494">Server::ChangeGECOS()</a>. </td> </tr> </table> <a class="anchor" name="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29"></a><!-- doxytag: member="message.h::chlist" ref="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29" args="(userrec *user, userrec *source)" --><p> @@ -343,9 +343,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00502">Server::Chang <td> <p> - -<p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00527">Server::ChanMode()</a>. </td> + </td> </tr> </table> <a class="anchor" name="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29"></a><!-- doxytag: member="message.h::common_channels" ref="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29" args="(userrec *u, userrec *u2)" --><p> @@ -382,9 +380,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00527">Server::ChanM <td> <p> - -<p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00475">Server::CommonChannels()</a>. </td> + </td> </tr> </table> <a class="anchor" name="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29"></a><!-- doxytag: member="message.h::cstatus" ref="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29" args="(userrec *user, chanrec *chan)" --><p> @@ -421,7 +417,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00475">Server::Commo <td> <p> - </td> + +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29"></a><!-- doxytag: member="message.h::has_channel" ref="has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29" args="(userrec *u, chanrec *c)" --><p> @@ -460,7 +458,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00475">Server::Commo <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00532">Server::IsOnChannel()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, <a class="el" href="modules_8cpp-source.html#l00524">Server::IsOnChannel()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="hasumode_28userrec_20_2Auser_2C_20char_20mode_29"></a><!-- doxytag: member="message.h::hasumode" ref="hasumode_28userrec_20_2Auser_2C_20char_20mode_29" args="(userrec *user, char mode)" --><p> @@ -553,9 +551,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00532">Server::IsOnC <td> <p> - -<p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00507">Server::IsNick()</a>. </td> + </td> </tr> </table> <a class="anchor" name="NonBlocking_28int_20s_29"></a><!-- doxytag: member="message.h::NonBlocking" ref="NonBlocking_28int_20s_29" args="(int s)" --><p> @@ -679,7 +675,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00507">Server::IsNic </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index 1c5287364..e9840b46a 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -11,7 +11,7 @@ <a name="l00002"></a>00002 <span class="comment"> * | Inspire Internet Relay Chat Daemon |</span> <a name="l00003"></a>00003 <span class="comment"> * +------------------------------------+</span> <a name="l00004"></a>00004 <span class="comment"> *</span> -<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.</span> +<a name="l00005"></a>00005 <span class="comment"> * Inspire is copyright (C) 2002-2005 ChatSpike-Dev.</span> <a name="l00006"></a>00006 <span class="comment"> * E-mail:</span> <a name="l00007"></a>00007 <span class="comment"> * <brain@chatspike.net></span> <a name="l00008"></a>00008 <span class="comment"> * <Craig@chatspike.net></span> @@ -55,7 +55,7 @@ <a name="l00046"></a>00046 <a name="l00047"></a>00047 <a name="l00048"></a>00048 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index 5848b0695..fd523ca56 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -593,7 +593,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#l00424">Server::SendMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00416">Server::SendMode()</a>. </td> </tr> </table> <a class="anchor" name="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29"></a><!-- doxytag: member="mode.h::take_ban" ref="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29" args="(userrec *user, char *dest, chanrec *chan, int status)" --><p> @@ -792,7 +792,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00424">Server::SendM </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 0ecd0c95b..c229ba336 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -26,7 +26,7 @@ <a name="l00017"></a>00017 <span class="keyword">using</span> <span class="keyword">namespace </span>std; <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#include "inspircd_config.h"</span> -<a name="l00020"></a>00020 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="inspircd__io_8h.html">inspircd_io.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "inspircd_util.h"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include <unistd.h></span> @@ -44,7 +44,7 @@ <a name="l00035"></a>00035 <span class="preprocessor">#include <deque></span> <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> <a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -<a name="l00038"></a>00038 <span class="preprocessor">#include "globals.h"</span> +<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> <a name="l00040"></a>00040 <span class="preprocessor">#include "dynamic.h"</span> <a name="l00041"></a>00041 <span class="preprocessor">#include "wildcard.h"</span> @@ -61,893 +61,885 @@ <a name="l00052"></a>00052 <a name="l00053"></a>00053 <span class="keyword">extern</span> <a class="code" href="classSocketEngine.html">SocketEngine</a>* <a class="code" href="modules_8cpp.html#SE">SE</a>; <a name="l00054"></a>00054 <span class="keyword">extern</span> <a class="code" href="classServerConfig.html">ServerConfig</a> *<a class="code" href="channels_8cpp.html#Config">Config</a>; -<a name="l00055"></a>00055 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; -<a name="l00056"></a>00056 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; -<a name="l00057"></a>00057 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; -<a name="l00058"></a>00058 <span class="keyword">extern</span> std::vector<InspSocket*> <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>; -<a name="l00059"></a>00059 -<a name="l00060"></a>00060 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; -<a name="l00061"></a>00061 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FSTALE">WHOWAS_STALE</a>; -<a name="l00062"></a>00062 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#WHOWAS_5FMAX">WHOWAS_MAX</a>; -<a name="l00063"></a>00063 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#startup_5Ftime">startup_time</a>; -<a name="l00064"></a>00064 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; -<a name="l00065"></a>00065 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#portCount">portCount</a>; -<a name="l00066"></a>00066 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ports_5BMAXSOCKS_5D">ports</a>[MAXSOCKS]; -<a name="l00067"></a>00067 -<a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>; -<a name="l00069"></a>00069 <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[65536]; -<a name="l00070"></a>00070 -<a name="l00071"></a>00071 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#user_5Fhash">user_hash</a> <a class="code" href="modules_8cpp.html#clientlist">clientlist</a>; -<a name="l00072"></a>00072 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> <a class="code" href="modules_8cpp.html#chanlist">chanlist</a>; -<a name="l00073"></a>00073 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#whowas_5Fhash">whowas_hash</a> <a class="code" href="modules_8cpp.html#whowas">whowas</a>; -<a name="l00074"></a>00074 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#command_5Ftable">command_table</a> <a class="code" href="modules_8cpp.html#cmdlist">cmdlist</a>; -<a name="l00075"></a>00075 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#address_5Fcache">address_cache</a> <a class="code" href="modules_8cpp.html#IP">IP</a>; -<a name="l00076"></a><a class="code" href="modules_8cpp.html#EMode">00076</a> <a class="code" href="typedefs_8h.html#ExtModeList">ExtModeList</a> <a class="code" href="modules_8cpp.html#EMode">EMode</a>; -<a name="l00077"></a>00077 -<a name="l00078"></a>00078 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00079"></a><a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">00079</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00080"></a>00080 { -<a name="l00081"></a>00081 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00082"></a>00082 { -<a name="l00083"></a>00083 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00084"></a>00084 { -<a name="l00085"></a>00085 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00086"></a>00086 } -<a name="l00087"></a>00087 } -<a name="l00088"></a>00088 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00089"></a>00089 } -<a name="l00090"></a>00090 -<a name="l00091"></a><a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">00091</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00092"></a>00092 { -<a name="l00093"></a>00093 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00094"></a>00094 { -<a name="l00095"></a>00095 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -<a name="l00096"></a>00096 { -<a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00098"></a>00098 } -<a name="l00099"></a>00099 } -<a name="l00100"></a>00100 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00101"></a>00101 } -<a name="l00102"></a>00102 -<a name="l00103"></a><a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">00103</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00104"></a>00104 { -<a name="l00105"></a>00105 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00106"></a>00106 { -<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -<a name="l00108"></a>00108 { -<a name="l00109"></a>00109 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00110"></a>00110 } -<a name="l00111"></a>00111 } -<a name="l00112"></a>00112 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00113"></a>00113 } -<a name="l00114"></a>00114 -<a name="l00115"></a>00115 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00116"></a><a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">00116</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00117"></a>00117 { -<a name="l00118"></a>00118 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00121"></a>00121 { -<a name="l00122"></a>00122 <span class="keywordflow">return</span> i->params_when_on; -<a name="l00123"></a>00123 } -<a name="l00124"></a>00124 } -<a name="l00125"></a>00125 <span class="keywordflow">return</span> 0; -<a name="l00126"></a>00126 } -<a name="l00127"></a>00127 -<a name="l00128"></a>00128 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> -<a name="l00129"></a><a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">00129</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) -<a name="l00130"></a>00130 { -<a name="l00131"></a>00131 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00132"></a>00132 { -<a name="l00133"></a>00133 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00134"></a>00134 { -<a name="l00135"></a>00135 <span class="keywordflow">return</span> i->params_when_off; -<a name="l00136"></a>00136 } -<a name="l00137"></a>00137 } -<a name="l00138"></a>00138 <span class="keywordflow">return</span> 0; -<a name="l00139"></a>00139 } -<a name="l00140"></a>00140 -<a name="l00141"></a>00141 <span class="comment">// returns true if an extended mode character is in use</span> -<a name="l00142"></a><a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">00142</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">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) -<a name="l00143"></a>00143 { -<a name="l00144"></a>00144 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { -<a name="l00145"></a>00145 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00146"></a>00146 } -<a name="l00147"></a>00147 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -<a name="l00148"></a>00148 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00149"></a>00149 } -<a name="l00150"></a>00150 -<a name="l00151"></a>00151 <span class="comment">// turns a mode into a listmode</span> -<a name="l00152"></a><a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">00152</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) -<a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00155"></a>00155 { -<a name="l00156"></a>00156 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) -<a name="l00157"></a>00157 { -<a name="l00158"></a>00158 i->list = <span class="keyword">true</span>; -<a name="l00159"></a>00159 <span class="keywordflow">return</span>; -<a name="l00160"></a>00160 } -<a name="l00161"></a>00161 } -<a name="l00162"></a>00162 <span class="keywordflow">return</span>; -<a name="l00163"></a>00163 } +<a name="l00055"></a>00055 <span class="keyword">extern</span> <a class="code" href="classInspIRCd.html">InspIRCd</a>* <a class="code" href="modules_8cpp.html#ServerInstance">ServerInstance</a>; +<a name="l00056"></a>00056 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; +<a name="l00057"></a>00057 <span class="keyword">extern</span> std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>; +<a name="l00058"></a>00058 <span class="keyword">extern</span> std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>; +<a name="l00059"></a>00059 <span class="keyword">extern</span> std::vector<InspSocket*> <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>; +<a name="l00060"></a>00060 +<a name="l00061"></a>00061 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; +<a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>; +<a name="l00063"></a>00063 <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[65536]; +<a name="l00064"></a>00064 +<a name="l00065"></a>00065 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#user_5Fhash">user_hash</a> <a class="code" href="modules_8cpp.html#clientlist">clientlist</a>; +<a name="l00066"></a>00066 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> <a class="code" href="channels_8cpp.html#chanlist">chanlist</a>; +<a name="l00067"></a>00067 <span class="keyword">extern</span> <a class="code" href="typedefs_8h.html#command_5Ftable">command_table</a> <a class="code" href="modules_8cpp.html#cmdlist">cmdlist</a>; +<a name="l00068"></a><a class="code" href="modules_8cpp.html#EMode">00068</a> <a class="code" href="typedefs_8h.html#ExtModeList">ExtModeList</a> <a class="code" href="modules_8cpp.html#EMode">EMode</a>; +<a name="l00069"></a>00069 +<a name="l00070"></a>00070 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00071"></a><a class="code" href="modules_8h.html#ModeDefined_28char_20c_2C_20int_20i_29">00071</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00072"></a>00072 { +<a name="l00073"></a>00073 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00074"></a>00074 { +<a name="l00075"></a>00075 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00078"></a>00078 } +<a name="l00079"></a>00079 } +<a name="l00080"></a>00080 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00081"></a>00081 } +<a name="l00082"></a>00082 +<a name="l00083"></a><a class="code" href="modules_8h.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">00083</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00084"></a>00084 { +<a name="l00085"></a>00085 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00086"></a>00086 { +<a name="l00087"></a>00087 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +<a name="l00088"></a>00088 { +<a name="l00089"></a>00089 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00090"></a>00090 } +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00093"></a>00093 } +<a name="l00094"></a>00094 +<a name="l00095"></a><a class="code" href="modules_8h.html#ModeDefinedOper_28char_20c_2C_20int_20i_29">00095</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00096"></a>00096 { +<a name="l00097"></a>00097 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00098"></a>00098 { +<a name="l00099"></a>00099 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +<a name="l00100"></a>00100 { +<a name="l00101"></a>00101 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00102"></a>00102 } +<a name="l00103"></a>00103 } +<a name="l00104"></a>00104 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00105"></a>00105 } +<a name="l00106"></a>00106 +<a name="l00107"></a>00107 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00108"></a><a class="code" href="modules_8h.html#ModeDefinedOn_28char_20c_2C_20int_20i_29">00108</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00109"></a>00109 { +<a name="l00110"></a>00110 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00111"></a>00111 { +<a name="l00112"></a>00112 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00113"></a>00113 { +<a name="l00114"></a>00114 <span class="keywordflow">return</span> i->params_when_on; +<a name="l00115"></a>00115 } +<a name="l00116"></a>00116 } +<a name="l00117"></a>00117 <span class="keywordflow">return</span> 0; +<a name="l00118"></a>00118 } +<a name="l00119"></a>00119 +<a name="l00120"></a>00120 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span> +<a name="l00121"></a><a class="code" href="modules_8h.html#ModeDefinedOff_28char_20c_2C_20int_20i_29">00121</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type) +<a name="l00122"></a>00122 { +<a name="l00123"></a>00123 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00124"></a>00124 { +<a name="l00125"></a>00125 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 <span class="keywordflow">return</span> i->params_when_off; +<a name="l00128"></a>00128 } +<a name="l00129"></a>00129 } +<a name="l00130"></a>00130 <span class="keywordflow">return</span> 0; +<a name="l00131"></a>00131 } +<a name="l00132"></a>00132 +<a name="l00133"></a>00133 <span class="comment">// returns true if an extended mode character is in use</span> +<a name="l00134"></a><a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">00134</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">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) +<a name="l00135"></a>00135 { +<a name="l00136"></a>00136 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { +<a name="l00137"></a>00137 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00138"></a>00138 } +<a name="l00139"></a>00139 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +<a name="l00140"></a>00140 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00141"></a>00141 } +<a name="l00142"></a>00142 +<a name="l00143"></a>00143 <span class="comment">// turns a mode into a listmode</span> +<a name="l00144"></a><a class="code" href="modules_8h.html#ModeMakeList_28char_20modechar_29">00144</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(<span class="keywordtype">char</span> modechar) +<a name="l00145"></a>00145 { +<a name="l00146"></a>00146 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00147"></a>00147 { +<a name="l00148"></a>00148 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) +<a name="l00149"></a>00149 { +<a name="l00150"></a>00150 i->list = <span class="keyword">true</span>; +<a name="l00151"></a>00151 <span class="keywordflow">return</span>; +<a name="l00152"></a>00152 } +<a name="l00153"></a>00153 } +<a name="l00154"></a>00154 <span class="keywordflow">return</span>; +<a name="l00155"></a>00155 } +<a name="l00156"></a>00156 +<a name="l00157"></a>00157 <span class="comment">// version is a simple class for holding a modules version number</span> +<a name="l00158"></a>00158 +<a name="l00159"></a><a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">00159</a> <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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) { }; +<a name="l00160"></a>00160 +<a name="l00161"></a>00161 <span class="comment">// admin is a simple class for holding a server's administrative info</span> +<a name="l00162"></a>00162 +<a name="l00163"></a><a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">00163</a> <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin::Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick) : Name(name), Email(email), Nick(nick) { }; <a name="l00164"></a>00164 -<a name="l00165"></a>00165 <span class="comment">// version is a simple class for holding a modules version number</span> +<a name="l00165"></a><a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">00165</a> <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">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) { }; <a name="l00166"></a>00166 -<a name="l00167"></a><a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">00167</a> <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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) { }; -<a name="l00168"></a>00168 -<a name="l00169"></a>00169 <span class="comment">// admin is a simple class for holding a server's administrative info</span> -<a name="l00170"></a>00170 -<a name="l00171"></a><a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">00171</a> <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin::Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick) : Name(name), Email(email), Nick(nick) { }; -<a name="l00172"></a>00172 -<a name="l00173"></a><a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">00173</a> <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">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) { }; -<a name="l00174"></a>00174 -<a name="l00175"></a><a class="code" href="classRequest.html#GetData_28_29">00175</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">Request::GetData</a>() -<a name="l00176"></a>00176 { -<a name="l00177"></a>00177 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; -<a name="l00178"></a>00178 } -<a name="l00179"></a>00179 -<a name="l00180"></a><a class="code" href="classRequest.html#GetSource_28_29">00180</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">Request::GetSource</a>() -<a name="l00181"></a>00181 { -<a name="l00182"></a>00182 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; -<a name="l00183"></a>00183 } -<a name="l00184"></a>00184 -<a name="l00185"></a><a class="code" href="classRequest.html#GetDest_28_29">00185</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">Request::GetDest</a>() -<a name="l00186"></a>00186 { -<a name="l00187"></a>00187 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; -<a name="l00188"></a>00188 } -<a name="l00189"></a>00189 -<a name="l00190"></a><a class="code" href="classRequest.html#Send_28_29">00190</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Request::Send</a>() -<a name="l00191"></a>00191 { -<a name="l00192"></a>00192 <span class="keywordflow">if</span> (this->dest) -<a name="l00193"></a>00193 { -<a name="l00194"></a>00194 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); -<a name="l00195"></a>00195 } -<a name="l00196"></a>00196 <span class="keywordflow">else</span> -<a name="l00197"></a>00197 { -<a name="l00198"></a>00198 <span class="keywordflow">return</span> NULL; -<a name="l00199"></a>00199 } -<a name="l00200"></a>00200 } -<a name="l00201"></a>00201 -<a name="l00202"></a><a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">00202</a> <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid) : data(anydata), source(src), id(eventid) { }; -<a name="l00203"></a>00203 -<a name="l00204"></a><a class="code" href="classEvent.html#GetData_28_29">00204</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">Event::GetData</a>() -<a name="l00205"></a>00205 { -<a name="l00206"></a>00206 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; -<a name="l00207"></a>00207 } -<a name="l00208"></a>00208 -<a name="l00209"></a><a class="code" href="classEvent.html#GetSource_28_29">00209</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">Event::GetSource</a>() -<a name="l00210"></a>00210 { -<a name="l00211"></a>00211 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; -<a name="l00212"></a>00212 } -<a name="l00213"></a>00213 -<a name="l00214"></a><a class="code" href="classEvent.html#Send_28_29">00214</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Event::Send</a>() -<a name="l00215"></a>00215 { -<a name="l00216"></a>00216 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); -<a name="l00217"></a>00217 <span class="keywordflow">return</span> NULL; -<a name="l00218"></a>00218 } +<a name="l00167"></a><a class="code" href="classRequest.html#GetData_28_29">00167</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">Request::GetData</a>() +<a name="l00168"></a>00168 { +<a name="l00169"></a>00169 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#data">data</a>; +<a name="l00170"></a>00170 } +<a name="l00171"></a>00171 +<a name="l00172"></a><a class="code" href="classRequest.html#GetSource_28_29">00172</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">Request::GetSource</a>() +<a name="l00173"></a>00173 { +<a name="l00174"></a>00174 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#source">source</a>; +<a name="l00175"></a>00175 } +<a name="l00176"></a>00176 +<a name="l00177"></a><a class="code" href="classRequest.html#GetDest_28_29">00177</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">Request::GetDest</a>() +<a name="l00178"></a>00178 { +<a name="l00179"></a>00179 <span class="keywordflow">return</span> this-><a class="code" href="classRequest.html#dest">dest</a>; +<a name="l00180"></a>00180 } +<a name="l00181"></a>00181 +<a name="l00182"></a><a class="code" href="classRequest.html#Send_28_29">00182</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Request::Send</a>() +<a name="l00183"></a>00183 { +<a name="l00184"></a>00184 <span class="keywordflow">if</span> (this->dest) +<a name="l00185"></a>00185 { +<a name="l00186"></a>00186 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>); +<a name="l00187"></a>00187 } +<a name="l00188"></a>00188 <span class="keywordflow">else</span> +<a name="l00189"></a>00189 { +<a name="l00190"></a>00190 <span class="keywordflow">return</span> NULL; +<a name="l00191"></a>00191 } +<a name="l00192"></a>00192 } +<a name="l00193"></a>00193 +<a name="l00194"></a><a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">00194</a> <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid) : data(anydata), source(src), id(eventid) { }; +<a name="l00195"></a>00195 +<a name="l00196"></a><a class="code" href="classEvent.html#GetData_28_29">00196</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">Event::GetData</a>() +<a name="l00197"></a>00197 { +<a name="l00198"></a>00198 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#data">data</a>; +<a name="l00199"></a>00199 } +<a name="l00200"></a>00200 +<a name="l00201"></a><a class="code" href="classEvent.html#GetSource_28_29">00201</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">Event::GetSource</a>() +<a name="l00202"></a>00202 { +<a name="l00203"></a>00203 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#source">source</a>; +<a name="l00204"></a>00204 } +<a name="l00205"></a>00205 +<a name="l00206"></a><a class="code" href="classEvent.html#Send_28_29">00206</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Event::Send</a>() +<a name="l00207"></a>00207 { +<a name="l00208"></a>00208 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>); +<a name="l00209"></a>00209 <span class="keywordflow">return</span> NULL; +<a name="l00210"></a>00210 } +<a name="l00211"></a>00211 +<a name="l00212"></a><a class="code" href="classEvent.html#GetEventID_28_29">00212</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">Event::GetEventID</a>() +<a name="l00213"></a>00213 { +<a name="l00214"></a>00214 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; +<a name="l00215"></a>00215 } +<a name="l00216"></a>00216 +<a name="l00217"></a>00217 +<a name="l00218"></a>00218 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> <a name="l00219"></a>00219 -<a name="l00220"></a><a class="code" href="classEvent.html#GetEventID_28_29">00220</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">Event::GetEventID</a>() -<a name="l00221"></a>00221 { -<a name="l00222"></a>00222 <span class="keywordflow">return</span> this-><a class="code" href="classEvent.html#id">id</a>; -<a name="l00223"></a>00223 } -<a name="l00224"></a>00224 -<a name="l00225"></a>00225 -<a name="l00226"></a>00226 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span> -<a name="l00227"></a>00227 -<a name="l00228"></a><a class="code" href="classModule.html#Module_28Server_20_2AMe_29">00228</a> <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module::Module</a>(<a class="code" href="classServer.html">Server</a>* Me) { } -<a name="l00229"></a><a class="code" href="classModule.html#_7EModule_28_29">00229</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { } -<a name="l00230"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00230</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00231"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00231</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message) { } -<a name="l00232"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00232</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00233"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00233</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00234"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00234</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } -<a name="l00235"></a><a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">00235</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module::OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter) { } -<a name="l00236"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00236</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } -<a name="l00237"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00237</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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="l00238"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00238</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } -<a name="l00239"></a><a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00239</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00240"></a><a class="code" href="classModule.html#GetVersion_28_29">00240</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">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#VF_5FVENDOR">VF_VENDOR</a>); } -<a name="l00241"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">00241</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype) { }; -<a name="l00242"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00242</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00243"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00243</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; -<a name="l00244"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00244</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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="l00245"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00245</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00246"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00246</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; -<a name="l00247"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00247</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; }; -<a name="l00248"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00248</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { }; -<a name="l00249"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00249</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; -<a name="l00250"></a><a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">00250</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module::On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &output) { }; -<a name="l00251"></a><a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00251</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00252"></a><a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00252</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; -<a name="l00253"></a><a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00253</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; -<a name="l00254"></a><a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">00254</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module::OnBackgroundTimer</a>(time_t curtime) { }; -<a name="l00255"></a><a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">00255</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">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="l00256"></a><a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00256</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module::OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> 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="l00257"></a><a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">00257</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; -<a name="l00258"></a><a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">00258</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00259"></a><a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00259</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; -<a name="l00260"></a><a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00260</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; -<a name="l00261"></a><a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">00261</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; -<a name="l00262"></a><a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00262</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00263"></a><a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">00263</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven) { <span class="keywordflow">return</span> 0; }; -<a name="l00264"></a><a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00264</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00265"></a><a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00265</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00266"></a><a class="code" href="classModule.html#OnStats_28char_20symbol_29">00266</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; -<a name="l00267"></a><a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00267</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00268"></a><a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00268</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; -<a name="l00269"></a><a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00269</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { <span class="keywordflow">return</span> 0; }; -<a name="l00270"></a><a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">00270</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; -<a name="l00271"></a><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">00271</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; -<a name="l00272"></a><a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">00272</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module::OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input) { <span class="keywordflow">return</span> 0; }; -<a name="l00273"></a><a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">00273</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00274"></a><a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">00274</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; -<a name="l00275"></a><a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00275</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00276"></a><a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00276</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; -<a name="l00277"></a><a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">00277</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport) { }; -<a name="l00278"></a><a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">00278</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">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="l00279"></a><a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">00279</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; -<a name="l00280"></a><a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">00280</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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; }; -<a name="l00281"></a><a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00281</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00282"></a><a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00282</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00283"></a><a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00283</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; -<a name="l00284"></a><a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00284</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserInvite</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) { }; -<a name="l00285"></a><a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00285</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { }; -<a name="l00286"></a><a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">00286</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module::OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &description) { }; -<a name="l00287"></a><a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00287</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; -<a name="l00288"></a><a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00288</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; -<a name="l00289"></a><a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">00289</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module::ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline) { }; -<a name="l00290"></a><a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00290</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; -<a name="l00291"></a><a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00291</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; -<a name="l00292"></a><a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00292</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; -<a name="l00293"></a><a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00293</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; -<a name="l00294"></a><a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">00294</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module::OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; -<a name="l00295"></a><a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00295</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { }; -<a name="l00296"></a><a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00296</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module::OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) { }; -<a name="l00297"></a><a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00297</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00298"></a><a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">00298</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module::OnAddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; -<a name="l00299"></a><a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00299</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00300"></a><a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">00300</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module::OnAddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; -<a name="l00301"></a><a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00301</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00302"></a><a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00302</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00303"></a><a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">00303</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module::OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; -<a name="l00304"></a><a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00304</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00305"></a><a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">00305</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module::OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; -<a name="l00306"></a><a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00306</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; -<a name="l00307"></a><a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">00307</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module::OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item) { }; +<a name="l00220"></a><a class="code" href="classModule.html#Module_28Server_20_2AMe_29">00220</a> <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module::Module</a>(<a class="code" href="classServer.html">Server</a>* Me) { } +<a name="l00221"></a><a class="code" href="classModule.html#_7EModule_28_29">00221</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { } +<a name="l00222"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00222</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00223"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00223</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message) { } +<a name="l00224"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00224</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00225"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00225</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00226"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00226</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { } +<a name="l00227"></a><a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">00227</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module::OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter) { } +<a name="l00228"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00228</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { } +<a name="l00229"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00229</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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="l00230"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00230</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +<a name="l00231"></a><a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00231</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00232"></a><a class="code" href="classModule.html#GetVersion_28_29">00232</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">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#VF_5FVENDOR">VF_VENDOR</a>); } +<a name="l00233"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">00233</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype) { }; +<a name="l00234"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00234</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00235"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00235</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { }; +<a name="l00236"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00236</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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="l00237"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00237</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00238"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00238</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &text) { <span class="keywordflow">return</span> 0; }; +<a name="l00239"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00239</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; }; +<a name="l00240"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00240</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { }; +<a name="l00241"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00241</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; }; +<a name="l00242"></a><a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">00242</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module::On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &output) { }; +<a name="l00243"></a><a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00243</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00244"></a><a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00244</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; +<a name="l00245"></a><a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00245</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { }; +<a name="l00246"></a><a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">00246</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module::OnBackgroundTimer</a>(time_t curtime) { }; +<a name="l00247"></a><a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">00247</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">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="l00248"></a><a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00248</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module::OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> 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="l00249"></a><a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">00249</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; }; +<a name="l00250"></a><a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">00250</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00251"></a><a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00251</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; }; +<a name="l00252"></a><a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">00252</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; +<a name="l00253"></a><a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">00253</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; }; +<a name="l00254"></a><a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00254</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00255"></a><a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">00255</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven) { <span class="keywordflow">return</span> 0; }; +<a name="l00256"></a><a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00256</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00257"></a><a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">00257</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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="l00258"></a><a class="code" href="classModule.html#OnStats_28char_20symbol_29">00258</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { }; +<a name="l00259"></a><a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00259</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00260"></a><a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00260</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { <span class="keywordflow">return</span> 0; }; +<a name="l00261"></a><a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00261</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { <span class="keywordflow">return</span> 0; }; +<a name="l00262"></a><a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">00262</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; }; +<a name="l00263"></a><a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">00263</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; }; +<a name="l00264"></a><a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">00264</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module::OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input) { <span class="keywordflow">return</span> 0; }; +<a name="l00265"></a><a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">00265</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00266"></a><a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">00266</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }; +<a name="l00267"></a><a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00267</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00268"></a><a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">00268</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask) { <span class="keywordflow">return</span> 0; }; +<a name="l00269"></a><a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">00269</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport) { }; +<a name="l00270"></a><a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">00270</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">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="l00271"></a><a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">00271</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { }; +<a name="l00272"></a><a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">00272</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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; }; +<a name="l00273"></a><a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00273</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00274"></a><a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00274</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00275"></a><a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00275</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { }; +<a name="l00276"></a><a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00276</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserInvite</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) { }; +<a name="l00277"></a><a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00277</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { }; +<a name="l00278"></a><a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">00278</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module::OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &description) { }; +<a name="l00279"></a><a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00279</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; +<a name="l00280"></a><a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00280</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { }; +<a name="l00281"></a><a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">00281</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module::ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline) { }; +<a name="l00282"></a><a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00282</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; +<a name="l00283"></a><a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00283</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { }; +<a name="l00284"></a><a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00284</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; +<a name="l00285"></a><a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00285</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { }; +<a name="l00286"></a><a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">00286</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module::OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text) { }; +<a name="l00287"></a><a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00287</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { }; +<a name="l00288"></a><a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00288</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module::OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) { }; +<a name="l00289"></a><a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00289</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00290"></a><a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">00290</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module::OnAddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; +<a name="l00291"></a><a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00291</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00292"></a><a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">00292</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module::OnAddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; +<a name="l00293"></a><a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00293</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00294"></a><a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00294</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00295"></a><a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">00295</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module::OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { }; +<a name="l00296"></a><a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00296</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00297"></a><a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">00297</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module::OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { }; +<a name="l00298"></a><a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00298</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { }; +<a name="l00299"></a><a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">00299</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module::OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item) { }; +<a name="l00300"></a>00300 +<a name="l00301"></a>00301 <span class="comment">/* server is a wrapper class that provides methods to all of the C-style</span> +<a name="l00302"></a>00302 <span class="comment"> * exports in the core</span> +<a name="l00303"></a>00303 <span class="comment"> */</span> +<a name="l00304"></a>00304 +<a name="l00305"></a><a class="code" href="classServer.html#Server_28_29">00305</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>() +<a name="l00306"></a>00306 { +<a name="l00307"></a>00307 } <a name="l00308"></a>00308 -<a name="l00309"></a>00309 <span class="comment">/* server is a wrapper class that provides methods to all of the C-style</span> -<a name="l00310"></a>00310 <span class="comment"> * exports in the core</span> -<a name="l00311"></a>00311 <span class="comment"> */</span> +<a name="l00309"></a><a class="code" href="classServer.html#_7EServer_28_29">00309</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>() +<a name="l00310"></a>00310 { +<a name="l00311"></a>00311 } <a name="l00312"></a>00312 -<a name="l00313"></a><a class="code" href="classServer.html#Server_28_29">00313</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>() +<a name="l00313"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00313</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) <a name="l00314"></a>00314 { -<a name="l00315"></a>00315 } -<a name="l00316"></a>00316 -<a name="l00317"></a><a class="code" href="classServer.html#_7EServer_28_29">00317</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>() -<a name="l00318"></a>00318 { -<a name="l00319"></a>00319 } -<a name="l00320"></a>00320 -<a name="l00321"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00321</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) -<a name="l00322"></a>00322 { -<a name="l00323"></a>00323 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); -<a name="l00324"></a>00324 } -<a name="l00325"></a>00325 -<a name="l00326"></a><a class="code" href="classServer.html#RehashServer_28_29">00326</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">Server::RehashServer</a>() -<a name="l00327"></a>00327 { -<a name="l00328"></a>00328 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>); -<a name="l00329"></a>00329 Config-><a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keyword">false</span>,NULL); -<a name="l00330"></a>00330 } -<a name="l00331"></a>00331 -<a name="l00332"></a><a class="code" href="classServer.html#GetConfig_28_29">00332</a> <a class="code" href="classServerConfig.html">ServerConfig</a>* <a class="code" href="classServer.html#GetConfig_28_29">Server::GetConfig</a>() -<a name="l00333"></a>00333 { -<a name="l00334"></a>00334 <span class="keywordflow">return</span> Config; -<a name="l00335"></a>00335 } -<a name="l00336"></a>00336 -<a name="l00337"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00337</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) -<a name="l00338"></a>00338 { -<a name="l00339"></a>00339 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) -<a name="l00340"></a>00340 { -<a name="l00341"></a>00341 <span class="keywordflow">if</span> (*a == sock) -<a name="l00342"></a>00342 { -<a name="l00343"></a>00343 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); -<a name="l00344"></a>00344 <span class="keywordflow">return</span>; -<a name="l00345"></a>00345 } -<a name="l00346"></a>00346 } -<a name="l00347"></a>00347 } -<a name="l00348"></a>00348 -<a name="l00349"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00349</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00350"></a>00350 { -<a name="l00351"></a>00351 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00315"></a>00315 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock); +<a name="l00316"></a>00316 } +<a name="l00317"></a>00317 +<a name="l00318"></a><a class="code" href="classServer.html#RehashServer_28_29">00318</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">Server::RehashServer</a>() +<a name="l00319"></a>00319 { +<a name="l00320"></a>00320 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** Rehashing config file"</span>); +<a name="l00321"></a>00321 Config-><a class="code" href="classServerConfig.html#Read_28bool_20bail_2C_20userrec_20_2Auser_29">Read</a>(<span class="keyword">false</span>,NULL); +<a name="l00322"></a>00322 } +<a name="l00323"></a>00323 +<a name="l00324"></a><a class="code" href="classServer.html#GetConfig_28_29">00324</a> <a class="code" href="classServerConfig.html">ServerConfig</a>* <a class="code" href="classServer.html#GetConfig_28_29">Server::GetConfig</a>() +<a name="l00325"></a>00325 { +<a name="l00326"></a>00326 <span class="keywordflow">return</span> Config; +<a name="l00327"></a>00327 } +<a name="l00328"></a>00328 +<a name="l00329"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00329</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock) +<a name="l00330"></a>00330 { +<a name="l00331"></a>00331 <span class="keywordflow">for</span> (std::vector<InspSocket*>::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a < <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++) +<a name="l00332"></a>00332 { +<a name="l00333"></a>00333 <span class="keywordflow">if</span> (*a == sock) +<a name="l00334"></a>00334 { +<a name="l00335"></a>00335 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a); +<a name="l00336"></a>00336 <span class="keywordflow">return</span>; +<a name="l00337"></a>00337 } +<a name="l00338"></a>00338 } +<a name="l00339"></a>00339 } +<a name="l00340"></a>00340 +<a name="l00341"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00341</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00342"></a>00342 { +<a name="l00343"></a>00343 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00344"></a>00344 } +<a name="l00345"></a>00345 +<a name="l00346"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00346</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern) +<a name="l00347"></a>00347 { +<a name="l00348"></a>00348 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; +<a name="l00349"></a>00349 strlcpy(literal,sliteral.c_str(),MAXBUF); +<a name="l00350"></a>00350 strlcpy(pattern,spattern.c_str(),MAXBUF); +<a name="l00351"></a>00351 <span class="keywordflow">return</span> match(literal,pattern); <a name="l00352"></a>00352 } <a name="l00353"></a>00353 -<a name="l00354"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00354</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern) +<a name="l00354"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00354</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text) <a name="l00355"></a>00355 { -<a name="l00356"></a>00356 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF]; -<a name="l00357"></a>00357 strlcpy(literal,sliteral.c_str(),MAXBUF); -<a name="l00358"></a>00358 strlcpy(pattern,spattern.c_str(),MAXBUF); -<a name="l00359"></a>00359 <span class="keywordflow">return</span> match(literal,pattern); -<a name="l00360"></a>00360 } -<a name="l00361"></a>00361 -<a name="l00362"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00362</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00363"></a>00363 { -<a name="l00364"></a>00364 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00365"></a>00365 } -<a name="l00366"></a>00366 -<a name="l00367"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00367</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key) -<a name="l00368"></a>00368 { -<a name="l00369"></a>00369 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); -<a name="l00370"></a>00370 } -<a name="l00371"></a>00371 -<a name="l00372"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00372</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason) -<a name="l00373"></a>00373 { -<a name="l00374"></a>00374 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); -<a name="l00375"></a>00375 } -<a name="l00376"></a>00376 -<a name="l00377"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00377</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) -<a name="l00378"></a>00378 { -<a name="l00379"></a>00379 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; -<a name="l00380"></a>00380 userl.clear(); -<a name="l00381"></a>00381 std::vector<char*> *list = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); -<a name="l00382"></a>00382 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) -<a name="l00383"></a>00383 { -<a name="l00384"></a>00384 <span class="keywordtype">char</span>* o = *i; -<a name="l00385"></a>00385 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); -<a name="l00386"></a>00386 } -<a name="l00387"></a>00387 <span class="keywordflow">return</span> userl; -<a name="l00388"></a>00388 } -<a name="l00389"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00389</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00390"></a>00390 { -<a name="l00391"></a>00391 force_nickchange(user,nickname.c_str()); -<a name="l00392"></a>00392 } -<a name="l00393"></a>00393 -<a name="l00394"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00394</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason) -<a name="l00395"></a>00395 { -<a name="l00396"></a>00396 kill_link(user,reason.c_str()); -<a name="l00397"></a>00397 } -<a name="l00398"></a>00398 -<a name="l00399"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00399</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server) -<a name="l00400"></a>00400 { -<a name="l00401"></a>00401 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); -<a name="l00402"></a>00402 } -<a name="l00403"></a>00403 -<a name="l00404"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00404</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00405"></a>00405 { -<a name="l00406"></a>00406 call_handler(commandname.c_str(),parameters,pcnt,user); -<a name="l00407"></a>00407 } -<a name="l00408"></a>00408 -<a name="l00409"></a><a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00409</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00410"></a>00410 { -<a name="l00411"></a>00411 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user); -<a name="l00412"></a>00412 } -<a name="l00413"></a>00413 -<a name="l00414"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00414</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00415"></a>00415 { -<a name="l00416"></a>00416 log(level,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00417"></a>00417 } -<a name="l00418"></a>00418 -<a name="l00419"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00419</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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) -<a name="l00420"></a>00420 { -<a name="l00421"></a>00421 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); -<a name="l00422"></a>00422 } -<a name="l00423"></a>00423 -<a name="l00424"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00424</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) -<a name="l00425"></a>00425 { -<a name="l00426"></a>00426 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); -<a name="l00427"></a>00427 } -<a name="l00428"></a>00428 -<a name="l00429"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00429</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00430"></a>00430 { -<a name="l00431"></a>00431 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00432"></a>00432 } -<a name="l00433"></a>00433 -<a name="l00434"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00434</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00435"></a>00435 { -<a name="l00436"></a>00436 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00437"></a>00437 } -<a name="l00438"></a>00438 -<a name="l00439"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00439</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00440"></a>00440 { -<a name="l00441"></a>00441 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00442"></a>00442 } -<a name="l00443"></a>00443 -<a name="l00444"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00444</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s) -<a name="l00445"></a>00445 { -<a name="l00446"></a>00446 <span class="keywordflow">if</span> (!Source) -<a name="l00447"></a>00447 { -<a name="l00448"></a>00448 <span class="comment">// if source is NULL, then the message originates from the local server</span> -<a name="l00449"></a>00449 Write(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); -<a name="l00450"></a>00450 } -<a name="l00451"></a>00451 <span class="keywordflow">else</span> -<a name="l00452"></a>00452 { -<a name="l00453"></a>00453 <span class="comment">// otherwise it comes from the user specified</span> -<a name="l00454"></a>00454 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00455"></a>00455 } -<a name="l00456"></a>00456 } -<a name="l00457"></a>00457 -<a name="l00458"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00458</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00459"></a>00459 { -<a name="l00460"></a>00460 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); -<a name="l00461"></a>00461 } -<a name="l00462"></a>00462 -<a name="l00463"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00463</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender) -<a name="l00464"></a>00464 { -<a name="l00465"></a>00465 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00466"></a>00466 { -<a name="l00467"></a>00467 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00468"></a>00468 } -<a name="l00469"></a>00469 <span class="keywordflow">else</span> -<a name="l00470"></a>00470 { -<a name="l00471"></a>00471 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); -<a name="l00472"></a>00472 } -<a name="l00473"></a>00473 } -<a name="l00474"></a>00474 -<a name="l00475"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00475</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) -<a name="l00476"></a>00476 { -<a name="l00477"></a>00477 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); -<a name="l00478"></a>00478 } -<a name="l00479"></a>00479 -<a name="l00480"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00480</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender) -<a name="l00481"></a>00481 { -<a name="l00482"></a>00482 <span class="keywordflow">if</span> (IncludeSender) -<a name="l00483"></a>00483 { -<a name="l00484"></a>00484 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00485"></a>00485 } -<a name="l00486"></a>00486 <span class="keywordflow">else</span> -<a name="l00487"></a>00487 { -<a name="l00488"></a>00488 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00489"></a>00489 } -<a name="l00490"></a>00490 } -<a name="l00491"></a>00491 -<a name="l00492"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00492</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text) -<a name="l00493"></a>00493 { -<a name="l00494"></a>00494 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); -<a name="l00495"></a>00495 } -<a name="l00496"></a>00496 -<a name="l00497"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00497</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host) -<a name="l00498"></a>00498 { -<a name="l00499"></a>00499 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); -<a name="l00500"></a>00500 } -<a name="l00501"></a>00501 -<a name="l00502"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00502</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) -<a name="l00503"></a>00503 { -<a name="l00504"></a>00504 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); -<a name="l00505"></a>00505 } -<a name="l00506"></a>00506 -<a name="l00507"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00507</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) -<a name="l00508"></a>00508 { -<a name="l00509"></a>00509 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); -<a name="l00510"></a>00510 } -<a name="l00511"></a>00511 -<a name="l00512"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00512</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) -<a name="l00513"></a>00513 { -<a name="l00514"></a>00514 <span class="keywordflow">return</span> Find(nick); -<a name="l00515"></a>00515 } -<a name="l00516"></a>00516 -<a name="l00517"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00517</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) -<a name="l00518"></a>00518 { -<a name="l00519"></a>00519 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); -<a name="l00520"></a>00520 } -<a name="l00521"></a>00521 -<a name="l00522"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00522</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel) -<a name="l00523"></a>00523 { -<a name="l00524"></a>00524 <span class="keywordflow">return</span> FindChan(channel.c_str()); -<a name="l00525"></a>00525 } -<a name="l00526"></a>00526 -<a name="l00527"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00527</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -<a name="l00528"></a>00528 { -<a name="l00529"></a>00529 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); -<a name="l00530"></a>00530 } -<a name="l00531"></a>00531 -<a name="l00532"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00532</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) -<a name="l00533"></a>00533 { -<a name="l00534"></a>00534 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); -<a name="l00535"></a>00535 } -<a name="l00536"></a>00536 -<a name="l00537"></a><a class="code" href="classServer.html#GetServerName_28_29">00537</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>() -<a name="l00538"></a>00538 { -<a name="l00539"></a>00539 <span class="keywordflow">return</span> getservername(); -<a name="l00540"></a>00540 } -<a name="l00541"></a>00541 -<a name="l00542"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00542</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>() -<a name="l00543"></a>00543 { -<a name="l00544"></a>00544 <span class="keywordflow">return</span> getnetworkname(); -<a name="l00545"></a>00545 } -<a name="l00546"></a>00546 -<a name="l00547"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00547</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>() -<a name="l00548"></a>00548 { -<a name="l00549"></a>00549 <span class="keywordflow">return</span> getserverdesc(); -<a name="l00550"></a>00550 } -<a name="l00551"></a>00551 -<a name="l00552"></a><a class="code" href="classServer.html#GetAdmin_28_29">00552</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>() -<a name="l00553"></a>00553 { -<a name="l00554"></a>00554 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick()); -<a name="l00555"></a>00555 } -<a name="l00556"></a>00556 -<a name="l00557"></a>00557 -<a name="l00558"></a>00558 -<a name="l00559"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00559</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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) -<a name="l00560"></a>00560 { -<a name="l00561"></a>00561 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) -<a name="l00562"></a>00562 { -<a name="l00563"></a>00563 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) -<a name="l00564"></a>00564 { -<a name="l00565"></a>00565 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); -<a name="l00566"></a>00566 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00567"></a>00567 } -<a name="l00568"></a>00568 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) -<a name="l00569"></a>00569 { -<a name="l00570"></a>00570 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); -<a name="l00571"></a>00571 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00572"></a>00572 } -<a name="l00573"></a>00573 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) -<a name="l00574"></a>00574 { -<a name="l00575"></a>00575 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); -<a name="l00576"></a>00576 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00577"></a>00577 } -<a name="l00578"></a>00578 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); -<a name="l00579"></a>00579 } -<a name="l00580"></a>00580 <span class="keywordflow">else</span> -<a name="l00581"></a>00581 { -<a name="l00582"></a>00582 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); -<a name="l00583"></a>00583 } -<a name="l00584"></a>00584 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00356"></a>00356 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00357"></a>00357 } +<a name="l00358"></a>00358 +<a name="l00359"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00359</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key) +<a name="l00360"></a>00360 { +<a name="l00361"></a>00361 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#add_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acn_2C_20const_20char_20_2Akey_2C_20bool_20override_29">add_channel</a>(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>); +<a name="l00362"></a>00362 } +<a name="l00363"></a>00363 +<a name="l00364"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00364</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason) +<a name="l00365"></a>00365 { +<a name="l00366"></a>00366 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#del_5Fchannel_28userrec_20_2Auser_2C_20const_20char_20_2Acname_2C_20const_20char_20_2Areason_2C_20bool_20local_29">del_channel</a>(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>); +<a name="l00367"></a>00367 } +<a name="l00368"></a>00368 +<a name="l00369"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00369</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) +<a name="l00370"></a>00370 { +<a name="l00371"></a>00371 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl; +<a name="l00372"></a>00372 userl.clear(); +<a name="l00373"></a>00373 std::vector<char*> *list = chan-><a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>(); +<a name="l00374"></a>00374 <span class="keywordflow">for</span> (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++) +<a name="l00375"></a>00375 { +<a name="l00376"></a>00376 <span class="keywordtype">char</span>* o = *i; +<a name="l00377"></a>00377 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o); +<a name="l00378"></a>00378 } +<a name="l00379"></a>00379 <span class="keywordflow">return</span> userl; +<a name="l00380"></a>00380 } +<a name="l00381"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00381</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00382"></a>00382 { +<a name="l00383"></a>00383 <a class="code" href="inspircd_8h.html#force_5Fnickchange_28userrec_20_2Auser_2C_20const_20char_20_2Anewnick_29">force_nickchange</a>(user,nickname.c_str()); +<a name="l00384"></a>00384 } +<a name="l00385"></a>00385 +<a name="l00386"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00386</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason) +<a name="l00387"></a>00387 { +<a name="l00388"></a>00388 <a class="code" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a>(user,reason.c_str()); +<a name="l00389"></a>00389 } +<a name="l00390"></a>00390 +<a name="l00391"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00391</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server) +<a name="l00392"></a>00392 { +<a name="l00393"></a>00393 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str()); +<a name="l00394"></a>00394 } +<a name="l00395"></a>00395 +<a name="l00396"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00396</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00397"></a>00397 { +<a name="l00398"></a>00398 <a class="code" href="inspircd_8h.html#call_5Fhandler_28const_20char_20_2Acommandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">call_handler</a>(commandname.c_str(),parameters,pcnt,user); +<a name="l00399"></a>00399 } +<a name="l00400"></a>00400 +<a name="l00401"></a><a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00401</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00402"></a>00402 { +<a name="l00403"></a>00403 <span class="keywordflow">return</span> <a class="code" href="inspircd_8h.html#is_5Fvalid_5Fcmd_28const_20char_20_2Acommandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">is_valid_cmd</a>(commandname.c_str(), pcnt, user); +<a name="l00404"></a>00404 } +<a name="l00405"></a>00405 +<a name="l00406"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00406</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00407"></a>00407 { +<a name="l00408"></a>00408 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(level,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00409"></a>00409 } +<a name="l00410"></a>00410 +<a name="l00411"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00411</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, <a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source) +<a name="l00412"></a>00412 { +<a name="l00413"></a>00413 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source); +<a name="l00414"></a>00414 } +<a name="l00415"></a>00415 +<a name="l00416"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00416</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) +<a name="l00417"></a>00417 { +<a name="l00418"></a>00418 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user); +<a name="l00419"></a>00419 } +<a name="l00420"></a>00420 +<a name="l00421"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00421</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00422"></a>00422 { +<a name="l00423"></a>00423 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00424"></a>00424 } +<a name="l00425"></a>00425 +<a name="l00426"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00426</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00427"></a>00427 { +<a name="l00428"></a>00428 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(Socket,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00429"></a>00429 } +<a name="l00430"></a>00430 +<a name="l00431"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00431</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00432"></a>00432 { +<a name="l00433"></a>00433 <a class="code" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a>(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00434"></a>00434 } +<a name="l00435"></a>00435 +<a name="l00436"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00436</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s) +<a name="l00437"></a>00437 { +<a name="l00438"></a>00438 <span class="keywordflow">if</span> (!Source) +<a name="l00439"></a>00439 { +<a name="l00440"></a>00440 <span class="comment">// if source is NULL, then the message originates from the local server</span> +<a name="l00441"></a>00441 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(Dest-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this->GetServerName().c_str(),s.c_str()); +<a name="l00442"></a>00442 } +<a name="l00443"></a>00443 <span class="keywordflow">else</span> +<a name="l00444"></a>00444 { +<a name="l00445"></a>00445 <span class="comment">// otherwise it comes from the user specified</span> +<a name="l00446"></a>00446 <a class="code" href="globals_8h.html#WriteTo_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20char_20_2Adata_2C_2E_2E_2E_29">WriteTo</a>(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00447"></a>00447 } +<a name="l00448"></a>00448 } +<a name="l00449"></a>00449 +<a name="l00450"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00450</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text) +<a name="l00451"></a>00451 { +<a name="l00452"></a>00452 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str()); +<a name="l00453"></a>00453 } +<a name="l00454"></a>00454 +<a name="l00455"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00455</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender) +<a name="l00456"></a>00456 { +<a name="l00457"></a>00457 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00458"></a>00458 { +<a name="l00459"></a>00459 <a class="code" href="globals_8h.html#WriteChannel_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteChannel</a>(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00460"></a>00460 } +<a name="l00461"></a>00461 <span class="keywordflow">else</span> +<a name="l00462"></a>00462 { +<a name="l00463"></a>00463 <a class="code" href="globals_8h.html#ChanExceptSender_28chanrec_20_2APtr_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">ChanExceptSender</a>(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str()); +<a name="l00464"></a>00464 } +<a name="l00465"></a>00465 } +<a name="l00466"></a>00466 +<a name="l00467"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00467</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2) +<a name="l00468"></a>00468 { +<a name="l00469"></a>00469 <span class="keywordflow">return</span> (<a class="code" href="globals_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0); +<a name="l00470"></a>00470 } +<a name="l00471"></a>00471 +<a name="l00472"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00472</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender) +<a name="l00473"></a>00473 { +<a name="l00474"></a>00474 <span class="keywordflow">if</span> (IncludeSender) +<a name="l00475"></a>00475 { +<a name="l00476"></a>00476 <a class="code" href="globals_8h.html#WriteCommon_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommon</a>(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00477"></a>00477 } +<a name="l00478"></a>00478 <span class="keywordflow">else</span> +<a name="l00479"></a>00479 { +<a name="l00480"></a>00480 <a class="code" href="globals_8h.html#WriteCommonExcept_28userrec_20_2Au_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteCommonExcept</a>(User,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00481"></a>00481 } +<a name="l00482"></a>00482 } +<a name="l00483"></a>00483 +<a name="l00484"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00484</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text) +<a name="l00485"></a>00485 { +<a name="l00486"></a>00486 <a class="code" href="globals_8h.html#WriteWallOps_28userrec_20_2Asource_2C_20bool_20local_5Fonly_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteWallOps</a>(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str()); +<a name="l00487"></a>00487 } +<a name="l00488"></a>00488 +<a name="l00489"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00489</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host) +<a name="l00490"></a>00490 { +<a name="l00491"></a>00491 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str()); +<a name="l00492"></a>00492 } +<a name="l00493"></a>00493 +<a name="l00494"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00494</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) +<a name="l00495"></a>00495 { +<a name="l00496"></a>00496 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str()); +<a name="l00497"></a>00497 } +<a name="l00498"></a>00498 +<a name="l00499"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00499</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) +<a name="l00500"></a>00500 { +<a name="l00501"></a>00501 <span class="keywordflow">return</span> (<a class="code" href="globals_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0); +<a name="l00502"></a>00502 } +<a name="l00503"></a>00503 +<a name="l00504"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00504</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick) +<a name="l00505"></a>00505 { +<a name="l00506"></a>00506 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#Find_28std_3A_3Astring_20nick_29">Find</a>(nick); +<a name="l00507"></a>00507 } +<a name="l00508"></a>00508 +<a name="l00509"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00509</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket) +<a name="l00510"></a>00510 { +<a name="l00511"></a>00511 <span class="keywordflow">return</span> (socket < 65536 ? fd_ref_table[socket] : NULL); +<a name="l00512"></a>00512 } +<a name="l00513"></a>00513 +<a name="l00514"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00514</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel) +<a name="l00515"></a>00515 { +<a name="l00516"></a>00516 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#FindChan_28const_20char_20_2Achan_29">FindChan</a>(channel.c_str()); +<a name="l00517"></a>00517 } +<a name="l00518"></a>00518 +<a name="l00519"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00519</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +<a name="l00520"></a>00520 { +<a name="l00521"></a>00521 <span class="keywordflow">return</span> <a class="code" href="globals_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan); +<a name="l00522"></a>00522 } +<a name="l00523"></a>00523 +<a name="l00524"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00524</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan) +<a name="l00525"></a>00525 { +<a name="l00526"></a>00526 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan); +<a name="l00527"></a>00527 } +<a name="l00528"></a>00528 +<a name="l00529"></a><a class="code" href="classServer.html#GetServerName_28_29">00529</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>() +<a name="l00530"></a>00530 { +<a name="l00531"></a>00531 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>; +<a name="l00532"></a>00532 } +<a name="l00533"></a>00533 +<a name="l00534"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00534</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>() +<a name="l00535"></a>00535 { +<a name="l00536"></a>00536 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#Network_5BMAXBUF_5D">Network</a>; +<a name="l00537"></a>00537 } +<a name="l00538"></a>00538 +<a name="l00539"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00539</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>() +<a name="l00540"></a>00540 { +<a name="l00541"></a>00541 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#ServerDesc_5BMAXBUF_5D">ServerDesc</a>; +<a name="l00542"></a>00542 } +<a name="l00543"></a>00543 +<a name="l00544"></a><a class="code" href="classServer.html#GetAdmin_28_29">00544</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>() +<a name="l00545"></a>00545 { +<a name="l00546"></a>00546 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(Config-><a class="code" href="classServerConfig.html#AdminName_5BMAXBUF_5D">AdminName</a>,Config-><a class="code" href="classServerConfig.html#AdminEmail_5BMAXBUF_5D">AdminEmail</a>,Config-><a class="code" href="classServerConfig.html#AdminNick_5BMAXBUF_5D">AdminNick</a>); +<a name="l00547"></a>00547 } +<a name="l00548"></a>00548 +<a name="l00549"></a>00549 +<a name="l00550"></a>00550 +<a name="l00551"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00551</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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) +<a name="l00552"></a>00552 { +<a name="l00553"></a>00553 <span class="keywordflow">if</span> (((modechar >= <span class="charliteral">'A'</span>) && (modechar <= <span class="charliteral">'Z'</span>)) || ((modechar >= <span class="charliteral">'a'</span>) && (modechar <= <span class="charliteral">'z'</span>))) +<a name="l00554"></a>00554 { +<a name="l00555"></a>00555 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>) +<a name="l00556"></a>00556 { +<a name="l00557"></a>00557 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>); +<a name="l00558"></a>00558 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00559"></a>00559 } +<a name="l00560"></a>00560 <span class="keywordflow">if</span> (((params_when_on>0) || (params_when_off>0)) && (type == <a class="code" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>)) +<a name="l00561"></a>00561 { +<a name="l00562"></a>00562 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>); +<a name="l00563"></a>00563 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00564"></a>00564 } +<a name="l00565"></a>00565 <span class="keywordflow">if</span> ((params_when_on>1) || (params_when_off>1)) +<a name="l00566"></a>00566 { +<a name="l00567"></a>00567 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>); +<a name="l00568"></a>00568 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00569"></a>00569 } +<a name="l00570"></a>00570 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off); +<a name="l00571"></a>00571 } +<a name="l00572"></a>00572 <span class="keywordflow">else</span> +<a name="l00573"></a>00573 { +<a name="l00574"></a>00574 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>); +<a name="l00575"></a>00575 } +<a name="l00576"></a>00576 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00577"></a>00577 } +<a name="l00578"></a>00578 +<a name="l00579"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00579</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +<a name="l00580"></a>00580 { +<a name="l00581"></a>00581 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); +<a name="l00582"></a>00582 <span class="keywordflow">if</span> (res) +<a name="l00583"></a>00583 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); +<a name="l00584"></a>00584 <span class="keywordflow">return</span> res; <a name="l00585"></a>00585 } <a name="l00586"></a>00586 -<a name="l00587"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00587</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar) +<a name="l00587"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00587</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) <a name="l00588"></a>00588 { -<a name="l00589"></a>00589 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1); -<a name="l00590"></a>00590 <span class="keywordflow">if</span> (res) -<a name="l00591"></a>00591 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar); -<a name="l00592"></a>00592 <span class="keywordflow">return</span> res; -<a name="l00593"></a>00593 } -<a name="l00594"></a>00594 -<a name="l00595"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00595</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c) -<a name="l00596"></a>00596 { -<a name="l00597"></a>00597 <span class="keywordflow">return</span> usercount(c); -<a name="l00598"></a>00598 } -<a name="l00599"></a>00599 -<a name="l00600"></a>00600 -<a name="l00601"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00601</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message) -<a name="l00602"></a>00602 { -<a name="l00603"></a>00603 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00604"></a>00604 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00605"></a>00605 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00606"></a>00606 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); -<a name="l00607"></a>00607 SE-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); -<a name="l00608"></a>00608 shutdown(old_fd,2); -<a name="l00609"></a>00609 close(old_fd); -<a name="l00610"></a>00610 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00611"></a>00611 } -<a name="l00612"></a>00612 -<a name="l00613"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00613</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message) -<a name="l00614"></a>00614 { -<a name="l00615"></a>00615 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; -<a name="l00616"></a>00616 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; -<a name="l00617"></a>00617 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); -<a name="l00618"></a>00618 Write(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00619"></a>00619 kill_link(alive,message.c_str()); -<a name="l00620"></a>00620 fd_ref_table[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; -<a name="l00621"></a>00621 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < zombie->chans.size(); i++) -<a name="l00622"></a>00622 { -<a name="l00623"></a>00623 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel != NULL) -<a name="l00624"></a>00624 { -<a name="l00625"></a>00625 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name) -<a name="l00626"></a>00626 { -<a name="l00627"></a>00627 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel; -<a name="l00628"></a>00628 WriteFrom(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00629"></a>00629 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) -<a name="l00630"></a>00630 { -<a name="l00631"></a>00631 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); -<a name="l00632"></a>00632 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); -<a name="l00633"></a>00633 } -<a name="l00634"></a>00634 userlist(zombie,Ptr); -<a name="l00635"></a>00635 WriteServ(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); -<a name="l00636"></a>00636 -<a name="l00637"></a>00637 } -<a name="l00638"></a>00638 } -<a name="l00639"></a>00639 } -<a name="l00640"></a>00640 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00641"></a>00641 } -<a name="l00642"></a>00642 -<a name="l00643"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00643</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00644"></a>00644 { -<a name="l00645"></a>00645 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00646"></a>00646 } -<a name="l00647"></a>00647 -<a name="l00648"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00648</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00649"></a>00649 { -<a name="l00650"></a>00650 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); -<a name="l00651"></a>00651 } -<a name="l00652"></a>00652 -<a name="l00653"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00653</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) -<a name="l00654"></a>00654 { -<a name="l00655"></a>00655 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); -<a name="l00656"></a>00656 } -<a name="l00657"></a>00657 -<a name="l00658"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00658</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00659"></a>00659 { -<a name="l00660"></a>00660 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00661"></a>00661 } -<a name="l00662"></a>00662 -<a name="l00663"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00663</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00664"></a>00664 { -<a name="l00665"></a>00665 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); -<a name="l00666"></a>00666 } -<a name="l00667"></a>00667 -<a name="l00668"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00668</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00669"></a>00669 { -<a name="l00670"></a>00670 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); -<a name="l00671"></a>00671 } -<a name="l00672"></a>00672 -<a name="l00673"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00673</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname) -<a name="l00674"></a>00674 { -<a name="l00675"></a>00675 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); -<a name="l00676"></a>00676 } -<a name="l00677"></a>00677 -<a name="l00678"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00678</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) -<a name="l00679"></a>00679 { -<a name="l00680"></a>00680 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); -<a name="l00681"></a>00681 } -<a name="l00682"></a>00682 -<a name="l00683"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00683</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00684"></a>00684 { -<a name="l00685"></a>00685 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); -<a name="l00686"></a>00686 } -<a name="l00687"></a>00687 -<a name="l00688"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00688</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) -<a name="l00689"></a>00689 { -<a name="l00690"></a>00690 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); -<a name="l00691"></a>00691 } -<a name="l00692"></a>00692 -<a name="l00693"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00693</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta) -<a name="l00694"></a>00694 { -<a name="l00695"></a>00695 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); -<a name="l00696"></a>00696 } -<a name="l00697"></a>00697 -<a name="l00698"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00698</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask) -<a name="l00699"></a>00699 { -<a name="l00700"></a>00700 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); -<a name="l00701"></a>00701 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) -<a name="l00702"></a>00702 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00703"></a>00703 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) -<a name="l00704"></a>00704 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00705"></a>00705 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00706"></a>00706 <span class="keywordflow">if</span> (dest[i] < 32) -<a name="l00707"></a>00707 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00708"></a>00708 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00709"></a>00709 <span class="keywordflow">if</span> (dest[i] > 126) -<a name="l00710"></a>00710 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00711"></a>00711 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; -<a name="l00712"></a>00712 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00713"></a>00713 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) -<a name="l00714"></a>00714 c++; -<a name="l00715"></a>00715 <span class="keywordflow">if</span> (c>1) -<a name="l00716"></a>00716 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00717"></a>00717 c = 0; -<a name="l00718"></a>00718 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) -<a name="l00719"></a>00719 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) -<a name="l00720"></a>00720 c++; -<a name="l00721"></a>00721 <span class="keywordflow">if</span> (c>1) -<a name="l00722"></a>00722 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00723"></a>00723 -<a name="l00724"></a>00724 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00725"></a>00725 } -<a name="l00726"></a>00726 -<a name="l00727"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00727</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name) -<a name="l00728"></a>00728 { -<a name="l00729"></a>00729 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) -<a name="l00730"></a>00730 { -<a name="l00731"></a>00731 <span class="keywordflow">if</span> (Config-><a class="code" href="classServerConfig.html#module_5Fnames">module_names</a>[i] == name) -<a name="l00732"></a>00732 { -<a name="l00733"></a>00733 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; -<a name="l00734"></a>00734 } -<a name="l00735"></a>00735 } -<a name="l00736"></a>00736 <span class="keywordflow">return</span> NULL; -<a name="l00737"></a>00737 } -<a name="l00738"></a>00738 -<a name="l00739"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00739</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>() -<a name="l00740"></a>00740 { -<a name="l00741"></a>00741 Config-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00742"></a>00742 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00743"></a>00743 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00744"></a>00744 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = Config-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); -<a name="l00745"></a>00745 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00746"></a>00746 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00747"></a>00747 } -<a name="l00748"></a>00748 +<a name="l00589"></a>00589 <span class="keywordflow">return</span> usercount(c); +<a name="l00590"></a>00590 } +<a name="l00591"></a>00591 +<a name="l00592"></a>00592 +<a name="l00593"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00593</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message) +<a name="l00594"></a>00594 { +<a name="l00595"></a>00595 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00596"></a>00596 user-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00597"></a>00597 user-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00598"></a>00598 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str()); +<a name="l00599"></a>00599 SE-><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">DelFd</a>(old_fd); +<a name="l00600"></a>00600 shutdown(old_fd,2); +<a name="l00601"></a>00601 close(old_fd); +<a name="l00602"></a>00602 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00603"></a>00603 } +<a name="l00604"></a>00604 +<a name="l00605"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00605</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message) +<a name="l00606"></a>00606 { +<a name="l00607"></a>00607 zombie-><a class="code" href="classconnection.html#fd">fd</a> = alive-><a class="code" href="classconnection.html#fd">fd</a>; +<a name="l00608"></a>00608 alive-><a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>; +<a name="l00609"></a>00609 alive-><a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>(); +<a name="l00610"></a>00610 <a class="code" href="globals_8h.html#Write_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">Write</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-><a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00611"></a>00611 <a class="code" href="inspircd_8h.html#kill_5Flink_28userrec_20_2Auser_2C_20const_20char_20_2Ar_29">kill_link</a>(alive,message.c_str()); +<a name="l00612"></a>00612 fd_ref_table[zombie-><a class="code" href="classconnection.html#fd">fd</a>] = zombie; +<a name="l00613"></a>00613 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < zombie->chans.size(); i++) +<a name="l00614"></a>00614 { +<a name="l00615"></a>00615 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel != NULL) +<a name="l00616"></a>00616 { +<a name="l00617"></a>00617 <span class="keywordflow">if</span> (zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel->name) +<a name="l00618"></a>00618 { +<a name="l00619"></a>00619 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-><a class="code" href="classuserrec.html#chans">chans</a>[i].channel; +<a name="l00620"></a>00620 <a class="code" href="globals_8h.html#WriteFrom_28int_20sock_2C_20userrec_20_2Auser_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteFrom</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00621"></a>00621 <span class="keywordflow">if</span> (Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>) +<a name="l00622"></a>00622 { +<a name="l00623"></a>00623 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>); +<a name="l00624"></a>00624 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-><a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-><a class="code" href="classchanrec.html#topicset">topicset</a>); +<a name="l00625"></a>00625 } +<a name="l00626"></a>00626 userlist(zombie,Ptr); +<a name="l00627"></a>00627 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(zombie-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-><a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>); +<a name="l00628"></a>00628 +<a name="l00629"></a>00629 } +<a name="l00630"></a>00630 } +<a name="l00631"></a>00631 } +<a name="l00632"></a>00632 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00633"></a>00633 } +<a name="l00634"></a>00634 +<a name="l00635"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00635</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00636"></a>00636 { +<a name="l00637"></a>00637 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00638"></a>00638 } +<a name="l00639"></a>00639 +<a name="l00640"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00640</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00641"></a>00641 { +<a name="l00642"></a>00642 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str()); +<a name="l00643"></a>00643 } +<a name="l00644"></a>00644 +<a name="l00645"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00645</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) +<a name="l00646"></a>00646 { +<a name="l00647"></a>00647 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); +<a name="l00648"></a>00648 } +<a name="l00649"></a>00649 +<a name="l00650"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00650</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00651"></a>00651 { +<a name="l00652"></a>00652 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00653"></a>00653 } +<a name="l00654"></a>00654 +<a name="l00655"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00655</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00656"></a>00656 { +<a name="l00657"></a>00657 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str()); +<a name="l00658"></a>00658 } +<a name="l00659"></a>00659 +<a name="l00660"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00660</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00661"></a>00661 { +<a name="l00662"></a>00662 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str()); +<a name="l00663"></a>00663 } +<a name="l00664"></a>00664 +<a name="l00665"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00665</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname) +<a name="l00666"></a>00666 { +<a name="l00667"></a>00667 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str()); +<a name="l00668"></a>00668 } +<a name="l00669"></a>00669 +<a name="l00670"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00670</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr) +<a name="l00671"></a>00671 { +<a name="l00672"></a>00672 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str()); +<a name="l00673"></a>00673 } +<a name="l00674"></a>00674 +<a name="l00675"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00675</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00676"></a>00676 { +<a name="l00677"></a>00677 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str()); +<a name="l00678"></a>00678 } +<a name="l00679"></a>00679 +<a name="l00680"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00680</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask) +<a name="l00681"></a>00681 { +<a name="l00682"></a>00682 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str()); +<a name="l00683"></a>00683 } +<a name="l00684"></a>00684 +<a name="l00685"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00685</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta) +<a name="l00686"></a>00686 { +<a name="l00687"></a>00687 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str()); +<a name="l00688"></a>00688 } +<a name="l00689"></a>00689 +<a name="l00690"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00690</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask) +<a name="l00691"></a>00691 { +<a name="l00692"></a>00692 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str(); +<a name="l00693"></a>00693 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0) +<a name="l00694"></a>00694 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00695"></a>00695 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0) +<a name="l00696"></a>00696 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00697"></a>00697 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00698"></a>00698 <span class="keywordflow">if</span> (dest[i] < 32) +<a name="l00699"></a>00699 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00700"></a>00700 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00701"></a>00701 <span class="keywordflow">if</span> (dest[i] > 126) +<a name="l00702"></a>00702 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00703"></a>00703 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; +<a name="l00704"></a>00704 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00705"></a>00705 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>) +<a name="l00706"></a>00706 c++; +<a name="l00707"></a>00707 <span class="keywordflow">if</span> (c>1) +<a name="l00708"></a>00708 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00709"></a>00709 c = 0; +<a name="l00710"></a>00710 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(dest); i++) +<a name="l00711"></a>00711 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>) +<a name="l00712"></a>00712 c++; +<a name="l00713"></a>00713 <span class="keywordflow">if</span> (c>1) +<a name="l00714"></a>00714 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00715"></a>00715 +<a name="l00716"></a>00716 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00717"></a>00717 } +<a name="l00718"></a>00718 +<a name="l00719"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00719</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name) +<a name="l00720"></a>00720 { +<a name="l00721"></a>00721 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i <= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++) +<a name="l00722"></a>00722 { +<a name="l00723"></a>00723 <span class="keywordflow">if</span> (Config-><a class="code" href="classServerConfig.html#module_5Fnames">module_names</a>[i] == name) +<a name="l00724"></a>00724 { +<a name="l00725"></a>00725 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i]; +<a name="l00726"></a>00726 } +<a name="l00727"></a>00727 } +<a name="l00728"></a>00728 <span class="keywordflow">return</span> NULL; +<a name="l00729"></a>00729 } +<a name="l00730"></a>00730 +<a name="l00731"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00731</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>() +<a name="l00732"></a>00732 { +<a name="l00733"></a>00733 Config-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00734"></a>00734 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00735"></a>00735 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00736"></a>00736 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = Config-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(CONFIG_FILE,this->cache,this->errorlog); +<a name="l00737"></a>00737 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00738"></a>00738 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00739"></a>00739 } +<a name="l00740"></a>00740 +<a name="l00741"></a>00741 +<a name="l00742"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00742</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>() +<a name="l00743"></a>00743 { +<a name="l00744"></a>00744 <span class="keywordflow">if</span> (this->cache) +<a name="l00745"></a>00745 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; +<a name="l00746"></a>00746 <span class="keywordflow">if</span> (this->errorlog) +<a name="l00747"></a>00747 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; +<a name="l00748"></a>00748 } <a name="l00749"></a>00749 -<a name="l00750"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00750</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>() -<a name="l00751"></a>00751 { -<a name="l00752"></a>00752 <span class="keywordflow">if</span> (this->cache) -<a name="l00753"></a>00753 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#cache">cache</a>; -<a name="l00754"></a>00754 <span class="keywordflow">if</span> (this->errorlog) -<a name="l00755"></a>00755 <span class="keyword">delete</span> this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>; -<a name="l00756"></a>00756 } -<a name="l00757"></a>00757 -<a name="l00758"></a>00758 -<a name="l00759"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00759</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) -<a name="l00760"></a>00760 { -<a name="l00761"></a>00761 Config-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); -<a name="l00762"></a>00762 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00763"></a>00763 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); -<a name="l00764"></a>00764 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = Config-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); -<a name="l00765"></a>00765 <span class="keywordflow">if</span> (!this->readerror) -<a name="l00766"></a>00766 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; -<a name="l00767"></a>00767 }; -<a name="l00768"></a>00768 -<a name="l00769"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00769</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) -<a name="l00770"></a>00770 { -<a name="l00771"></a>00771 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00772"></a>00772 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00773"></a>00773 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00774"></a>00774 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00775"></a>00775 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00776"></a>00776 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00777"></a>00777 <span class="keywordflow">if</span> (!res) -<a name="l00778"></a>00778 { -<a name="l00779"></a>00779 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00780"></a>00780 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00781"></a>00781 } -<a name="l00782"></a>00782 <span class="keywordflow">return</span> val; -<a name="l00783"></a>00783 } -<a name="l00784"></a>00784 -<a name="l00785"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00785</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) -<a name="l00786"></a>00786 { -<a name="l00787"></a>00787 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00788"></a>00788 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00789"></a>00789 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00790"></a>00790 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00791"></a>00791 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00792"></a>00792 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00793"></a>00793 <span class="keywordflow">if</span> (!res) -<a name="l00794"></a>00794 { -<a name="l00795"></a>00795 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00796"></a>00796 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00797"></a>00797 } -<a name="l00798"></a>00798 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; -<a name="l00799"></a>00799 <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>)); -<a name="l00800"></a>00800 } -<a name="l00801"></a>00801 -<a name="l00802"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00802</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) -<a name="l00803"></a>00803 { -<a name="l00804"></a>00804 <span class="keywordtype">char</span> val[MAXBUF]; -<a name="l00805"></a>00805 <span class="keywordtype">char</span> t[MAXBUF]; -<a name="l00806"></a>00806 <span class="keywordtype">char</span> n[MAXBUF]; -<a name="l00807"></a>00807 strlcpy(t,tag.c_str(),MAXBUF); -<a name="l00808"></a>00808 strlcpy(n,name.c_str(),MAXBUF); -<a name="l00809"></a>00809 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); -<a name="l00810"></a>00810 <span class="keywordflow">if</span> (!res) -<a name="l00811"></a>00811 { -<a name="l00812"></a>00812 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; -<a name="l00813"></a>00813 <span class="keywordflow">return</span> 0; +<a name="l00750"></a>00750 +<a name="l00751"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00751</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00752"></a>00752 { +<a name="l00753"></a>00753 Config-><a class="code" href="classServerConfig.html#ClearStack_28_29">ClearStack</a>(); +<a name="l00754"></a>00754 this-><a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00755"></a>00755 this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out); +<a name="l00756"></a>00756 this-><a class="code" href="classConfigReader.html#readerror">readerror</a> = Config-><a class="code" href="classServerConfig.html#LoadConf_28const_20char_20_2Afilename_2C_20std_3A_3Astringstream_20_2Atarget_2C_20std_3A_3Astringstream_20_2Aerrorstream_29">LoadConf</a>(filename.c_str(),this-><a class="code" href="classConfigReader.html#cache">cache</a>,this-><a class="code" href="classConfigReader.html#errorlog">errorlog</a>); +<a name="l00757"></a>00757 <span class="keywordflow">if</span> (!this->readerror) +<a name="l00758"></a>00758 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>; +<a name="l00759"></a>00759 }; +<a name="l00760"></a>00760 +<a name="l00761"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00761</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) +<a name="l00762"></a>00762 { +<a name="l00763"></a>00763 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00764"></a>00764 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00765"></a>00765 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00766"></a>00766 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00767"></a>00767 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00768"></a>00768 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00769"></a>00769 <span class="keywordflow">if</span> (!res) +<a name="l00770"></a>00770 { +<a name="l00771"></a>00771 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00772"></a>00772 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00773"></a>00773 } +<a name="l00774"></a>00774 <span class="keywordflow">return</span> val; +<a name="l00775"></a>00775 } +<a name="l00776"></a>00776 +<a name="l00777"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00777</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index) +<a name="l00778"></a>00778 { +<a name="l00779"></a>00779 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00780"></a>00780 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00781"></a>00781 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00782"></a>00782 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00783"></a>00783 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00784"></a>00784 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00785"></a>00785 <span class="keywordflow">if</span> (!res) +<a name="l00786"></a>00786 { +<a name="l00787"></a>00787 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00788"></a>00788 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00789"></a>00789 } +<a name="l00790"></a>00790 <a class="code" href="namespaceirc.html#string">std::string</a> s = val; +<a name="l00791"></a>00791 <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>)); +<a name="l00792"></a>00792 } +<a name="l00793"></a>00793 +<a name="l00794"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00794</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned) +<a name="l00795"></a>00795 { +<a name="l00796"></a>00796 <span class="keywordtype">char</span> val[MAXBUF]; +<a name="l00797"></a>00797 <span class="keywordtype">char</span> t[MAXBUF]; +<a name="l00798"></a>00798 <span class="keywordtype">char</span> n[MAXBUF]; +<a name="l00799"></a>00799 strlcpy(t,tag.c_str(),MAXBUF); +<a name="l00800"></a>00800 strlcpy(n,name.c_str(),MAXBUF); +<a name="l00801"></a>00801 <span class="keywordtype">int</span> res = Config-><a class="code" href="classServerConfig.html#ReadConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_2C_20const_20char_20_2Avar_2C_20int_20index_2C_20char_20_2Aresult_29">ReadConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val); +<a name="l00802"></a>00802 <span class="keywordflow">if</span> (!res) +<a name="l00803"></a>00803 { +<a name="l00804"></a>00804 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>; +<a name="l00805"></a>00805 <span class="keywordflow">return</span> 0; +<a name="l00806"></a>00806 } +<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00808"></a>00808 { +<a name="l00809"></a>00809 <span class="keywordflow">if</span> (!isdigit(val[i])) +<a name="l00810"></a>00810 { +<a name="l00811"></a>00811 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; +<a name="l00812"></a>00812 <span class="keywordflow">return</span> 0; +<a name="l00813"></a>00813 } <a name="l00814"></a>00814 } -<a name="l00815"></a>00815 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < strlen(val); i++) +<a name="l00815"></a>00815 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) <a name="l00816"></a>00816 { -<a name="l00817"></a>00817 <span class="keywordflow">if</span> (!isdigit(val[i])) -<a name="l00818"></a>00818 { -<a name="l00819"></a>00819 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>; -<a name="l00820"></a>00820 <span class="keywordflow">return</span> 0; -<a name="l00821"></a>00821 } -<a name="l00822"></a>00822 } -<a name="l00823"></a>00823 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0)) -<a name="l00824"></a>00824 { -<a name="l00825"></a>00825 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; -<a name="l00826"></a>00826 <span class="keywordflow">return</span> 0; -<a name="l00827"></a>00827 } -<a name="l00828"></a>00828 <span class="keywordflow">return</span> atoi(val); -<a name="l00829"></a>00829 } -<a name="l00830"></a>00830 -<a name="l00831"></a><a class="code" href="classConfigReader.html#GetError_28_29">00831</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>() -<a name="l00832"></a>00832 { -<a name="l00833"></a>00833 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; -<a name="l00834"></a>00834 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; -<a name="l00835"></a>00835 <span class="keywordflow">return</span> olderr; -<a name="l00836"></a>00836 } -<a name="l00837"></a>00837 -<a name="l00838"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00838</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) -<a name="l00839"></a>00839 { -<a name="l00840"></a>00840 <span class="keywordflow">if</span> (bail) -<a name="l00841"></a>00841 { -<a name="l00842"></a>00842 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); -<a name="l00843"></a>00843 exit(0); -<a name="l00844"></a>00844 } -<a name="l00845"></a>00845 <span class="keywordflow">else</span> -<a name="l00846"></a>00846 { -<a name="l00847"></a>00847 <span class="keywordtype">char</span> dataline[1024]; -<a name="l00848"></a>00848 <span class="keywordflow">if</span> (user) -<a name="l00849"></a>00849 { -<a name="l00850"></a>00850 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00851"></a>00851 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00852"></a>00852 { -<a name="l00853"></a>00853 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00854"></a>00854 WriteServ(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); -<a name="l00855"></a>00855 } -<a name="l00856"></a>00856 } -<a name="l00857"></a>00857 <span class="keywordflow">else</span> -<a name="l00858"></a>00858 { -<a name="l00859"></a>00859 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); -<a name="l00860"></a>00860 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) -<a name="l00861"></a>00861 { -<a name="l00862"></a>00862 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); -<a name="l00863"></a>00863 WriteOpers(dataline); -<a name="l00864"></a>00864 } -<a name="l00865"></a>00865 } -<a name="l00866"></a>00866 <span class="keywordflow">return</span>; -<a name="l00867"></a>00867 } -<a name="l00868"></a>00868 } -<a name="l00869"></a>00869 -<a name="l00870"></a>00870 -<a name="l00871"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00871</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag) -<a name="l00872"></a>00872 { -<a name="l00873"></a>00873 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); -<a name="l00874"></a>00874 } -<a name="l00875"></a>00875 -<a name="l00876"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00876</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index) -<a name="l00877"></a>00877 { -<a name="l00878"></a>00878 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); -<a name="l00879"></a>00879 } -<a name="l00880"></a>00880 -<a name="l00881"></a><a class="code" href="classConfigReader.html#Verify_28_29">00881</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>() -<a name="l00882"></a>00882 { -<a name="l00883"></a>00883 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00817"></a>00817 this-><a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>; +<a name="l00818"></a>00818 <span class="keywordflow">return</span> 0; +<a name="l00819"></a>00819 } +<a name="l00820"></a>00820 <span class="keywordflow">return</span> atoi(val); +<a name="l00821"></a>00821 } +<a name="l00822"></a>00822 +<a name="l00823"></a><a class="code" href="classConfigReader.html#GetError_28_29">00823</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>() +<a name="l00824"></a>00824 { +<a name="l00825"></a>00825 <span class="keywordtype">long</span> olderr = this-><a class="code" href="classConfigReader.html#error">error</a>; +<a name="l00826"></a>00826 this-><a class="code" href="classConfigReader.html#error">error</a> = 0; +<a name="l00827"></a>00827 <span class="keywordflow">return</span> olderr; +<a name="l00828"></a>00828 } +<a name="l00829"></a>00829 +<a name="l00830"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00830</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user) +<a name="l00831"></a>00831 { +<a name="l00832"></a>00832 <span class="keywordflow">if</span> (bail) +<a name="l00833"></a>00833 { +<a name="l00834"></a>00834 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->str().c_str()); +<a name="l00835"></a>00835 exit(0); +<a name="l00836"></a>00836 } +<a name="l00837"></a>00837 <span class="keywordflow">else</span> +<a name="l00838"></a>00838 { +<a name="l00839"></a>00839 <span class="keywordtype">char</span> dataline[1024]; +<a name="l00840"></a>00840 <span class="keywordflow">if</span> (user) +<a name="l00841"></a>00841 { +<a name="l00842"></a>00842 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00843"></a>00843 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00844"></a>00844 { +<a name="l00845"></a>00845 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00846"></a>00846 <a class="code" href="globals_8h.html#WriteServ_28int_20sock_2C_20char_20_2Atext_2C_2E_2E_2E_29">WriteServ</a>(user-><a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline); +<a name="l00847"></a>00847 } +<a name="l00848"></a>00848 } +<a name="l00849"></a>00849 <span class="keywordflow">else</span> +<a name="l00850"></a>00850 { +<a name="l00851"></a>00851 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>); +<a name="l00852"></a>00852 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>->eof()) +<a name="l00853"></a>00853 { +<a name="l00854"></a>00854 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>->getline(dataline,1024); +<a name="l00855"></a>00855 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(dataline); +<a name="l00856"></a>00856 } +<a name="l00857"></a>00857 } +<a name="l00858"></a>00858 <span class="keywordflow">return</span>; +<a name="l00859"></a>00859 } +<a name="l00860"></a>00860 } +<a name="l00861"></a>00861 +<a name="l00862"></a>00862 +<a name="l00863"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00863</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag) +<a name="l00864"></a>00864 { +<a name="l00865"></a>00865 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#EnumConf_28std_3A_3Astringstream_20_2Aconfig_5Ff_2C_20const_20char_20_2Atag_29">EnumConf</a>(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str()); +<a name="l00866"></a>00866 } +<a name="l00867"></a>00867 +<a name="l00868"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00868</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index) +<a name="l00869"></a>00869 { +<a name="l00870"></a>00870 <span class="keywordflow">return</span> Config-><a class="code" href="classServerConfig.html#EnumValues_28std_3A_3Astringstream_20_2Aconfig_2C_20const_20char_20_2Atag_2C_20int_20index_29">EnumValues</a>(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index); +<a name="l00871"></a>00871 } +<a name="l00872"></a>00872 +<a name="l00873"></a><a class="code" href="classConfigReader.html#Verify_28_29">00873</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>() +<a name="l00874"></a>00874 { +<a name="l00875"></a>00875 <span class="keywordflow">return</span> this-><a class="code" href="classConfigReader.html#readerror">readerror</a>; +<a name="l00876"></a>00876 } +<a name="l00877"></a>00877 +<a name="l00878"></a>00878 +<a name="l00879"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00879</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00880"></a>00880 { +<a name="l00881"></a>00881 <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00882"></a>00882 <a class="code" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a>(c,filename.c_str()); +<a name="l00883"></a>00883 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; <a name="l00884"></a>00884 } <a name="l00885"></a>00885 -<a name="l00886"></a>00886 -<a name="l00887"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00887</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) -<a name="l00888"></a>00888 { -<a name="l00889"></a>00889 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00890"></a>00890 readfile(c,filename.c_str()); -<a name="l00891"></a>00891 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00892"></a>00892 } -<a name="l00893"></a>00893 -<a name="l00894"></a><a class="code" href="classFileReader.html#FileReader_28_29">00894</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>() -<a name="l00895"></a>00895 { -<a name="l00896"></a>00896 } +<a name="l00886"></a><a class="code" href="classFileReader.html#FileReader_28_29">00886</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>() +<a name="l00887"></a>00887 { +<a name="l00888"></a>00888 } +<a name="l00889"></a>00889 +<a name="l00890"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00890</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00891"></a>00891 { +<a name="l00892"></a>00892 <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00893"></a>00893 <a class="code" href="globals_8h.html#readfile_28file_5Fcache_20_26F_2C_20const_20char_20_2Afname_29">readfile</a>(c,filename.c_str()); +<a name="l00894"></a>00894 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00895"></a>00895 } +<a name="l00896"></a>00896 <a name="l00897"></a>00897 -<a name="l00898"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00898</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename) +<a name="l00898"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">00898</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>() <a name="l00899"></a>00899 { -<a name="l00900"></a>00900 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00901"></a>00901 readfile(c,filename.c_str()); -<a name="l00902"></a>00902 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00903"></a>00903 } -<a name="l00904"></a>00904 -<a name="l00905"></a>00905 -<a name="l00906"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">00906</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>() -<a name="l00907"></a>00907 { -<a name="l00908"></a>00908 } -<a name="l00909"></a>00909 -<a name="l00910"></a><a class="code" href="classFileReader.html#Exists_28_29">00910</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>() -<a name="l00911"></a>00911 { -<a name="l00912"></a>00912 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) -<a name="l00913"></a>00913 { -<a name="l00914"></a>00914 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -<a name="l00915"></a>00915 } -<a name="l00916"></a>00916 <span class="keywordflow">else</span> -<a name="l00917"></a>00917 { -<a name="l00918"></a>00918 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -<a name="l00919"></a>00919 } -<a name="l00920"></a>00920 } -<a name="l00921"></a>00921 -<a name="l00922"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">00922</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) -<a name="l00923"></a>00923 { -<a name="l00924"></a>00924 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) -<a name="l00925"></a>00925 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l00926"></a>00926 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; -<a name="l00927"></a>00927 } -<a name="l00928"></a>00928 -<a name="l00929"></a><a class="code" href="classFileReader.html#FileSize_28_29">00929</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>() -<a name="l00930"></a>00930 { -<a name="l00931"></a>00931 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); -<a name="l00932"></a>00932 } -<a name="l00933"></a>00933 -<a name="l00934"></a>00934 -<a name="l00935"></a>00935 std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>(255); -<a name="l00936"></a>00936 std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>(255); -<a name="l00937"></a>00937 -<a name="l00938"></a><a class="code" href="modules_8cpp.html#MODCOUNT">00938</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1; -<a name="l00939"></a>00939 -<a name="l00940"></a>00940 -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +<a name="l00900"></a>00900 } +<a name="l00901"></a>00901 +<a name="l00902"></a><a class="code" href="classFileReader.html#Exists_28_29">00902</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>() +<a name="l00903"></a>00903 { +<a name="l00904"></a>00904 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) +<a name="l00905"></a>00905 { +<a name="l00906"></a>00906 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +<a name="l00907"></a>00907 } +<a name="l00908"></a>00908 <span class="keywordflow">else</span> +<a name="l00909"></a>00909 { +<a name="l00910"></a>00910 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +<a name="l00911"></a>00911 } +<a name="l00912"></a>00912 } +<a name="l00913"></a>00913 +<a name="l00914"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">00914</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x) +<a name="l00915"></a>00915 { +<a name="l00916"></a>00916 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) +<a name="l00917"></a>00917 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00918"></a>00918 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; +<a name="l00919"></a>00919 } +<a name="l00920"></a>00920 +<a name="l00921"></a><a class="code" href="classFileReader.html#FileSize_28_29">00921</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>() +<a name="l00922"></a>00922 { +<a name="l00923"></a>00923 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); +<a name="l00924"></a>00924 } +<a name="l00925"></a>00925 +<a name="l00926"></a>00926 +<a name="l00927"></a>00927 std::vector<Module*> <a class="code" href="channels_8cpp.html#modules">modules</a>(255); +<a name="l00928"></a>00928 std::vector<ircd_module*> <a class="code" href="channels_8cpp.html#factory">factory</a>(255); +<a name="l00929"></a>00929 +<a name="l00930"></a><a class="code" href="modules_8cpp.html#MODCOUNT">00930</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1; +<a name="l00931"></a>00931 +<a name="l00932"></a>00932 +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index d6774b4b9..9a3fee018 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -8,7 +8,7 @@ <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> <h1>modules.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include "<a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>"</code><br> <code>#include "inspircd_util.h"</code><br> <code>#include <unistd.h></code><br> @@ -22,7 +22,7 @@ <code>#include <deque></code><br> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> -<code>#include "globals.h"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> <code>#include "<a class="el" href="modules_8h-source.html">modules.h</a>"</code><br> <code>#include "dynamic.h"</code><br> <code>#include "wildcard.h"</code><br> @@ -40,18 +40,20 @@ <p> Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt=""></center> <map name="modules.cpp_map"> -<area href="inspircd__io_8h-source.html" shape="rect" coords="313,311,409,338" alt=""> -<area href="users_8h-source.html" shape="rect" coords="476,1274,540,1300" alt=""> -<area href="ctables_8h-source.html" shape="rect" coords="471,716,545,743" alt=""> -<area href="modules_8h-source.html" shape="rect" coords="320,691,403,718" alt=""> -<area href="socket_8h-source.html" shape="rect" coords="472,615,544,642" alt=""> -<area href="message_8h-source.html" shape="rect" coords="319,1172,404,1199" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="328,919,395,946" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="331,1071,392,1098" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="312,970,411,996" alt=""> -<area href="hashcomp_8h-source.html" shape="rect" coords="315,1527,408,1554" alt=""> -<area href="socketengine_8h-source.html" shape="rect" coords="305,362,417,388" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="163,1223,248,1250" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="610,799,690,826" alt=""> +<area href="inspircd__io_8h-source.html" shape="rect" coords="742,716,838,743" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="902,970,976,996" alt=""> +<area href="users_8h-source.html" shape="rect" coords="1039,716,1103,743" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="754,970,826,996" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="468,1426,543,1452" alt=""> +<area href="modules_8h-source.html" shape="rect" coords="312,1223,395,1250" alt=""> +<area href="message_8h-source.html" shape="rect" coords="896,716,982,743" alt=""> +<area href="mode_8h-source.html" shape="rect" coords="906,412,972,439" alt=""> +<area href="xline_8h-source.html" shape="rect" coords="908,362,970,388" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="890,311,988,338" alt=""> +<area href="hashcomp_8h-source.html" shape="rect" coords="307,1679,400,1706" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="450,970,562,996" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="163,1274,248,1300" alt=""> </map> <p> @@ -81,6 +83,8 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classServerConfig.html">ServerConfig</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#Config">Config</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classInspIRCd.html">InspIRCd</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#ServerInstance">ServerInstance</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#MODCOUNT">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#modules">modules</a></td></tr> @@ -91,30 +95,14 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#TIME">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#WHOWAS_5FSTALE">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#WHOWAS_5FMAX">WHOWAS_MAX</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#startup_5Ftime">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#boundPortCount">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#portCount">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#ports_5BMAXSOCKS_5D">ports</a> [MAXSOCKS]</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#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a> [65536]</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#user_5Fhash">user_hash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#clientlist">clientlist</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#chan_5Fhash">chan_hash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#chanlist">chanlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#whowas_5Fhash">whowas_hash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#whowas">whowas</a></td></tr> - <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#command_5Ftable">command_table</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#cmdlist">cmdlist</a></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#address_5Fcache">address_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#IP">IP</a></td></tr> - <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="typedefs_8h.html#ExtModeList">ExtModeList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8cpp.html#EMode">EMode</a></td></tr> </table> @@ -173,17 +161,17 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl <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>. +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> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00079">ModeDefined()</a>. +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00071">ModeDefined()</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00559">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00143"></a>00143 { -<a name="l00144"></a>00144 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { -<a name="l00145"></a>00145 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00146"></a>00146 } -<a name="l00147"></a>00147 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); -<a name="l00148"></a>00148 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00149"></a>00149 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00551">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00135"></a>00135 { +<a name="l00136"></a>00136 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) { +<a name="l00137"></a>00137 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00138"></a>00138 } +<a name="l00139"></a>00139 <a class="code" href="modules_8cpp.html#EMode">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off)); +<a name="l00140"></a>00140 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00141"></a>00141 } </pre></div> <p> </td> @@ -253,20 +241,20 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::AddEx <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>. +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>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>. +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00080"></a>00080 { -<a name="l00081"></a>00081 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00082"></a>00082 { -<a name="l00083"></a>00083 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00084"></a>00084 { -<a name="l00085"></a>00085 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00086"></a>00086 } -<a name="l00087"></a>00087 } -<a name="l00088"></a>00088 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00089"></a>00089 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00134">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00072"></a>00072 { +<a name="l00073"></a>00073 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00074"></a>00074 { +<a name="l00075"></a>00075 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00078"></a>00078 } +<a name="l00079"></a>00079 } +<a name="l00080"></a>00080 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00081"></a>00081 } </pre></div> <p> </td> @@ -308,18 +296,18 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtended <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>. +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>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00130"></a>00130 { -<a name="l00131"></a>00131 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00132"></a>00132 { -<a name="l00133"></a>00133 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00134"></a>00134 { -<a name="l00135"></a>00135 <span class="keywordflow">return</span> i->params_when_off; -<a name="l00136"></a>00136 } -<a name="l00137"></a>00137 } -<a name="l00138"></a>00138 <span class="keywordflow">return</span> 0; -<a name="l00139"></a>00139 } +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00122"></a>00122 { +<a name="l00123"></a>00123 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00124"></a>00124 { +<a name="l00125"></a>00125 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 <span class="keywordflow">return</span> i->params_when_off; +<a name="l00128"></a>00128 } +<a name="l00129"></a>00129 } +<a name="l00130"></a>00130 <span class="keywordflow">return</span> 0; +<a name="l00131"></a>00131 } </pre></div> <p> </td> @@ -361,18 +349,18 @@ References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div c <p> <p> -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>. +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>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00117"></a>00117 { -<a name="l00118"></a>00118 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00119"></a>00119 { -<a name="l00120"></a>00120 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) -<a name="l00121"></a>00121 { -<a name="l00122"></a>00122 <span class="keywordflow">return</span> i->params_when_on; -<a name="l00123"></a>00123 } -<a name="l00124"></a>00124 } -<a name="l00125"></a>00125 <span class="keywordflow">return</span> 0; -<a name="l00126"></a>00126 } +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00109"></a>00109 { +<a name="l00110"></a>00110 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00111"></a>00111 { +<a name="l00112"></a>00112 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00113"></a>00113 { +<a name="l00114"></a>00114 <span class="keywordflow">return</span> i->params_when_on; +<a name="l00115"></a>00115 } +<a name="l00116"></a>00116 } +<a name="l00117"></a>00117 <span class="keywordflow">return</span> 0; +<a name="l00118"></a>00118 } </pre></div> <p> </td> @@ -414,18 +402,18 @@ References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div c <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>. +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>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 { -<a name="l00105"></a>00105 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00106"></a>00106 { -<a name="l00107"></a>00107 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) -<a name="l00108"></a>00108 { -<a name="l00109"></a>00109 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00110"></a>00110 } -<a name="l00111"></a>00111 } -<a name="l00112"></a>00112 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00113"></a>00113 } +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00096"></a>00096 { +<a name="l00097"></a>00097 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00098"></a>00098 { +<a name="l00099"></a>00099 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +<a name="l00100"></a>00100 { +<a name="l00101"></a>00101 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00102"></a>00102 } +<a name="l00103"></a>00103 } +<a name="l00104"></a>00104 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00105"></a>00105 } </pre></div> <p> </td> @@ -467,18 +455,18 @@ References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div c <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>. +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>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00092"></a>00092 { -<a name="l00093"></a>00093 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00094"></a>00094 { -<a name="l00095"></a>00095 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) -<a name="l00096"></a>00096 { -<a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">true</span>; -<a name="l00098"></a>00098 } -<a name="l00099"></a>00099 } -<a name="l00100"></a>00100 <span class="keywordflow">return</span> <span class="keyword">false</span>; -<a name="l00101"></a>00101 } +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00084"></a>00084 { +<a name="l00085"></a>00085 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00086"></a>00086 { +<a name="l00087"></a>00087 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +<a name="l00088"></a>00088 { +<a name="l00089"></a>00089 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00090"></a>00090 } +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00093"></a>00093 } </pre></div> <p> </td> @@ -511,21 +499,21 @@ References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>.<div c <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00152">152</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#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8cpp-source.html#l00076">EMode</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>. +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</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#l00587">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00153"></a>00153 { -<a name="l00154"></a>00154 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) -<a name="l00155"></a>00155 { -<a name="l00156"></a>00156 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) -<a name="l00157"></a>00157 { -<a name="l00158"></a>00158 i->list = <span class="keyword">true</span>; -<a name="l00159"></a>00159 <span class="keywordflow">return</span>; -<a name="l00160"></a>00160 } -<a name="l00161"></a>00161 } -<a name="l00162"></a>00162 <span class="keywordflow">return</span>; -<a name="l00163"></a>00163 } +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00145"></a>00145 { +<a name="l00146"></a>00146 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00147"></a>00147 { +<a name="l00148"></a>00148 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) +<a name="l00149"></a>00149 { +<a name="l00150"></a>00150 i->list = <span class="keyword">true</span>; +<a name="l00151"></a>00151 <span class="keywordflow">return</span>; +<a name="l00152"></a>00152 } +<a name="l00153"></a>00153 } +<a name="l00154"></a>00154 <span class="keywordflow">return</span>; +<a name="l00155"></a>00155 } </pre></div> <p> </td> @@ -560,29 +548,6 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::AddEx </tr> </table> <hr><h2>Variable Documentation</h2> -<a class="anchor" name="boundPortCount"></a><!-- doxytag: member="modules.cpp::boundPortCount" ref="boundPortCount" args="" --><p> -<table class="mdTable" 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="socket_8cpp.html#boundPortCount">boundPortCount</a> </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> <a class="anchor" name="chanlist"></a><!-- doxytag: member="modules.cpp::chanlist" ref="chanlist" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -697,9 +662,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00587">Server::AddEx <p> <p> -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>. +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>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00079">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00129">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00116">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00103">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00091">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00152">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00134">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00071">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00121">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00108">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00095">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00083">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00144">ModeMakeList()</a>. </td> </tr> </table> <a class="anchor" name="factory"></a><!-- doxytag: member="modules.cpp::factory" ref="factory" args="" --><p> @@ -748,29 +713,6 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtended </td> </tr> </table> -<a class="anchor" name="IP"></a><!-- doxytag: member="modules.cpp::IP" ref="IP" args="" --><p> -<table class="mdTable" 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="typedefs_8h.html#address_5Fcache">address_cache</a> <a class="el" href="modules_8cpp.html#IP">IP</a> </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> <a class="anchor" name="MODCOUNT"></a><!-- doxytag: member="modules.cpp::MODCOUNT" ref="MODCOUNT" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -793,7 +735,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00142">DoAddExtended <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00938">938</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#l00930">930</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td> </tr> </table> <a class="anchor" name="module_5Fsockets"></a><!-- doxytag: member="modules.cpp::module_sockets" ref="module_5Fsockets" args="" --><p> @@ -818,7 +760,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00938">938</a> <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00321">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00337">Server::DelSocket()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00313">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00329">Server::DelSocket()</a>. </td> </tr> </table> <a class="anchor" name="modules"></a><!-- doxytag: member="modules.cpp::modules" ref="modules" args="" --><p> @@ -844,52 +786,6 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00321">Server::AddSo </td> </tr> </table> -<a class="anchor" name="portCount"></a><!-- doxytag: member="modules.cpp::portCount" ref="portCount" args="" --><p> -<table class="mdTable" 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#portCount">portCount</a> </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> -<a class="anchor" name="ports_5BMAXSOCKS_5D"></a><!-- doxytag: member="modules.cpp::ports" ref="ports_5BMAXSOCKS_5D" args="[MAXSOCKS]" --><p> -<table class="mdTable" 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#ports_5BMAXSOCKS_5D">ports</a>[MAXSOCKS] </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> <a class="anchor" name="SE"></a><!-- doxytag: member="modules.cpp::SE" ref="SE" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -913,13 +809,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00321">Server::AddSo </td> </tr> </table> -<a class="anchor" name="startup_5Ftime"></a><!-- doxytag: member="modules.cpp::startup_time" ref="startup_5Ftime" args="" --><p> +<a class="anchor" name="ServerInstance"></a><!-- doxytag: member="modules.cpp::ServerInstance" ref="ServerInstance" args="" --><p> <table class="mdTable" 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#startup_5Ftime">startup_time</a> </td> + <td class="md" nowrap valign="top"><a class="el" href="classInspIRCd.html">InspIRCd</a>* <a class="el" href="modules_8cpp.html#ServerInstance">ServerInstance</a> </td> </tr> </table> </td> @@ -959,76 +855,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00321">Server::AddSo </td> </tr> </table> -<a class="anchor" name="whowas"></a><!-- doxytag: member="modules.cpp::whowas" ref="whowas" args="" --><p> -<table class="mdTable" 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="typedefs_8h.html#whowas_5Fhash">whowas_hash</a> <a class="el" href="modules_8cpp.html#whowas">whowas</a> </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> -<a class="anchor" name="WHOWAS_5FMAX"></a><!-- doxytag: member="modules.cpp::WHOWAS_MAX" ref="WHOWAS_5FMAX" args="" --><p> -<table class="mdTable" 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#WHOWAS_5FMAX">WHOWAS_MAX</a> </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing="5" cellpadding="0" border="0"> - <tr> - <td> - - </td> - <td> - -<p> - </td> - </tr> -</table> -<a class="anchor" name="WHOWAS_5FSTALE"></a><!-- doxytag: member="modules.cpp::WHOWAS_STALE" ref="WHOWAS_5FSTALE" args="" --><p> -<table class="mdTable" 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#WHOWAS_5FSTALE">WHOWAS_STALE</a> </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 Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif Binary files differindex aec40cf17..e80534192 100644 --- a/docs/module-doc/modules_8cpp__incl.gif +++ b/docs/module-doc/modules_8cpp__incl.gif diff --git a/docs/module-doc/modules_8cpp__incl.map b/docs/module-doc/modules_8cpp__incl.map index 997736c8c..056ed18df 100644 --- a/docs/module-doc/modules_8cpp__incl.map +++ b/docs/module-doc/modules_8cpp__incl.map @@ -1,13 +1,15 @@ base referer -rect $inspircd__io_8h-source.html 313,311 409,338 -rect $users_8h-source.html 476,1274 540,1300 -rect $ctables_8h-source.html 471,716 545,743 -rect $modules_8h-source.html 320,691 403,718 -rect $socket_8h-source.html 472,615 544,642 -rect $message_8h-source.html 319,1172 404,1199 -rect $mode_8h-source.html 328,919 395,946 -rect $xline_8h-source.html 331,1071 392,1098 -rect $commands_8h-source.html 312,970 411,996 -rect $hashcomp_8h-source.html 315,1527 408,1554 -rect $socketengine_8h-source.html 305,362 417,388 -rect $typedefs_8h-source.html 163,1223 248,1250 +rect $inspircd_8h-source.html 610,799 690,826 +rect $inspircd__io_8h-source.html 742,716 838,743 +rect $globals_8h-source.html 902,970 976,996 +rect $users_8h-source.html 1039,716 1103,743 +rect $socket_8h-source.html 754,970 826,996 +rect $ctables_8h-source.html 468,1426 543,1452 +rect $modules_8h-source.html 312,1223 395,1250 +rect $message_8h-source.html 896,716 982,743 +rect $mode_8h-source.html 906,412 972,439 +rect $xline_8h-source.html 908,362 970,388 +rect $commands_8h-source.html 890,311 988,338 +rect $hashcomp_8h-source.html 307,1679 400,1706 +rect $socketengine_8h-source.html 450,970 562,996 +rect $typedefs_8h-source.html 163,1274 248,1300 diff --git a/docs/module-doc/modules_8cpp__incl.md5 b/docs/module-doc/modules_8cpp__incl.md5 index 7242058c8..10e2c307c 100644 --- a/docs/module-doc/modules_8cpp__incl.md5 +++ b/docs/module-doc/modules_8cpp__incl.md5 @@ -1 +1 @@ -3ca915eed2bfd73681bb564430d33061
\ No newline at end of file +2384cd0922e32b841176cc7e795d3e18
\ No newline at end of file diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index e1258b2ec..006dfe5b9 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -65,8 +65,8 @@ <a name="l00064"></a>00064 <a name="l00065"></a><a class="code" href="modules_8h.html#file_5Fcache">00065</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>; <a name="l00066"></a>00066 -<a name="l00069"></a>00069 <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a>; -<a name="l00070"></a><a class="code" href="modules_8h.html#string_5Flist">00070</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a>; +<a name="l00069"></a>00069 <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a>; +<a name="l00070"></a><a class="code" href="modules_8h.html#string_5Flist">00070</a> <span class="keyword">typedef</span> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a>; <a name="l00071"></a>00071 <a name="l00074"></a><a class="code" href="modules_8h.html#chanuserlist">00074</a> <span class="keyword">typedef</span> std::deque<userrec*> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a>; <a name="l00075"></a>00075 @@ -97,7 +97,7 @@ <a name="l00100"></a>00100 <a name="l00101"></a><a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">00101</a> <span class="preprocessor">#define FD_MAGIC_NUMBER -42</span> <a name="l00102"></a>00102 <span class="preprocessor"></span> -<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</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); +<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(<span class="keywordtype">char</span>* cmd, <a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source); <a name="l00104"></a>00104 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); <a name="l00105"></a>00105 <a name="l00106"></a>00106 <span class="comment">// class Version holds the version information of a Module, returned</span> @@ -394,7 +394,7 @@ <a name="l01244"></a>01244 <a name="l01266"></a>01266 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar); <a name="l01267"></a>01267 -<a name="l01285"></a>01285 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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); +<a name="l01285"></a>01285 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">AddCommand</a>(<span class="keywordtype">char</span>* cmd, <a class="code" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source); <a name="l01286"></a>01286 <a name="l01308"></a>01308 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user); <a name="l01309"></a>01309 @@ -493,7 +493,7 @@ <a name="l01612"></a>01612 <a name="l01618"></a><a class="code" href="classFileReader.html">01618</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> <a name="l01619"></a>01619 { -<a name="l01620"></a><a class="code" href="classFileReader.html#fc">01620</a> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classFileReader.html#fc">fc</a>; +<a name="l01620"></a><a class="code" href="classFileReader.html#fc">01620</a> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classFileReader.html#fc">fc</a>; <a name="l01621"></a>01621 <span class="keyword">public</span>: <a name="l01626"></a>01626 <a class="code" href="classFileReader.html#FileReader_28_29">FileReader</a>(); <a name="l01627"></a>01627 @@ -522,8 +522,15 @@ <a name="l01685"></a>01685 <a name="l01686"></a><a class="code" href="modules_8h.html#ircd_5Fmodule">01686</a> <span class="keyword">typedef</span> DLLFactory<ModuleFactory> <a class="code" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>; <a name="l01687"></a>01687 -<a name="l01688"></a>01688 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +<a name="l01688"></a>01688 <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(<span class="keywordtype">char</span> c, <span class="keywordtype">int</span> i); +<a name="l01689"></a>01689 <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeDefinedOper_28char_20modechar_2C_20int_20type_29">ModeDefinedOper</a>(<span class="keywordtype">char</span> c, <span class="keywordtype">int</span> i); +<a name="l01690"></a>01690 <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOn_28char_20modechar_2C_20int_20type_29">ModeDefinedOn</a>(<span class="keywordtype">char</span> c, <span class="keywordtype">int</span> i); +<a name="l01691"></a>01691 <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#ModeDefinedOff_28char_20modechar_2C_20int_20type_29">ModeDefinedOff</a>(<span class="keywordtype">char</span> c, <span class="keywordtype">int</span> i); +<a name="l01692"></a>01692 <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(<span class="keywordtype">char</span> modechar); +<a name="l01693"></a>01693 <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type); +<a name="l01694"></a>01694 +<a name="l01695"></a>01695 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 82ac53cf0..4fd576a85 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -18,17 +18,18 @@ <p> Include dependency graph for modules.h:<p><center><img src="modules_8h__incl.gif" border="0" usemap="#modules.h_map" alt=""></center> <map name="modules.h_map"> -<area href="base_8h-source.html" shape="rect" coords="291,108,352,135" alt=""> -<area href="ctables_8h-source.html" shape="rect" coords="146,159,220,186" alt=""> -<area href="socket_8h-source.html" shape="rect" coords="147,336,219,363" alt=""> +<area href="base_8h-source.html" shape="rect" coords="283,108,344,135" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="145,209,220,236" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="427,361,499,388" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="273,209,353,236" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="modules_8h__dep__incl.gif" border="0" usemap="#modules.hdep_map" alt=""></center> <map name="modules.hdep_map"> -<area href="channels_8cpp-source.html" shape="rect" coords="142,7,240,33" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="290,83,388,109" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="148,108,234,135" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="275,32,373,59" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="275,95,373,121" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="140,57,225,84" alt=""> </map> <p> @@ -55,7 +56,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds an extended mode's details. <a href="classExtMode.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html">Module</a></td></tr> -<tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for all InspIRCd modules This class is the base class for InspIRCd modules. <a href="classModule.html#_details">More...</a><br></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for all <a class="el" href="classInspIRCd.html">InspIRCd</a> modules This class is the base class for <a class="el" href="classInspIRCd.html">InspIRCd</a> modules. <a href="classModule.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classServer.html">Server</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">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="classServer.html#_details">More...</a><br></td></tr> @@ -139,7 +140,7 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#file_5Fcache">file_cache</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Low level definition of a <a class="el" href="classFileReader.html">FileReader</a> classes file cache area. <a href="#file_5Fcache"></a><br></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#string_5Flist">string_list</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#string_5Flist">string_list</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="classuserrec.html">userrec</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#chanuserlist">chanuserlist</a></td></tr> @@ -147,10 +148,22 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef DLLFactory< <a class="el" href="classModuleFactory.html">ModuleFactory</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ircd_5Fmodule">ircd_module</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a> (char *cmd, <a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> f, char flags, int minparams, char *source)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</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">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefined_28char_20c_2C_20int_20i_29">ModeDefined</a> (char c, int i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOper_28char_20c_2C_20int_20i_29">ModeDefinedOper</a> (char c, int i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOn_28char_20c_2C_20int_20i_29">ModeDefinedOn</a> (char c, int i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeDefinedOff_28char_20c_2C_20int_20i_29">ModeDefinedOff</a> (char c, int i)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a> (char modechar)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ModeIsListMode_28char_20modechar_2C_20int_20type_29">ModeIsListMode</a> (char modechar, int type)</td></tr> + </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="AC_5FDEHALFOP"></a><!-- doxytag: member="modules.h::AC_DEHALFOP" ref="AC_5FDEHALFOP" args="" --><p> @@ -325,7 +338,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00047">47</a> of <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00040">40</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#l00040">40</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="AC_5FOP"></a><!-- doxytag: member="modules.h::AC_OP" ref="AC_5FOP" args="" --><p> @@ -429,7 +444,7 @@ Used with OnAccessCheck() method of modules. <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#l00249">Module::OnAccessCheck()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00241">Module::OnAccessCheck()</a>. </td> </tr> </table> <a class="anchor" name="ACR_5FDENY"></a><!-- doxytag: member="modules.h::ACR_DENY" ref="ACR_5FDENY" args="" --><p> @@ -454,7 +469,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00249">Module::OnAcc <p> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00038">38</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#l00038">38</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FFILE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_FILE_NOT_FOUND" ref="CONF_5FFILE_5FNOT_5FFOUND" args="" --><p> @@ -481,7 +498,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l01520">1520</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#l00739">ConfigReader::ConfigReader()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00731">ConfigReader::ConfigReader()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FNOT_5FA_5FNUMBER"></a><!-- doxytag: member="modules.h::CONF_NOT_A_NUMBER" ref="CONF_5FNOT_5FA_5FNUMBER" args="" --><p> @@ -508,7 +525,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00739">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01517">1517</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#l00802">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00794">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FNOT_5FUNSIGNED"></a><!-- doxytag: member="modules.h::CONF_NOT_UNSIGNED" ref="CONF_5FNOT_5FUNSIGNED" args="" --><p> @@ -535,7 +552,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00802">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01518">1518</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#l00802">ConfigReader::ReadInteger()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00794">ConfigReader::ReadInteger()</a>. </td> </tr> </table> <a class="anchor" name="CONF_5FVALUE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_VALUE_NOT_FOUND" ref="CONF_5FVALUE_5FNOT_5FFOUND" args="" --><p> @@ -562,7 +579,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00802">ConfigReader: <p> Definition at line <a class="el" href="modules_8h-source.html#l01519">1519</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#l00785">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00802">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00769">ConfigReader::ReadValue()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00777">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00794">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00761">ConfigReader::ReadValue()</a>. </td> </tr> </table> <a class="anchor" name="DEBUG"></a><!-- doxytag: member="modules.h::DEBUG" ref="DEBUG" args="" --><p> @@ -641,7 +658,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#l00101">101</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#l00613">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00601">Server::UserToPseudo()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00593">Server::UserToPseudo()</a>. </td> </tr> </table> <a class="anchor" name="FOREACH_5FMOD"></a><!-- doxytag: member="modules.h::FOREACH_MOD" ref="FOREACH_5FMOD" args="" --><p> @@ -668,7 +685,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00613">Server::Pseud <p> Definition at line <a class="el" href="modules_8h-source.html#l00081">81</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#l00214">Event::Send()</a>. </td> +Referenced by <a class="el" href="channels_8cpp-source.html#l00401">del_channel()</a>, <a class="el" href="channels_8cpp-source.html#l00372">ForceChan()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, and <a class="el" href="modules_8cpp-source.html#l00206">Event::Send()</a>. </td> </tr> </table> <a class="anchor" name="FOREACH_5FRESULT_28x_29"></a><!-- doxytag: member="modules.h::FOREACH_RESULT" ref="FOREACH_5FRESULT_28x_29" args="(x)" --><p> @@ -707,7 +724,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00214">Event::Send() } </pre></div> <p> -Definition at line <a class="el" href="modules_8h-source.html#l00089">89</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#l00089">89</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00195">add_channel()</a>, and <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="MT_5FCHANNEL"></a><!-- doxytag: member="modules.h::MT_CHANNEL" ref="MT_5FCHANNEL" args="" --><p> @@ -736,7 +755,7 @@ Used with OnExtendedMode() method of modules. <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#l00587">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00152">ModeMakeList()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00144">ModeMakeList()</a>. </td> </tr> </table> <a class="anchor" name="MT_5FCLIENT"></a><!-- doxytag: member="modules.h::MT_CLIENT" ref="MT_5FCLIENT" args="" --><p> @@ -763,7 +782,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00587">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#l00559">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00551">Server::AddExtendedMode()</a>. </td> </tr> </table> <a class="anchor" name="MT_5FSERVER"></a><!-- doxytag: member="modules.h::MT_SERVER" ref="MT_5FSERVER" args="" --><p> @@ -790,7 +809,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00559">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#l00559">Server::AddExtendedMode()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00551">Server::AddExtendedMode()</a>. </td> </tr> </table> <a class="anchor" name="NONE"></a><!-- doxytag: member="modules.h::NONE" ref="NONE" args="" --><p> @@ -969,7 +988,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00052">52</a> of <p> Definition at line <a class="el" href="modules_8h-source.html#l00053">53</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#l00240">Module::GetVersion()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00232">Module::GetVersion()</a>. </td> </tr> </table> <hr><h2>Typedef Documentation</h2> @@ -1006,7 +1025,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00074">74</a> of <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">typedef std::deque<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> </td> + <td class="md" nowrap valign="top">typedef std::deque<<a class="el" href="namespaceirc.html#string">std::string</a>> <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td> </tr> </table> </td> @@ -1058,7 +1077,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01686">1686</a> o <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> - <td class="md" nowrap valign="top">typedef <a class="el" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="el" href="modules_8h.html#string_5Flist">string_list</a> </td> + <td class="md" nowrap valign="top">typedef <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> <a class="el" href="modules_8h.html#string_5Flist">string_list</a> </td> </tr> </table> </td> @@ -1092,7 +1111,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00070">70</a> of <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> - <td class="md" nowrap>handlerfunc </td> + <td class="md" nowrap><a class="el" href="inspircd_8h.html#handlerfunc_29_28char_20_2A_2A_2C_20int_2C_20userrec_20_2A_29">handlerfunc</a> </td> <td class="mdname" nowrap> <em>f</em>, </td> </tr> <tr> @@ -1132,7 +1151,321 @@ Definition at line <a class="el" href="modules_8h-source.html#l00070">70</a> of <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00419">Server::AddCommand()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00411">Server::AddCommand()</a>. </td> + </tr> +</table> +<a class="anchor" name="ModeDefined_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefined" ref="ModeDefined_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool ModeDefined </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </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#l00071">71</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>. +<p> +Referenced by <a class="el" href="modules_8cpp-source.html#l00134">DoAddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00072"></a>00072 { +<a name="l00073"></a>00073 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00074"></a>00074 { +<a name="l00075"></a>00075 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00076"></a>00076 { +<a name="l00077"></a>00077 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00078"></a>00078 } +<a name="l00079"></a>00079 } +<a name="l00080"></a>00080 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00081"></a>00081 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModeDefinedOff_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOff" ref="ModeDefinedOff_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int ModeDefinedOff </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </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#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00122"></a>00122 { +<a name="l00123"></a>00123 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00124"></a>00124 { +<a name="l00125"></a>00125 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00126"></a>00126 { +<a name="l00127"></a>00127 <span class="keywordflow">return</span> i->params_when_off; +<a name="l00128"></a>00128 } +<a name="l00129"></a>00129 } +<a name="l00130"></a>00130 <span class="keywordflow">return</span> 0; +<a name="l00131"></a>00131 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModeDefinedOn_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOn" ref="ModeDefinedOn_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">int ModeDefinedOn </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </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#l00108">108</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00109"></a>00109 { +<a name="l00110"></a>00110 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00111"></a>00111 { +<a name="l00112"></a>00112 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type)) +<a name="l00113"></a>00113 { +<a name="l00114"></a>00114 <span class="keywordflow">return</span> i->params_when_on; +<a name="l00115"></a>00115 } +<a name="l00116"></a>00116 } +<a name="l00117"></a>00117 <span class="keywordflow">return</span> 0; +<a name="l00118"></a>00118 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModeDefinedOper_28char_20c_2C_20int_20i_29"></a><!-- doxytag: member="modules.h::ModeDefinedOper" ref="ModeDefinedOper_28char_20c_2C_20int_20i_29" args="(char c, int i)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool ModeDefinedOper </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>i</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </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#l00095">95</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00096"></a>00096 { +<a name="l00097"></a>00097 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00098"></a>00098 { +<a name="l00099"></a>00099 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->needsoper == <span class="keyword">true</span>)) +<a name="l00100"></a>00100 { +<a name="l00101"></a>00101 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00102"></a>00102 } +<a name="l00103"></a>00103 } +<a name="l00104"></a>00104 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00105"></a>00105 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModeIsListMode_28char_20modechar_2C_20int_20type_29"></a><!-- doxytag: member="modules.h::ModeIsListMode" ref="ModeIsListMode_28char_20modechar_2C_20int_20type_29" args="(char modechar, int type)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">bool ModeIsListMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname" nowrap> <em>modechar</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </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#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</a>.<div class="fragment"><pre class="fragment"><a name="l00084"></a>00084 { +<a name="l00085"></a>00085 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00086"></a>00086 { +<a name="l00087"></a>00087 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == type) && (i->list == <span class="keyword">true</span>)) +<a name="l00088"></a>00088 { +<a name="l00089"></a>00089 <span class="keywordflow">return</span> <span class="keyword">true</span>; +<a name="l00090"></a>00090 } +<a name="l00091"></a>00091 } +<a name="l00092"></a>00092 <span class="keywordflow">return</span> <span class="keyword">false</span>; +<a name="l00093"></a>00093 } +</pre></div> +<p> + </td> + </tr> +</table> +<a class="anchor" name="ModeMakeList_28char_20modechar_29"></a><!-- doxytag: member="modules.h::ModeMakeList" ref="ModeMakeList_28char_20modechar_29" args="(char modechar)" --><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">void ModeMakeList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char </td> + <td class="mdname1" valign="top" nowrap> <em>modechar</em> </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> + +<p> +Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8cpp-source.html#l00068">EMode</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#l00579">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00145"></a>00145 { +<a name="l00146"></a>00146 <span class="keywordflow">for</span> (<a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i < <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++) +<a name="l00147"></a>00147 { +<a name="l00148"></a>00148 <span class="keywordflow">if</span> ((i->modechar == modechar) && (i->type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>)) +<a name="l00149"></a>00149 { +<a name="l00150"></a>00150 i->list = <span class="keyword">true</span>; +<a name="l00151"></a>00151 <span class="keywordflow">return</span>; +<a name="l00152"></a>00152 } +<a name="l00153"></a>00153 } +<a name="l00154"></a>00154 <span class="keywordflow">return</span>; +<a name="l00155"></a>00155 } +</pre></div> +<p> + </td> </tr> </table> <a class="anchor" name="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="modules.h::server_mode" ref="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p> @@ -1178,7 +1511,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00419">Server::AddCo </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/modules_8h__dep__incl.gif b/docs/module-doc/modules_8h__dep__incl.gif Binary files differindex ffda5e4bd..79ea1f1fb 100644 --- a/docs/module-doc/modules_8h__dep__incl.gif +++ b/docs/module-doc/modules_8h__dep__incl.gif diff --git a/docs/module-doc/modules_8h__dep__incl.map b/docs/module-doc/modules_8h__dep__incl.map index c8b77543c..2ae52d4d8 100644 --- a/docs/module-doc/modules_8h__dep__incl.map +++ b/docs/module-doc/modules_8h__dep__incl.map @@ -1,4 +1,4 @@ base referer -rect $channels_8cpp-source.html 142,7 240,33 -rect $modules_8cpp-source.html 290,83 388,109 -rect $typedefs_8h-source.html 148,108 234,135 +rect $channels_8cpp-source.html 275,32 373,59 +rect $modules_8cpp-source.html 275,95 373,121 +rect $typedefs_8h-source.html 140,57 225,84 diff --git a/docs/module-doc/modules_8h__dep__incl.md5 b/docs/module-doc/modules_8h__dep__incl.md5 index afb807516..1b8f85636 100644 --- a/docs/module-doc/modules_8h__dep__incl.md5 +++ b/docs/module-doc/modules_8h__dep__incl.md5 @@ -1 +1 @@ -709af1b122d8fb9d54f7e641c4015265
\ No newline at end of file +029327ee049ffb0b20c7a5fec8c0bf60
\ No newline at end of file diff --git a/docs/module-doc/modules_8h__incl.gif b/docs/module-doc/modules_8h__incl.gif Binary files differindex 3eddc0a06..2248e550f 100644 --- a/docs/module-doc/modules_8h__incl.gif +++ b/docs/module-doc/modules_8h__incl.gif diff --git a/docs/module-doc/modules_8h__incl.map b/docs/module-doc/modules_8h__incl.map index c1fbf3c8b..11a5b7c38 100644 --- a/docs/module-doc/modules_8h__incl.map +++ b/docs/module-doc/modules_8h__incl.map @@ -1,4 +1,5 @@ base referer -rect $base_8h-source.html 291,108 352,135 -rect $ctables_8h-source.html 146,159 220,186 -rect $socket_8h-source.html 147,336 219,363 +rect $base_8h-source.html 283,108 344,135 +rect $ctables_8h-source.html 145,209 220,236 +rect $socket_8h-source.html 427,361 499,388 +rect $inspircd_8h-source.html 273,209 353,236 diff --git a/docs/module-doc/modules_8h__incl.md5 b/docs/module-doc/modules_8h__incl.md5 index f4d60522b..0ba01c624 100644 --- a/docs/module-doc/modules_8h__incl.md5 +++ b/docs/module-doc/modules_8h__incl.md5 @@ -1 +1 @@ -8da0e6d6a89d833189221b0e009f3b67
\ No newline at end of file +8349e345831c364ad6f1773db4ad756f
\ No newline at end of file diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html index 4b88e75aa..b5bf542b5 100644 --- a/docs/module-doc/namespaceirc.html +++ b/docs/module-doc/namespaceirc.html @@ -56,7 +56,7 @@ This typedef declares <a class="el" href="namespaceirc.html#string">irc::string< Definition at line <a class="el" href="hashcomp_8h-source.html#l00129">129</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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html index 961504d53..69f09aa43 100644 --- a/docs/module-doc/namespacemembers.html +++ b/docs/module-doc/namespacemembers.html @@ -11,7 +11,7 @@ Here is a list of all namespace members with links to the namespace documentatio <ul> <li>string : <a class="el" href="namespaceirc.html#string">irc</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html index 52cb8e943..b08d6e314 100644 --- a/docs/module-doc/namespacemembers_type.html +++ b/docs/module-doc/namespacemembers_type.html @@ -11,7 +11,7 @@ <ul> <li>string : <a class="el" href="namespaceirc.html#string">irc</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index 9cad80e78..76db5f60d 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -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_1hash_3_01string_01_4.html">hash< string ></a></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index d1c7861ce..6158d6a1b 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -10,7 +10,7 @@ <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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index cf6bf7068..08b4beccd 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -10,7 +10,7 @@ <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp-source.html b/docs/module-doc/socket_8cpp-source.html index 0d6f107da..abe739680 100644 --- a/docs/module-doc/socket_8cpp-source.html +++ b/docs/module-doc/socket_8cpp-source.html @@ -39,7 +39,7 @@ <a name="l00030"></a>00030 <span class="preprocessor">#include <iostream></span> <a name="l00031"></a>00031 <span class="preprocessor">#include <fstream></span> <a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="socket_8h.html">socket.h</a>"</span> -<a name="l00033"></a>00033 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="inspircd__io_8h.html">inspircd_io.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include "inspircd_util.h"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "inspstring.h"</span> @@ -48,8 +48,8 @@ <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="keyword">extern</span> <a class="code" href="classSocketEngine.html">SocketEngine</a>* <a class="code" href="modules_8cpp.html#SE">SE</a>; <a name="l00041"></a>00041 -<a name="l00042"></a>00042 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#boundPortCount">boundPortCount</a>; -<a name="l00043"></a>00043 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">openSockfd</a>[MAXSOCKS]; +<a name="l00042"></a>00042 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#boundPortCount">boundPortCount</a>; +<a name="l00043"></a>00043 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">openSockfd</a>[<a class="code" href="inspircd_8h.html#MAXSOCKS">MAXSOCKS</a>]; <a name="l00044"></a>00044 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>; <a name="l00045"></a>00045 <a name="l00046"></a><a class="code" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">00046</a> <a class="code" href="classInspSocket.html">InspSocket</a>* <a class="code" href="socket_8cpp.html#socket_5Fref_5B_36_35_35_33_35_5D">socket_ref</a>[65535]; @@ -71,23 +71,23 @@ <a name="l00062"></a><a class="code" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">00062</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host, <span class="keywordtype">int</span> port, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime) <a name="l00063"></a>00063 { <a name="l00064"></a>00064 <span class="keywordflow">if</span> (listening) { -<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a>()) == ERROR) +<a name="l00065"></a>00065 <span class="keywordflow">if</span> ((this->fd = <a class="code" href="inspircd__io_8h.html#OpenTCPSocket_28void_29">OpenTCPSocket</a>()) == <a class="code" href="inspircd_8h.html#ERROR">ERROR</a>) <a name="l00066"></a>00066 { <a name="l00067"></a>00067 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; <a name="l00068"></a>00068 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; <a name="l00069"></a>00069 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>); -<a name="l00070"></a>00070 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); +<a name="l00070"></a>00070 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>); <a name="l00071"></a>00071 <span class="keywordflow">return</span>; <a name="l00072"></a>00072 } <a name="l00073"></a>00073 <span class="keywordflow">else</span> <a name="l00074"></a>00074 { -<a name="l00075"></a>00075 <span class="keywordflow">if</span> (<a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a>(this->fd,this->client,this->server,port,(<span class="keywordtype">char</span>*)host.c_str()) == ERROR) +<a name="l00075"></a>00075 <span class="keywordflow">if</span> (<a class="code" href="inspircd__io_8h.html#BindSocket_28int_20sockfd_2C_20struct_20sockaddr_5Fin_20client_2C_20struct_20sockaddr_5Fin_20server_2C_20int_20port_2C_20char_20_2Aaddr_29">BindSocket</a>(this->fd,this->client,this->server,port,(<span class="keywordtype">char</span>*)host.c_str()) == <a class="code" href="inspircd_8h.html#ERROR">ERROR</a>) <a name="l00076"></a>00076 { <a name="l00077"></a>00077 this-><a class="code" href="classInspSocket.html#Close_28_29">Close</a>(); <a name="l00078"></a>00078 this-><a class="code" href="classInspSocket.html#fd">fd</a> = -1; <a name="l00079"></a>00079 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>; <a name="l00080"></a>00080 this-><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>); -<a name="l00081"></a>00081 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); +<a name="l00081"></a>00081 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno)); <a name="l00082"></a>00082 <span class="keywordflow">return</span>; <a name="l00083"></a>00083 } <a name="l00084"></a>00084 <span class="keywordflow">else</span> @@ -95,7 +95,7 @@ <a name="l00086"></a>00086 this-><a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>; <a name="l00087"></a>00087 SE-><a class="code" href="classSocketEngine.html#AddFd_28int_20fd_2C_20bool_20readable_2C_20char_20type_29">AddFd</a>(this->fd,<span class="keyword">true</span>,<a class="code" href="socketengine_8h.html#X_5FESTAB_5FMODULE">X_ESTAB_MODULE</a>); <a name="l00088"></a>00088 socket_ref[this-><a class="code" href="classInspSocket.html#fd">fd</a>] = <span class="keyword">this</span>; -<a name="l00089"></a>00089 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); +<a name="l00089"></a>00089 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>); <a name="l00090"></a>00090 <span class="keywordflow">return</span>; <a name="l00091"></a>00091 } <a name="l00092"></a>00092 } @@ -174,7 +174,7 @@ <a name="l00165"></a>00165 } <a name="l00166"></a>00166 <span class="keywordflow">else</span> <a name="l00167"></a>00167 { -<a name="l00168"></a>00168 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); +<a name="l00168"></a>00168 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>); <a name="l00169"></a>00169 <span class="keywordflow">return</span> NULL; <a name="l00170"></a>00170 } <a name="l00171"></a>00171 } @@ -256,7 +256,7 @@ <a name="l00247"></a>00247 <a name="l00248"></a><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">00248</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket::SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s) <a name="l00249"></a>00249 { -<a name="l00250"></a>00250 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); +<a name="l00250"></a>00250 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>); <a name="l00251"></a>00251 this-><a class="code" href="classInspSocket.html#state">state</a> = s; <a name="l00252"></a>00252 } <a name="l00253"></a>00253 @@ -287,7 +287,7 @@ <a name="l00278"></a>00278 <span class="comment">int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr)</span> <a name="l00279"></a>00279 <span class="comment">int OpenTCPSocket (void)</span> <a name="l00280"></a>00280 <span class="comment">*/</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp.html b/docs/module-doc/socket_8cpp.html index 5a0ca11e5..181c5639e 100644 --- a/docs/module-doc/socket_8cpp.html +++ b/docs/module-doc/socket_8cpp.html @@ -21,7 +21,7 @@ <code>#include <iostream></code><br> <code>#include <fstream></code><br> <code>#include "<a class="el" href="socket_8h-source.html">socket.h</a>"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include "<a class="el" href="inspircd__io_8h-source.html">inspircd_io.h</a>"</code><br> <code>#include "inspircd_util.h"</code><br> <code>#include "inspstring.h"</code><br> @@ -31,9 +31,10 @@ <p> Include dependency graph for socket.cpp:<p><center><img src="socket_8cpp__incl.gif" border="0" usemap="#socket.cpp_map" alt=""></center> <map name="socket.cpp_map"> -<area href="socket_8h-source.html" shape="rect" coords="160,260,232,287" alt=""> -<area href="inspircd__io_8h-source.html" shape="rect" coords="148,412,244,439" alt=""> -<area href="socketengine_8h-source.html" shape="rect" coords="140,108,252,135" alt=""> +<area href="socket_8h-source.html" shape="rect" coords="456,374,528,400" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="301,450,381,476" alt=""> +<area href="inspircd__io_8h-source.html" shape="rect" coords="444,424,540,451" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="140,830,252,856" alt=""> </map> <p> @@ -169,7 +170,7 @@ Definition at line <a class="el" href="socket_8cpp-source.html#l00046">46</a> of </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8cpp__incl.gif b/docs/module-doc/socket_8cpp__incl.gif Binary files differindex 71318697c..51b0d7a39 100644 --- a/docs/module-doc/socket_8cpp__incl.gif +++ b/docs/module-doc/socket_8cpp__incl.gif diff --git a/docs/module-doc/socket_8cpp__incl.map b/docs/module-doc/socket_8cpp__incl.map index 1374f07ed..e5dbf66eb 100644 --- a/docs/module-doc/socket_8cpp__incl.map +++ b/docs/module-doc/socket_8cpp__incl.map @@ -1,4 +1,5 @@ base referer -rect $socket_8h-source.html 160,260 232,287 -rect $inspircd__io_8h-source.html 148,412 244,439 -rect $socketengine_8h-source.html 140,108 252,135 +rect $socket_8h-source.html 456,374 528,400 +rect $inspircd_8h-source.html 301,450 381,476 +rect $inspircd__io_8h-source.html 444,424 540,451 +rect $socketengine_8h-source.html 140,830 252,856 diff --git a/docs/module-doc/socket_8cpp__incl.md5 b/docs/module-doc/socket_8cpp__incl.md5 index 5059c3bba..532a9daa0 100644 --- a/docs/module-doc/socket_8cpp__incl.md5 +++ b/docs/module-doc/socket_8cpp__incl.md5 @@ -1 +1 @@ -90e1383e8aa075991d7a330be1573c66
\ No newline at end of file +9f75c46dbd63c7144404dcb531abb481
\ No newline at end of file diff --git a/docs/module-doc/socket_8h-source.html b/docs/module-doc/socket_8h-source.html index 4e579d9d5..6d0f485de 100644 --- a/docs/module-doc/socket_8h-source.html +++ b/docs/module-doc/socket_8h-source.html @@ -110,7 +110,7 @@ <a name="l00302"></a>00302 }; <a name="l00303"></a>00303 <a name="l00304"></a>00304 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8h.html b/docs/module-doc/socket_8h.html index d0a1f37ee..628f6c42d 100644 --- a/docs/module-doc/socket_8h.html +++ b/docs/module-doc/socket_8h.html @@ -19,11 +19,10 @@ Include dependency graph for socket.h:<p><center><img src="socket_8h__incl.gif" <p> This graph shows which files directly or indirectly include this file:<p><center><img src="socket_8h__dep__incl.gif" border="0" usemap="#socket.hdep_map" alt=""></center> <map name="socket.hdep_map"> -<area href="modules_8cpp-source.html" shape="rect" coords="410,57,508,84" alt=""> -<area href="socket_8cpp-source.html" shape="rect" coords="127,57,212,84" alt=""> -<area href="modules_8h-source.html" shape="rect" coords="128,108,211,135" alt=""> -<area href="channels_8cpp-source.html" shape="rect" coords="262,108,360,135" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="268,159,354,185" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="260,57,359,84" alt=""> +<area href="socket_8cpp-source.html" shape="rect" coords="267,133,352,160" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="129,108,209,135" alt=""> +<area href="modules_8h-source.html" shape="rect" coords="128,57,211,84" alt=""> </map> <p> @@ -140,7 +139,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00029">29</a> of f </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socket_8h__dep__incl.gif b/docs/module-doc/socket_8h__dep__incl.gif Binary files differindex c36bb318a..ffc433408 100644 --- a/docs/module-doc/socket_8h__dep__incl.gif +++ b/docs/module-doc/socket_8h__dep__incl.gif diff --git a/docs/module-doc/socket_8h__dep__incl.map b/docs/module-doc/socket_8h__dep__incl.map index 41318c6e5..39631ee0c 100644 --- a/docs/module-doc/socket_8h__dep__incl.map +++ b/docs/module-doc/socket_8h__dep__incl.map @@ -1,6 +1,5 @@ base referer -rect $modules_8cpp-source.html 410,57 508,84 -rect $socket_8cpp-source.html 127,57 212,84 -rect $modules_8h-source.html 128,108 211,135 -rect $channels_8cpp-source.html 262,108 360,135 -rect $typedefs_8h-source.html 268,159 354,185 +rect $modules_8cpp-source.html 260,57 359,84 +rect $socket_8cpp-source.html 267,133 352,160 +rect $inspircd_8h-source.html 129,108 209,135 +rect $modules_8h-source.html 128,57 211,84 diff --git a/docs/module-doc/socket_8h__dep__incl.md5 b/docs/module-doc/socket_8h__dep__incl.md5 index 197554b02..5264f4ee1 100644 --- a/docs/module-doc/socket_8h__dep__incl.md5 +++ b/docs/module-doc/socket_8h__dep__incl.md5 @@ -1 +1 @@ -eb848111c3060b658816757104f37d5b
\ No newline at end of file +3c191a72f21affbd7a2ef0ada34c2b11
\ No newline at end of file diff --git a/docs/module-doc/socketengine_8cpp-source.html b/docs/module-doc/socketengine_8cpp-source.html index b2e2c627a..82fb7dcfe 100644 --- a/docs/module-doc/socketengine_8cpp-source.html +++ b/docs/module-doc/socketengine_8cpp-source.html @@ -24,8 +24,8 @@ <a name="l00015"></a>00015 <span class="comment"> */</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#include "inspircd_config.h"</span> -<a name="l00018"></a>00018 <span class="preprocessor">#include "globals.h"</span> -<a name="l00019"></a>00019 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> +<a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00020"></a>00020 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#include <sys/epoll.h></span> <a name="l00022"></a>00022 <span class="preprocessor">#define EP_DELAY 5</span> @@ -43,7 +43,7 @@ <a name="l00034"></a>00034 <a name="l00035"></a><a class="code" href="classSocketEngine.html#SocketEngine_28_29">00035</a> <a class="code" href="classSocketEngine.html#SocketEngine_28_29">SocketEngine::SocketEngine</a>() <a name="l00036"></a>00036 { -<a name="l00037"></a>00037 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); +<a name="l00037"></a>00037 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::SocketEngine()"</span>); <a name="l00038"></a>00038 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> <a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a> = epoll_create(65535); <a name="l00040"></a>00040 <span class="preprocessor">#endif</span> @@ -54,7 +54,7 @@ <a name="l00045"></a>00045 <a name="l00046"></a><a class="code" href="classSocketEngine.html#_7ESocketEngine_28_29">00046</a> <a class="code" href="classSocketEngine.html#_7ESocketEngine_28_29">SocketEngine::~SocketEngine</a>() <a name="l00047"></a>00047 { -<a name="l00048"></a>00048 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); +<a name="l00048"></a>00048 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::~SocketEngine()"</span>); <a name="l00049"></a>00049 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00050"></a>00050 <span class="preprocessor"></span> close(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>); <a name="l00051"></a>00051 <span class="preprocessor">#endif</span> @@ -79,30 +79,30 @@ <a name="l00070"></a>00070 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] = type; <a name="l00071"></a>00071 <span class="keywordflow">if</span> (readable) <a name="l00072"></a>00072 { -<a name="l00073"></a>00073 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); +<a name="l00073"></a>00073 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Set readbit"</span>); <a name="l00074"></a>00074 <a class="code" href="socketengine_8cpp.html#ref_5B_36_35_35_33_35_5D">ref</a>[fd] |= <a class="code" href="socketengine_8h.html#X_5FREADBIT">X_READBIT</a>; <a name="l00075"></a>00075 } -<a name="l00076"></a>00076 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); +<a name="l00076"></a>00076 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Add socket %d"</span>,fd); <a name="l00077"></a>00077 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev; -<a name="l00079"></a>00079 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00079"></a>00079 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: Add socket to events, ep=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); <a name="l00080"></a>00080 readable ? ev.events = EPOLLIN | EPOLLET : ev.events = EPOLLOUT | EPOLLET; <a name="l00081"></a>00081 ev.data.fd = fd; <a name="l00082"></a>00082 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_ADD, fd, &ev); <a name="l00083"></a>00083 <span class="keywordflow">if</span> (i < 0) <a name="l00084"></a>00084 { -<a name="l00085"></a>00085 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); +<a name="l00085"></a>00085 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List insertion failure!"</span>); <a name="l00086"></a>00086 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00087"></a>00087 } <a name="l00088"></a>00088 <span class="preprocessor">#endif</span> <a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_KQUEUE</span> <a name="l00090"></a>00090 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke; -<a name="l00091"></a>00091 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); +<a name="l00091"></a>00091 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Add socket to events, kq=%d socket=%d"</span>,<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>,fd); <a name="l00092"></a>00092 EV_SET(&ke, fd, readable ? EVFILT_READ : EVFILT_WRITE, EV_ADD, 0, 0, NULL); <a name="l00093"></a>00093 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); <a name="l00094"></a>00094 <span class="keywordflow">if</span> (i == -1) <a name="l00095"></a>00095 { -<a name="l00096"></a>00096 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); +<a name="l00096"></a>00096 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: List insertion failure!"</span>); <a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00098"></a>00098 } <a name="l00099"></a>00099 <span class="preprocessor">#endif</span> @@ -111,7 +111,7 @@ <a name="l00102"></a>00102 <a name="l00103"></a><a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">00103</a> <span class="keywordtype">bool</span> <a class="code" href="classSocketEngine.html#DelFd_28int_20fd_29">SocketEngine::DelFd</a>(<span class="keywordtype">int</span> fd) <a name="l00104"></a>00104 { -<a name="l00105"></a>00105 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); +<a name="l00105"></a>00105 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"SocketEngine::DelFd(%d)"</span>,fd); <a name="l00106"></a>00106 <a name="l00107"></a>00107 <span class="keywordflow">if</span> ((fd < 0) || (fd > 65535)) <a name="l00108"></a>00108 <span class="keywordflow">return</span> <span class="keyword">false</span>; @@ -122,7 +122,7 @@ <a name="l00113"></a>00113 <span class="keywordflow">if</span> (*i == fd) <a name="l00114"></a>00114 { <a name="l00115"></a>00115 <a class="code" href="classSocketEngine.html#fds">fds</a>.erase(i); -<a name="l00116"></a>00116 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); +<a name="l00116"></a>00116 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Deleted fd %d"</span>,fd); <a name="l00117"></a>00117 found = <span class="keyword">true</span>; <a name="l00118"></a>00118 <span class="keywordflow">break</span>; <a name="l00119"></a>00119 } @@ -133,7 +133,7 @@ <a name="l00124"></a>00124 <span class="keywordtype">int</span> i = kevent(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, &ke, 1, 0, 0, NULL); <a name="l00125"></a>00125 <span class="keywordflow">if</span> (i == -1) <a name="l00126"></a>00126 { -<a name="l00127"></a>00127 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); +<a name="l00127"></a>00127 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove socket from queue!"</span>); <a name="l00128"></a>00128 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00129"></a>00129 } <a name="l00130"></a>00130 <span class="preprocessor">#endif</span> @@ -144,7 +144,7 @@ <a name="l00135"></a>00135 <span class="keywordtype">int</span> i = epoll_ctl(<a class="code" href="classSocketEngine.html#EngineHandle">EngineHandle</a>, EPOLL_CTL_DEL, fd, &ev); <a name="l00136"></a>00136 <span class="keywordflow">if</span> (i < 0) <a name="l00137"></a>00137 { -<a name="l00138"></a>00138 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); +<a name="l00138"></a>00138 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>); <a name="l00139"></a>00139 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00140"></a>00140 } <a name="l00141"></a>00141 <span class="preprocessor">#endif</span> @@ -212,7 +212,7 @@ <a name="l00203"></a>00203 <span class="preprocessor">#endif</span> <a name="l00204"></a>00204 <span class="preprocessor"></span> <span class="keywordflow">return</span> <span class="stringliteral">"misconfigured"</span>; <a name="l00205"></a>00205 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socketengine_8cpp.html b/docs/module-doc/socketengine_8cpp.html index 10630b1ef..6ae53100f 100644 --- a/docs/module-doc/socketengine_8cpp.html +++ b/docs/module-doc/socketengine_8cpp.html @@ -8,8 +8,8 @@ <div class="nav"> <a class="el" href="dir_000000.html">home</a> » <a class="el" href="dir_000001.html">brain</a> » <a class="el" href="dir_000002.html">inspircd-cvs</a> » <a class="el" href="dir_000003.html">inspircd</a> » <a class="el" href="dir_000005.html">src</a></div> <h1>socketengine.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br> -<code>#include "globals.h"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include <vector></code><br> <code>#include <string></code><br> <code>#include "<a class="el" href="socketengine_8h-source.html">socketengine.h</a>"</code><br> @@ -17,7 +17,9 @@ <p> Include dependency graph for socketengine.cpp:<p><center><img src="socketengine_8cpp__incl.gif" border="0" usemap="#socketengine.cpp_map" alt=""></center> <map name="socketengine.cpp_map"> -<area href="socketengine_8h-source.html" shape="rect" coords="180,159,292,186" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="343,209,417,236" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="340,57,420,84" alt=""> +<area href="socketengine_8h-source.html" shape="rect" coords="180,159,292,185" alt=""> </map> <p> @@ -55,7 +57,7 @@ Definition at line <a class="el" href="socketengine_8cpp-source.html#l00033">33< Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00057">SocketEngine::GetType()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00146">SocketEngine::Wait()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socketengine_8cpp__incl.gif b/docs/module-doc/socketengine_8cpp__incl.gif Binary files differindex a9b4ee54a..59bcf3ae8 100644 --- a/docs/module-doc/socketengine_8cpp__incl.gif +++ b/docs/module-doc/socketengine_8cpp__incl.gif diff --git a/docs/module-doc/socketengine_8cpp__incl.map b/docs/module-doc/socketengine_8cpp__incl.map index f45ed643e..e7b56eb07 100644 --- a/docs/module-doc/socketengine_8cpp__incl.map +++ b/docs/module-doc/socketengine_8cpp__incl.map @@ -1,2 +1,4 @@ base referer -rect $socketengine_8h-source.html 180,159 292,186 +rect $globals_8h-source.html 343,209 417,236 +rect $inspircd_8h-source.html 340,57 420,84 +rect $socketengine_8h-source.html 180,159 292,185 diff --git a/docs/module-doc/socketengine_8cpp__incl.md5 b/docs/module-doc/socketengine_8cpp__incl.md5 index 7588e9a56..333ce2806 100644 --- a/docs/module-doc/socketengine_8cpp__incl.md5 +++ b/docs/module-doc/socketengine_8cpp__incl.md5 @@ -1 +1 @@ -afe277f87830f5268eeca66a5c32895e
\ No newline at end of file +50741f9f6cf4a87616fd7184331c0fd9
\ No newline at end of file diff --git a/docs/module-doc/socketengine_8h-source.html b/docs/module-doc/socketengine_8h-source.html index 2efbade7a..781e08ce9 100644 --- a/docs/module-doc/socketengine_8h-source.html +++ b/docs/module-doc/socketengine_8h-source.html @@ -29,8 +29,8 @@ <a name="l00020"></a>00020 <span class="preprocessor">#include <vector></span> <a name="l00021"></a>00021 <span class="preprocessor">#include <string></span> <a name="l00022"></a>00022 <span class="preprocessor">#include "inspircd_config.h"</span> -<a name="l00023"></a>00023 <span class="preprocessor">#include "globals.h"</span> -<a name="l00024"></a>00024 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> +<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00025"></a>00025 <span class="preprocessor">#ifdef USE_EPOLL</span> <a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#include <sys/epoll.h></span> <a name="l00027"></a>00027 <span class="preprocessor">#define EP_DELAY 5</span> @@ -82,7 +82,7 @@ <a name="l00142"></a>00142 }; <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:46 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socketengine_8h.html b/docs/module-doc/socketengine_8h.html index 61e72cb4f..827330333 100644 --- a/docs/module-doc/socketengine_8h.html +++ b/docs/module-doc/socketengine_8h.html @@ -10,14 +10,18 @@ <h1>socketengine.h File Reference</h1><code>#include <vector></code><br> <code>#include <string></code><br> <code>#include "inspircd_config.h"</code><br> -<code>#include "globals.h"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include <sys/types.h></code><br> <code>#include <sys/event.h></code><br> <code>#include <sys/time.h></code><br> <p> Include dependency graph for socketengine.h:<p><center><img src="socketengine_8h__incl.gif" border="0" usemap="#socketengine.h_map" alt=""></center> +<map name="socketengine.h_map"> +<area href="globals_8h-source.html" shape="rect" coords="175,108,250,135" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="172,159,252,186" alt=""> +</map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="socketengine_8h__dep__incl.gif" border="0" usemap="#socketengine.hdep_map" alt=""></center> @@ -211,7 +215,7 @@ Definition at line <a class="el" href="socketengine_8h-source.html#l00055">55</a Referenced by <a class="el" href="socketengine_8cpp-source.html#l00065">SocketEngine::AddFd()</a>, <a class="el" href="socketengine_8cpp-source.html#l00103">SocketEngine::DelFd()</a>, and <a class="el" href="socketengine_8cpp-source.html#l00146">SocketEngine::Wait()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/socketengine_8h__incl.gif b/docs/module-doc/socketengine_8h__incl.gif Binary files differindex 314924cd0..bcaa0ce95 100644 --- a/docs/module-doc/socketengine_8h__incl.gif +++ b/docs/module-doc/socketengine_8h__incl.gif diff --git a/docs/module-doc/socketengine_8h__incl.map b/docs/module-doc/socketengine_8h__incl.map index 5a14779e7..e57838a54 100644 --- a/docs/module-doc/socketengine_8h__incl.map +++ b/docs/module-doc/socketengine_8h__incl.map @@ -1 +1,3 @@ base referer +rect $globals_8h-source.html 175,108 250,135 +rect $inspircd_8h-source.html 172,159 252,186 diff --git a/docs/module-doc/socketengine_8h__incl.md5 b/docs/module-doc/socketengine_8h__incl.md5 index b52cfeccc..8b91e5aee 100644 --- a/docs/module-doc/socketengine_8h__incl.md5 +++ b/docs/module-doc/socketengine_8h__incl.md5 @@ -1 +1 @@ -d61c5ce9be257a944950df9c9b0b0b2b
\ No newline at end of file +9faa242bc7dd08e1da2018aca66c84c3
\ No newline at end of file diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index e37bb09dc..0a88d3b41 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -8,7 +8,7 @@ <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.<p><table> <tr class="memlist"><td><a class="el" href="structdns__ip4list.html#ip">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#next">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 Wed Dec 14 15:55:48 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index d0a80f758..2332edf25 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -74,7 +74,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 Wed Dec 14 15:55:48 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html index 8bb5fa75b..7c6896792 100644 --- a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html +++ b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>irc::InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structirc_1_1InAddr__HashComp.html#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20">operator()</a>(const in_addr &s1, const in_addr &s2) const </td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html index aaa89e086..ff8d46267 100644 --- a/docs/module-doc/structirc_1_1InAddr__HashComp.html +++ b/docs/module-doc/structirc_1_1InAddr__HashComp.html @@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map. </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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html index f4cab5bc4..0895f7aa9 100644 --- a/docs/module-doc/structirc_1_1StrHashComp-members.html +++ b/docs/module-doc/structirc_1_1StrHashComp-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>irc::StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structirc_1_1StrHashComp.html#operator_28_29_28const_20std_3A_3Astring_20_26s_31_2C_20const_20std_3A_3Astring_20_26s_32_29_20const_20">operator()</a>(const std::string &s1, const std::string &s2) const </td><td><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td></td></tr> -</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1StrHashComp.html b/docs/module-doc/structirc_1_1StrHashComp.html index 34d737256..e75a78fc7 100644 --- a/docs/module-doc/structirc_1_1StrHashComp.html +++ b/docs/module-doc/structirc_1_1StrHashComp.html @@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map. </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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html index b45193bfd..f7a4822cf 100644 --- a/docs/module-doc/structirc_1_1irc__char__traits-members.html +++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html @@ -11,7 +11,7 @@ <tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#find_28const_20char_20_2As_31_2C_20int_20n_2C_20char_20c_29">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#lt_28char_20c_31st_2C_20char_20c_32nd_29">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#ne_28char_20c_31st_2C_20char_20c_32nd_29">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 Wed Dec 14 15:55:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html index 23b6f8de3..6a68cf5ec 100644 --- a/docs/module-doc/structirc_1_1irc__char__traits.html +++ b/docs/module-doc/structirc_1_1irc__char__traits.html @@ -256,7 +256,7 @@ Check if two chars do NOT match. </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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html index 2488cad9e..b80d90f29 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_1hash_3_01in__addr_01_4.html">nspace::hash< in_addr ></a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html#operator_28_29_28const_20struct_20in_5Faddr_20_26a_29_20const_20">operator()</a>(const struct in_addr &a) const </td><td><a class="el" href="structnspace_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 Wed Dec 14 15:55:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html index b5facdffe..c9784131d 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html @@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00054">54</a> of </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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html index dc3d2c7a6..3b560f053 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html @@ -7,7 +7,7 @@ <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class 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_1hash_3_01string_01_4.html">nspace::hash< string ></a>, including all inherited members.<p><table> <tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html#operator_28_29_28const_20string_20_26s_29_20const_20">operator()</a>(const string &s) const </td><td><a class="el" href="structnspace_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 Wed Dec 14 15:55:52 2005 for InspIRCd by +</table><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html index 4134ee3ba..6b99de245 100644 --- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html @@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00062">62</a> of </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 Wed Dec 14 15:55:52 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index b3fce4fbe..93b89b3a8 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -81,7 +81,9 @@ <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="globals_8h.html" target="basefrm">globals.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="inspircd_8h.html" target="basefrm">inspircd.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="inspircd__io_8h.html" target="basefrm">inspircd_io.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> @@ -122,6 +124,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="structnspace_1_1hash_3_01string_01_4.html" target="basefrm">nspace::hash< string ></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="classHostItem.html" target="basefrm">HostItem</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_1InAddr__HashComp.html" target="basefrm">irc::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="classInspIRCd.html" target="basefrm">InspIRCd</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="classInspSocket.html" target="basefrm">InspSocket</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> @@ -135,6 +138,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="classRequest.html" target="basefrm">Request</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="classServer.html" target="basefrm">Server</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="classServerConfig.html" target="basefrm">ServerConfig</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="classserverstats.html" target="basefrm">serverstats</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="classSocketEngine.html" target="basefrm">SocketEngine</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_1StrHashComp.html" target="basefrm">irc::StrHashComp</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="classucrec.html" target="basefrm">ucrec</a></p> @@ -200,7 +204,9 @@ <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="structnspace_1_1hash_3_01in__addr_01_4.html" target="basefrm">nspace::hash< in_addr ></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="structnspace_1_1hash_3_01string_01_4.html" target="basefrm">nspace::hash< string ></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_1InAddr__HashComp.html" target="basefrm">irc::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="classInspIRCd.html" target="basefrm">InspIRCd</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="classInspSocket.html" target="basefrm">InspSocket</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="classserverstats.html" target="basefrm">serverstats</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="classSocketEngine.html" target="basefrm">SocketEngine</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_1StrHashComp.html" target="basefrm">irc::StrHashComp</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="classWhoWasUser.html" target="basefrm">WhoWasUser</a></p> diff --git a/docs/module-doc/typedefs_8h-source.html b/docs/module-doc/typedefs_8h-source.html index 1aab71ba1..b22da8103 100644 --- a/docs/module-doc/typedefs_8h-source.html +++ b/docs/module-doc/typedefs_8h-source.html @@ -15,9 +15,9 @@ <a name="l00006"></a>00006 <span class="preprocessor">#include "<a class="code" href="hashcomp_8h.html">hashcomp.h</a>"</span> <a name="l00007"></a>00007 <span class="preprocessor">#include "inspstring.h"</span> <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span> -<a name="l00009"></a>00009 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="modules_8h.html">modules.h</a>"</span> -<a name="l00011"></a>00011 <span class="preprocessor">#include "globals.h"</span> +<a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="globals_8h.html">globals.h</a>"</span> <a name="l00012"></a>00012 <span class="preprocessor">#include "inspircd_config.h"</span> <a name="l00013"></a>00013 <span class="preprocessor">#include <string></span> <a name="l00014"></a>00014 <span class="preprocessor">#ifdef GCC3</span> @@ -34,9 +34,10 @@ <a name="l00025"></a><a class="code" href="typedefs_8h.html#servernamelist">00025</a> <span class="keyword">typedef</span> std::vector<std::string> <a class="code" href="typedefs_8h.html#servernamelist">servernamelist</a>; <a name="l00026"></a><a class="code" href="typedefs_8h.html#ExtModeList">00026</a> <span class="keyword">typedef</span> std::vector<ExtMode> <a class="code" href="typedefs_8h.html#ExtModeList">ExtModeList</a>; <a name="l00027"></a><a class="code" href="typedefs_8h.html#ExtModeListIter">00027</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a>; -<a name="l00028"></a>00028 -<a name="l00029"></a>00029 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<a name="l00028"></a><a class="code" href="typedefs_8h.html#file_5Fcache">00028</a> <span class="keyword">typedef</span> std::deque<std::string> <a class="code" href="globals_8h.html#file_5Fcache">file_cache</a>; +<a name="l00029"></a>00029 +<a name="l00030"></a>00030 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/typedefs_8h.html b/docs/module-doc/typedefs_8h.html index 6d202cd46..cd9bbc04a 100644 --- a/docs/module-doc/typedefs_8h.html +++ b/docs/module-doc/typedefs_8h.html @@ -12,9 +12,9 @@ <code>#include "<a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>"</code><br> <code>#include "inspstring.h"</code><br> <code>#include "<a class="el" href="ctables_8h-source.html">ctables.h</a>"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include "<a class="el" href="modules_8h-source.html">modules.h</a>"</code><br> -<code>#include "globals.h"</code><br> +<code>#include "<a class="el" href="globals_8h-source.html">globals.h</a>"</code><br> <code>#include "inspircd_config.h"</code><br> <code>#include <string></code><br> <code>#include <ext/hash_map></code><br> @@ -22,17 +22,20 @@ <p> Include dependency graph for typedefs.h:<p><center><img src="typedefs_8h__incl.gif" border="0" usemap="#typedefs.h_map" alt=""></center> <map name="typedefs.h_map"> -<area href="users_8h-source.html" shape="rect" coords="156,159,220,185" alt=""> -<area href="channels_8h-source.html" shape="rect" coords="295,209,380,236" alt=""> -<area href="hashcomp_8h-source.html" shape="rect" coords="141,412,235,439" alt=""> -<area href="ctables_8h-source.html" shape="rect" coords="300,361,375,388" alt=""> +<area href="users_8h-source.html" shape="rect" coords="568,463,632,489" alt=""> +<area href="channels_8h-source.html" shape="rect" coords="684,361,769,388" alt=""> +<area href="hashcomp_8h-source.html" shape="rect" coords="141,108,235,135" alt=""> +<area href="ctables_8h-source.html" shape="rect" coords="300,209,375,236" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="439,235,519,261" alt=""> <area href="modules_8h-source.html" shape="rect" coords="147,311,229,337" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="441,412,516,439" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="typedefs_8h__dep__incl.gif" border="0" usemap="#typedefs.hdep_map" alt=""></center> <map name="typedefs.hdep_map"> -<area href="modules_8cpp-source.html" shape="rect" coords="140,7,239,33" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="141,7,240,34" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="141,58,240,84" alt=""> </map> <p> @@ -63,6 +66,8 @@ This graph shows which files directly or indirectly include this file:<p><center <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef ExtModeList::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="typedefs_8h.html#ExtModeListIter">ExtModeListIter</a></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::deque< <a class="el" href="namespaceirc.html#string">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a></td></tr> + </table> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="address_5Fcache"></a><!-- doxytag: member="typedefs.h::address_cache" ref="address_5Fcache" args="" --><p> @@ -190,6 +195,31 @@ Definition at line <a class="el" href="typedefs_8h-source.html#l00026">26</a> of Definition at line <a class="el" href="typedefs_8h-source.html#l00027">27</a> of file <a class="el" href="typedefs_8h-source.html">typedefs.h</a>. </td> </tr> </table> +<a class="anchor" name="file_5Fcache"></a><!-- doxytag: member="typedefs.h::file_cache" ref="file_5Fcache" args="" --><p> +<table class="mdTable" 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="namespaceirc.html#string">std::string</a>> <a class="el" href="typedefs_8h.html#file_5Fcache">file_cache</a> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="typedefs_8h-source.html#l00028">28</a> of file <a class="el" href="typedefs_8h-source.html">typedefs.h</a>. </td> + </tr> +</table> <a class="anchor" name="servernamelist"></a><!-- doxytag: member="typedefs.h::servernamelist" ref="servernamelist" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -265,7 +295,7 @@ Definition at line <a class="el" href="typedefs_8h-source.html#l00020">20</a> of Definition at line <a class="el" href="typedefs_8h-source.html#l00023">23</a> of file <a class="el" href="typedefs_8h-source.html">typedefs.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/typedefs_8h__dep__incl.gif b/docs/module-doc/typedefs_8h__dep__incl.gif Binary files differindex 9f1b6aa92..83917f390 100644 --- a/docs/module-doc/typedefs_8h__dep__incl.gif +++ b/docs/module-doc/typedefs_8h__dep__incl.gif diff --git a/docs/module-doc/typedefs_8h__dep__incl.map b/docs/module-doc/typedefs_8h__dep__incl.map index 096b0abd5..d7538d0b6 100644 --- a/docs/module-doc/typedefs_8h__dep__incl.map +++ b/docs/module-doc/typedefs_8h__dep__incl.map @@ -1,2 +1,3 @@ base referer -rect $modules_8cpp-source.html 140,7 239,33 +rect $channels_8cpp-source.html 141,7 240,34 +rect $modules_8cpp-source.html 141,58 240,84 diff --git a/docs/module-doc/typedefs_8h__dep__incl.md5 b/docs/module-doc/typedefs_8h__dep__incl.md5 index 0d707fc49..11e0ba285 100644 --- a/docs/module-doc/typedefs_8h__dep__incl.md5 +++ b/docs/module-doc/typedefs_8h__dep__incl.md5 @@ -1 +1 @@ -a0f44bb677c4bae9f3f18d396131af56
\ No newline at end of file +142082842cc532e4d4e382b14a7b2d29
\ No newline at end of file diff --git a/docs/module-doc/typedefs_8h__incl.gif b/docs/module-doc/typedefs_8h__incl.gif Binary files differindex 25517e2e2..54765764d 100644 --- a/docs/module-doc/typedefs_8h__incl.gif +++ b/docs/module-doc/typedefs_8h__incl.gif diff --git a/docs/module-doc/typedefs_8h__incl.map b/docs/module-doc/typedefs_8h__incl.map index 632ae99bc..b131a2682 100644 --- a/docs/module-doc/typedefs_8h__incl.map +++ b/docs/module-doc/typedefs_8h__incl.map @@ -1,6 +1,8 @@ base referer -rect $users_8h-source.html 156,159 220,185 -rect $channels_8h-source.html 295,209 380,236 -rect $hashcomp_8h-source.html 141,412 235,439 -rect $ctables_8h-source.html 300,361 375,388 +rect $users_8h-source.html 568,463 632,489 +rect $channels_8h-source.html 684,361 769,388 +rect $hashcomp_8h-source.html 141,108 235,135 +rect $ctables_8h-source.html 300,209 375,236 +rect $inspircd_8h-source.html 439,235 519,261 rect $modules_8h-source.html 147,311 229,337 +rect $globals_8h-source.html 441,412 516,439 diff --git a/docs/module-doc/typedefs_8h__incl.md5 b/docs/module-doc/typedefs_8h__incl.md5 index 8fd87bc7b..c9e951c43 100644 --- a/docs/module-doc/typedefs_8h__incl.md5 +++ b/docs/module-doc/typedefs_8h__incl.md5 @@ -1 +1 @@ -1fe97cc4a91ebf3317aa83aa4ddd3f2d
\ No newline at end of file +137043db2e87cae486cf9cf5c587f147
\ No newline at end of file diff --git a/docs/module-doc/userprocess_8h-source.html b/docs/module-doc/userprocess_8h-source.html index 543a02f45..6b70a7635 100644 --- a/docs/module-doc/userprocess_8h-source.html +++ b/docs/module-doc/userprocess_8h-source.html @@ -20,7 +20,7 @@ <a name="l00011"></a>00011 <span class="keywordtype">void</span> <a class="code" href="userprocess_8h.html#ProcessUser_28userrec_20_2Acu_29">ProcessUser</a>(<a class="code" href="classuserrec.html">userrec</a>* cu); <a name="l00012"></a>00012 <a name="l00013"></a>00013 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/userprocess_8h.html b/docs/module-doc/userprocess_8h.html index e3f6af7d8..ad7540c5f 100644 --- a/docs/module-doc/userprocess_8h.html +++ b/docs/module-doc/userprocess_8h.html @@ -209,7 +209,7 @@ Include dependency graph for userprocess.h:<p><center><img src="userprocess_8h__ </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 25ddfcaed..c8a6138b9 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -29,7 +29,7 @@ <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="channels_8h.html">channels.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span> -<a name="l00023"></a>00023 <span class="preprocessor">#include "inspircd.h"</span> +<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="inspircd_8h.html">inspircd.h</a>"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include <stdio.h></span> <a name="l00025"></a>00025 <span class="preprocessor">#ifdef THREADED_DNS</span> <a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#include <pthread.h></span> @@ -53,7 +53,7 @@ <a name="l00044"></a>00044 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>); <a name="l00045"></a>00045 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>); <a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>); -<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(Config-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>); +<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)<a class="code" href="inspircd_8h.html#FindServerNamePtr_28std_3A_3Astring_20servername_29">FindServerNamePtr</a>(Config-><a class="code" href="classServerConfig.html#ServerName_5BMAXBUF_5D">ServerName</a>); <a name="l00048"></a>00048 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>); <a name="l00049"></a>00049 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>); <a name="l00050"></a>00050 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>; @@ -130,7 +130,7 @@ <a name="l00121"></a>00121 <a name="l00122"></a><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">00122</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel) <a name="l00123"></a>00123 { -<a name="l00124"></a>00124 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); +<a name="l00124"></a>00124 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>); <a name="l00125"></a>00125 <span class="keywordflow">if</span> (channel) <a name="l00126"></a>00126 { <a name="l00127"></a>00127 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size()) @@ -223,7 +223,7 @@ <a name="l00214"></a>00214 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() > (unsigned)this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>) <a name="l00215"></a>00215 { <a name="l00216"></a>00216 this-><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>); -<a name="l00217"></a>00217 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>); +<a name="l00217"></a>00217 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-><a class="code" href="classuserrec.html#recvqmax">recvqmax</a>); <a name="l00218"></a>00218 } <a name="l00219"></a>00219 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span> <a name="l00220"></a>00220 <span class="comment">// a carriage return (this is BAD, drop the socket)</span> @@ -266,7 +266,7 @@ <a name="l00257"></a>00257 <span class="keywordflow">return</span>; <a name="l00258"></a>00258 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() > (unsigned)this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>) <a name="l00259"></a>00259 { -<a name="l00260"></a>00260 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>); +<a name="l00260"></a>00260 <a class="code" href="globals_8h.html#WriteOpers_28char_20_2Atext_2C_2E_2E_2E_29">WriteOpers</a>(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this->nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-><a class="code" href="classuserrec.html#sendqmax">sendqmax</a>); <a name="l00261"></a>00261 this-><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>); <a name="l00262"></a>00262 <span class="keywordflow">return</span>; <a name="l00263"></a>00263 } @@ -300,7 +300,7 @@ <a name="l00291"></a>00291 <a name="l00292"></a><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">00292</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec::SetWriteError</a>(<a class="code" href="namespaceirc.html#string">std::string</a> error) <a name="l00293"></a>00293 { -<a name="l00294"></a>00294 log(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); +<a name="l00294"></a>00294 <a class="code" href="globals_8h.html#log_28int_20level_2C_20char_20_2Atext_2C_2E_2E_2E_29">log</a>(<a class="code" href="inspircd__io_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this->nick,error.c_str()); <a name="l00295"></a>00295 <span class="comment">// don't try to set the error twice, its already set take the first string.</span> <a name="l00296"></a>00296 <span class="keywordflow">if</span> (this->WriteError == <span class="stringliteral">""</span>) <a name="l00297"></a>00297 this-><a class="code" href="classuserrec.html#WriteError">WriteError</a> = error; @@ -310,7 +310,7 @@ <a name="l00301"></a>00301 { <a name="l00302"></a>00302 <span class="keywordflow">return</span> this-><a class="code" href="classuserrec.html#WriteError">WriteError</a>; <a name="l00303"></a>00303 } -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index e2253edbc..fadb9bd2f 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -11,7 +11,7 @@ <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> <code>#include "<a class="el" href="users_8h-source.html">users.h</a>"</code><br> -<code>#include "inspircd.h"</code><br> +<code>#include "<a class="el" href="inspircd_8h-source.html">inspircd.h</a>"</code><br> <code>#include <stdio.h></code><br> <code>#include "inspstring.h"</code><br> <code>#include "<a class="el" href="commands_8h-source.html">commands.h</a>"</code><br> @@ -20,10 +20,11 @@ <p> Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif" border="0" usemap="#users.cpp_map" alt=""></center> <map name="users.cpp_map"> -<area href="channels_8h-source.html" shape="rect" coords="408,132,493,159" alt=""> -<area href="connection_8h-source.html" shape="rect" coords="401,233,500,260" alt=""> -<area href="users_8h-source.html" shape="rect" coords="288,183,352,209" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="137,132,236,159" alt=""> +<area href="channels_8h-source.html" shape="rect" coords="408,159,493,185" alt=""> +<area href="connection_8h-source.html" shape="rect" coords="401,108,500,135" alt=""> +<area href="users_8h-source.html" shape="rect" coords="288,209,352,236" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="147,260,227,287" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="137,159,236,185" alt=""> </map> <p> @@ -82,7 +83,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8cpp__incl.gif b/docs/module-doc/users_8cpp__incl.gif Binary files differindex 5126e18e3..cf7ff8676 100644 --- a/docs/module-doc/users_8cpp__incl.gif +++ b/docs/module-doc/users_8cpp__incl.gif diff --git a/docs/module-doc/users_8cpp__incl.map b/docs/module-doc/users_8cpp__incl.map index 12be62e4b..622bc529e 100644 --- a/docs/module-doc/users_8cpp__incl.map +++ b/docs/module-doc/users_8cpp__incl.map @@ -1,5 +1,6 @@ base referer -rect $channels_8h-source.html 408,132 493,159 -rect $connection_8h-source.html 401,233 500,260 -rect $users_8h-source.html 288,183 352,209 -rect $commands_8h-source.html 137,132 236,159 +rect $channels_8h-source.html 408,159 493,185 +rect $connection_8h-source.html 401,108 500,135 +rect $users_8h-source.html 288,209 352,236 +rect $inspircd_8h-source.html 147,260 227,287 +rect $commands_8h-source.html 137,159 236,185 diff --git a/docs/module-doc/users_8cpp__incl.md5 b/docs/module-doc/users_8cpp__incl.md5 index e8c9aae41..024e4ea0f 100644 --- a/docs/module-doc/users_8cpp__incl.md5 +++ b/docs/module-doc/users_8cpp__incl.md5 @@ -1 +1 @@ -2fa94c1471f03be385dba85c3d44dac3
\ No newline at end of file +92d4da8a60e18559ac0cab66f6d1f6c6
\ No newline at end of file diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 160eea818..5fda18768 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -192,7 +192,7 @@ <a name="l00342"></a>00342 }; <a name="l00343"></a>00343 <a name="l00344"></a>00344 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 29b7734f4..7a9a08a0f 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -23,15 +23,17 @@ Include dependency graph for users.h:<p><center><img src="users_8h__incl.gif" bo <p> This graph shows which files directly or indirectly include this file:<p><center><img src="users_8h__dep__incl.gif" border="0" usemap="#users.hdep_map" alt=""></center> <map name="users.hdep_map"> -<area href="channels_8cpp-source.html" shape="rect" coords="277,83,376,109" alt=""> -<area href="modules_8cpp-source.html" shape="rect" coords="277,184,376,211" alt=""> -<area href="users_8cpp-source.html" shape="rect" coords="287,336,367,363" alt=""> -<area href="commands_8h-source.html" shape="rect" coords="125,311,224,337" alt=""> -<area href="message_8h-source.html" shape="rect" coords="132,57,217,84" alt=""> -<area href="mode_8h-source.html" shape="rect" coords="141,108,208,135" alt=""> -<area href="typedefs_8h-source.html" shape="rect" coords="132,209,217,236" alt=""> -<area href="userprocess_8h-source.html" shape="rect" coords="123,412,227,439" alt=""> -<area href="xline_8h-source.html" shape="rect" coords="144,159,205,185" alt=""> +<area href="channels_8cpp-source.html" shape="rect" coords="413,235,512,262" alt=""> +<area href="modules_8cpp-source.html" shape="rect" coords="413,387,512,414" alt=""> +<area href="users_8cpp-source.html" shape="rect" coords="280,362,360,388" alt=""> +<area href="commands_8h-source.html" shape="rect" coords="125,412,224,439" alt=""> +<area href="globals_8h-source.html" shape="rect" coords="137,184,212,211" alt=""> +<area href="typedefs_8h-source.html" shape="rect" coords="277,210,363,236" alt=""> +<area href="inspircd_8h-source.html" shape="rect" coords="135,311,215,338" alt=""> +<area href="message_8h-source.html" shape="rect" coords="277,58,363,84" alt=""> +<area href="mode_8h-source.html" shape="rect" coords="287,463,353,490" alt=""> +<area href="userprocess_8h-source.html" shape="rect" coords="123,666,227,692" alt=""> +<area href="xline_8h-source.html" shape="rect" coords="289,514,351,540" alt=""> </map> <p> @@ -144,7 +146,9 @@ Definition at line <a class="el" href="users_8h-source.html#l00035">35</a> of fi <p> <p> -Definition at line <a class="el" href="users_8h-source.html#l00030">30</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#l00030">30</a> of file <a class="el" href="users_8h-source.html">users.h</a>. +<p> +Referenced by <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>. </td> </tr> </table> <a class="anchor" name="STATUS_5FNORMAL"></a><!-- doxytag: member="users.h::STATUS_NORMAL" ref="STATUS_5FNORMAL" args="" --><p> @@ -277,7 +281,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line <a class="el" href="users_8h-source.html#l00097">97</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/users_8h__dep__incl.gif b/docs/module-doc/users_8h__dep__incl.gif Binary files differindex de6531f7e..e3890d199 100644 --- a/docs/module-doc/users_8h__dep__incl.gif +++ b/docs/module-doc/users_8h__dep__incl.gif diff --git a/docs/module-doc/users_8h__dep__incl.map b/docs/module-doc/users_8h__dep__incl.map index 8476fde3d..9323b24c7 100644 --- a/docs/module-doc/users_8h__dep__incl.map +++ b/docs/module-doc/users_8h__dep__incl.map @@ -1,10 +1,12 @@ base referer -rect $channels_8cpp-source.html 277,83 376,109 -rect $modules_8cpp-source.html 277,184 376,211 -rect $users_8cpp-source.html 287,336 367,363 -rect $commands_8h-source.html 125,311 224,337 -rect $message_8h-source.html 132,57 217,84 -rect $mode_8h-source.html 141,108 208,135 -rect $typedefs_8h-source.html 132,209 217,236 -rect $userprocess_8h-source.html 123,412 227,439 -rect $xline_8h-source.html 144,159 205,185 +rect $channels_8cpp-source.html 413,235 512,262 +rect $modules_8cpp-source.html 413,387 512,414 +rect $users_8cpp-source.html 280,362 360,388 +rect $commands_8h-source.html 125,412 224,439 +rect $globals_8h-source.html 137,184 212,211 +rect $typedefs_8h-source.html 277,210 363,236 +rect $inspircd_8h-source.html 135,311 215,338 +rect $message_8h-source.html 277,58 363,84 +rect $mode_8h-source.html 287,463 353,490 +rect $userprocess_8h-source.html 123,666 227,692 +rect $xline_8h-source.html 289,514 351,540 diff --git a/docs/module-doc/users_8h__dep__incl.md5 b/docs/module-doc/users_8h__dep__incl.md5 index 34eb02fef..76da854d5 100644 --- a/docs/module-doc/users_8h__dep__incl.md5 +++ b/docs/module-doc/users_8h__dep__incl.md5 @@ -1 +1 @@ -e4bee193bd70218d154c4fd5eeba5fa4
\ No newline at end of file +f25dbe6c6683cb78df35ea31b4525d24
\ No newline at end of file diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index 157a4ca95..f59cf1d1b 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -129,7 +129,7 @@ <a name="l00161"></a>00161 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">qline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nickname); <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="preprocessor">#endif</span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index d6d6a5705..84306949d 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -172,7 +172,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#l00663">Server::AddELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00655">Server::AddELine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_gline" ref="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p> @@ -223,7 +223,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00643">Server::AddGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00635">Server::AddGLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_kline" ref="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p> @@ -274,7 +274,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00643">Server::AddGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00658">Server::AddKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00650">Server::AddKLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::add_qline" ref="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29" args="(long duration, const char *source, const char *reason, const char *nickname)" --><p> @@ -325,7 +325,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00658">Server::AddKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00648">Server::AddQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00640">Server::AddQLine()</a>. </td> </tr> </table> <a class="anchor" name="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::add_zline" ref="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29" args="(long duration, const char *source, const char *reason, const char *ipaddr)" --><p> @@ -376,7 +376,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00648">Server::AddQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00653">Server::AddZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00645">Server::AddZLine()</a>. </td> </tr> </table> <a class="anchor" name="apply_5Flines_28const_20int_20What_29"></a><!-- doxytag: member="xline.h::apply_lines" ref="apply_5Flines_28const_20int_20What_29" args="(const int What)" --><p> @@ -434,7 +434,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00653">Server::AddZL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00688">Server::DelELine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00680">Server::DelELine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fgline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_gline" ref="del_5Fgline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p> @@ -464,7 +464,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00688">Server::DelEL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00668">Server::DelGLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00660">Server::DelGLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fkline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_kline" ref="del_5Fkline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p> @@ -494,7 +494,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00668">Server::DelGL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00683">Server::DelKLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00675">Server::DelKLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fqline_28const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::del_qline" ref="del_5Fqline_28const_20char_20_2Anickname_29" args="(const char *nickname)" --><p> @@ -524,7 +524,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00683">Server::DelKL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00673">Server::DelQLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00665">Server::DelQLine()</a>. </td> </tr> </table> <a class="anchor" name="del_5Fzline_28const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::del_zline" ref="del_5Fzline_28const_20char_20_2Aipaddr_29" args="(const char *ipaddr)" --><p> @@ -554,7 +554,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00673">Server::DelQL <p> <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l00678">Server::DelZLine()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00670">Server::DelZLine()</a>. </td> </tr> </table> <a class="anchor" name="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29"></a><!-- doxytag: member="xline.h::eline_set_creation_time" ref="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29" args="(char *host, time_t create_time)" --><p> @@ -1221,7 +1221,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00033">33</a> of fi Definition at line <a class="el" href="xline_8h-source.html#l00034">34</a> of file <a class="el" href="xline_8h-source.html">xline.h</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 15:55:47 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 14 19:16: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.4.4-20050815 </small></address> </body> |