From: brain Date: Sat, 24 Apr 2004 23:26:47 +0000 (+0000) Subject: Added new documentation for XLine etc X-Git-Tag: v2.0.23~10879 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=b25c31de6b8dd839429cb168f5731a5605e17366;p=user%2Fhenk%2Fcode%2Finspircd.git Added new documentation for XLine etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@718 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index cc703930d..8b7e4846e 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -18,21 +18,26 @@ ExemptItemA subclass of HostItem designed to hold channel exempts (+e) ExtMode FileReaderCaches a text file into memory and can be used to retrieve lines from it + GLineGLine class HostItemHolds an entry for a ban list, exemption list, or invite list InvitedHolds a channel name to which a user has been invited InviteItemA subclass of HostItem designed to hold channel invites (+I) ircd_connectorEach connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds + KLineKLine class ModeParameterHolds a custom parameter to a module-defined channel mode e.g ModuleBase class for all InspIRCd modules This class is the base class for InspIRCd modules ModuleFactoryInstantiates classes inherited from Module This class creates a class inherited from type Module, using new packetClass packet is deprecated + QLineQLine class ServerAllows 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 serverrecA class that defines the local server or a remote server ucrecHolds 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 userrecHolds all information about a user This class stores all information about a user connected to the irc server VersionHolds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module + XLineXLine is the base class for ban lines such as G lines and K lines + ZLineZLine class -
Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index 26b2d57a2..62b1f60c9 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -29,7 +29,7 @@ 00028 00029 #endif 00030 -
Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index 412d7cdc6..24aa69458 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -15,16 +15,10 @@ Include dependency graph for base.h:

This graph shows which files directly or indirectly include this file:

Included by dependency graph
- - - - - - - - - - + + + +

@@ -34,7 +28,7 @@ This graph shows which files directly or indirectly include this file:

class  classbase  The base class for all inspircd classes. More...

-
Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:06 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/base_8h__dep__incl.gif b/docs/module-doc/base_8h__dep__incl.gif index bdb0299db..9e8ef8d3e 100644 Binary files a/docs/module-doc/base_8h__dep__incl.gif and b/docs/module-doc/base_8h__dep__incl.gif differ diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 7d1f6fba2..d70e9b5a5 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -106,7 +106,7 @@ 00098 } 00099 return std::string(""); 00100 } -
Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 77e17bc91..2a229bf17 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -55,7 +55,7 @@ Definition at line 10 Referenced by chanrec::GetModeParameter(), and chanrec::SetCustomModeParam(). -
Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:06 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 164ed5be6..507e129e9 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -129,7 +129,7 @@ 00207 00208 #endif 00209 -
Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 6cb720db5..3896ba87a 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -21,9 +21,14 @@ Include dependency graph for channels.h:

Included by dependency graph
- - - + + + + + + + +

@@ -258,7 +263,7 @@ Holds a complete invite list. Definition at line 77 of file channels.h. -


Generated on Mon Apr 19 02:34:34 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:07 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8h__dep__incl.gif b/docs/module-doc/channels_8h__dep__incl.gif index ebb5cea13..c8c5064e3 100644 Binary files a/docs/module-doc/channels_8h__dep__incl.gif and b/docs/module-doc/channels_8h__dep__incl.gif differ diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index f6d77c6ae..5b261800b 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -14,7 +14,7 @@ NameAdmin NickAdmin ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:15 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index b94f232b4..7d956eae6 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -79,9 +79,9 @@ Definition at line 80 of

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

-

00108 : Name(name), Email(email), Nick(nick) { };
+
00109 : Name(name), Email(email), Nick(nick) { };
 
@@ -160,7 +160,7 @@ Definition at line 83 of
The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:15 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 459cdd419..4693f918e 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 4ea556c20..018afbffb 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -31,7 +31,7 @@ A subclass of HostItem designed to h

Definition at line 34 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:39 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 3000c6ebb..d737a2e8e 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -19,7 +19,7 @@ Verify()ConfigReader ~classbase()classbase [inline] ~ConfigReader()ConfigReader -
Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:18 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 957309bf3..7ce292506 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -49,7 +49,7 @@ It may either be instantiated with one parameter or none. Constructing the class

-Definition at line 497 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 516 of file modules.h.

Constructor & Destructor Documentation

@@ -79,14 +79,14 @@ Default constructor.

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

-Definition at line 336 of file modules.cpp. +Definition at line 343 of file modules.cpp.

-References cache, and error. +References cache, and error.

-

00337 {
-00338         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00339         this->error = LoadConf(CONFIG_FILE,this->cache);
-00340 }
+
00344 {
+00345         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00346         this->error = LoadConf(CONFIG_FILE,this->cache);
+00347 }
 
@@ -120,14 +120,14 @@ Overloaded constructor.

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

-Definition at line 350 of file modules.cpp. +Definition at line 357 of file modules.cpp.

-References cache, and error. +References cache, and error.

-

00351 {
-00352         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00353         this->error = LoadConf(filename.c_str(),this->cache);
-00354 };
+
00358 {
+00359         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00360         this->error = LoadConf(filename.c_str(),this->cache);
+00361 };
 
@@ -160,14 +160,14 @@ Default destructor.

This method destroys the ConfigReader class.

-Definition at line 343 of file modules.cpp. +Definition at line 350 of file modules.cpp.

-References cache. +References cache.

-

00344 {
-00345         if (this->cache)
-00346                 delete this->cache;
-00347 }
+
00351 {
+00352         if (this->cache)
+00353                 delete this->cache;
+00354 }
 
@@ -202,11 +202,11 @@ Counts the number of times a given tag appears in the config file.

This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of ConfigReader::ReadValue to loop through all copies of a multiple instance tag.

-Definition at line 364 of file modules.cpp. +Definition at line 375 of file modules.cpp.

-

00365 {
-00366         return EnumConf(cache,tag.c_str());
-00367 }
+
00376 {
+00377         return EnumConf(cache,tag.c_str());
+00378 }
 
@@ -249,11 +249,11 @@ Returns the number of items within a tag.

For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values.

-Definition at line 369 of file modules.cpp. +Definition at line 380 of file modules.cpp.

-

00370 {
-00371         return EnumValues(cache, tag.c_str(), index);
-00372 }
+
00381 {
+00382         return EnumValues(cache, tag.c_str(), index);
+00383 }
 
@@ -302,13 +302,17 @@ Retrieves a value from the config file.

This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.

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

-

00357 {
-00358         char val[MAXBUF];
-00359         ReadConf(cache,tag.c_str(),name.c_str(),index,val);
-00360         return val;
-00361 }
+
00364 {
+00365         char val[MAXBUF];
+00366         char t[MAXBUF];
+00367         char n[MAXBUF];
+00368         strncpy(t,tag.c_str(),MAXBUF);
+00369         strncpy(n,name.c_str(),MAXBUF);
+00370         ReadConf(cache,t,n,index,val);
+00371         return std::string(val);
+00372 }
 
@@ -341,13 +345,13 @@ Returns true if a config file is valid.

This method is partially implemented and will only return false if the config file does not exist or could not be opened.

-Definition at line 374 of file modules.cpp. +Definition at line 385 of file modules.cpp.

-References error. +References error.

-

00375 {
-00376         return this->error;
-00377 }
+
00386 {
+00387         return this->error;
+00388 }
 
@@ -375,9 +379,9 @@ The contents of the configuration file This protected member should never be acc

It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.

-Definition at line 505 of file modules.h. +Definition at line 524 of file modules.h.

-Referenced by ConfigReader(), and ~ConfigReader(). +Referenced by ConfigReader(), and ~ConfigReader().

@@ -403,14 +407,14 @@ Used to store errors.

-Definition at line 508 of file modules.h. +Definition at line 527 of file modules.h.

-Referenced by ConfigReader(), and Verify(). +Referenced by ConfigReader(), and Verify().


The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:18 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 962e61ad1..520ecdd37 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -16,7 +16,7 @@ registration_timeoutConnectClass typeConnectClass ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:19 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 8a4923d72..ec63ed69c 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -212,7 +212,7 @@ Definition at line 39 of fi
The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:19 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index dd87d9654..6fd7d328d 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 5dafcd9fd..a9a7840fc 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -31,7 +31,7 @@ A subclass of HostItem designed to h

Definition at line 42 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index e25fbf3de..3b9e9e1f3 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -16,7 +16,7 @@ params_when_onExtMode typeExtMode ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index 037549856..fad9ba7d9 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -81,9 +81,9 @@

-Definition at line 28 of file modules.cpp. +Definition at line 29 of file modules.cpp.

-

00028 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
+
00029 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
 
@@ -109,7 +109,7 @@ Definition at line 28 o

-Definition at line 23 of file modules.cpp. +Definition at line 24 of file modules.cpp.

@@ -133,7 +133,7 @@ Definition at line 23 o

-Definition at line 27 of file modules.cpp. +Definition at line 28 of file modules.cpp.

@@ -157,7 +157,7 @@ Definition at line 27 o

-Definition at line 26 of file modules.cpp. +Definition at line 27 of file modules.cpp.

@@ -181,7 +181,7 @@ Definition at line 26 o

-Definition at line 25 of file modules.cpp. +Definition at line 26 of file modules.cpp.

@@ -205,12 +205,12 @@ Definition at line 25 o

-Definition at line 24 of file modules.cpp. +Definition at line 25 of file modules.cpp.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 76009aff5..142eb4986 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -18,7 +18,7 @@ LoadFile(std::string filename)FileReader ~classbase()classbase [inline] ~FileReader()FileReader -
Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index e54355d2e..26685712d 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -46,7 +46,7 @@ This class contains methods for read-only manipulation of a text file in memory.

-Definition at line 557 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 576 of file modules.h.

Constructor & Destructor Documentation

@@ -76,10 +76,10 @@ Default constructor.

This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.

-Definition at line 387 of file modules.cpp. +Definition at line 398 of file modules.cpp.

-

00388 {
-00389 }
+
00399 {
+00400 }
 
@@ -113,15 +113,15 @@ Secondary constructor.

This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.

-Definition at line 380 of file modules.cpp. +Definition at line 391 of file modules.cpp.

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

-

00381 {
-00382         file_cache c;
-00383         readfile(c,filename.c_str());
-00384         this->fc = c;
-00385 }
+
00392 {
+00393         file_cache c;
+00394         readfile(c,filename.c_str());
+00395         this->fc = c;
+00396 }
 
@@ -154,10 +154,10 @@ Default destructor.

This deletes the memory allocated to the file.

-Definition at line 399 of file modules.cpp. +Definition at line 410 of file modules.cpp.

-

00400 {
-00401 }
+
00411 {
+00412 }
 
@@ -191,20 +191,20 @@ Returns true if the file exists This function will return false if the file coul

-Definition at line 403 of file modules.cpp. +Definition at line 414 of file modules.cpp.

-References fc. +References fc.

-

00404 {
-00405         if (fc.size() == 0)
-00406         {
-00407                 return(false);
-00408         }
-00409         else
-00410         {
-00411                 return(true);
-00412         }
-00413 }
+
00415 {
+00416         if (fc.size() == 0)
+00417         {
+00418                 return(false);
+00419         }
+00420         else
+00421         {
+00422                 return(true);
+00423         }
+00424 }
 
@@ -237,13 +237,13 @@ Returns the size of the file in lines.

This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.

-Definition at line 422 of file modules.cpp. +Definition at line 433 of file modules.cpp.

-References fc. +References fc.

-

00423 {
-00424         return fc.size();
-00425 }
+
00434 {
+00435         return fc.size();
+00436 }
 
@@ -277,15 +277,15 @@ Retrieve one line from the file.

This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.

-Definition at line 415 of file modules.cpp. +Definition at line 426 of file modules.cpp.

-References fc. +References fc.

-

00416 {
-00417         if ((x<0) || (x>fc.size()))
-00418                 return "";
-00419         return fc[x];
-00420 }
+
00427 {
+00428         if ((x<0) || (x>fc.size()))
+00429                 return "";
+00430         return fc[x];
+00431 }
 
@@ -319,15 +319,15 @@ Used to load a file.

This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.

-Definition at line 391 of file modules.cpp. +Definition at line 402 of file modules.cpp.

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

-

00392 {
-00393         file_cache c;
-00394         readfile(c,filename.c_str());
-00395         this->fc = c;
-00396 }
+
00403 {
+00404         file_cache c;
+00405         readfile(c,filename.c_str());
+00406         this->fc = c;
+00407 }
 
@@ -353,14 +353,14 @@ References fc, and

-Definition at line 559 of file modules.h. +Definition at line 578 of file modules.h.

-Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile(). +Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().


The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:44 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html new file mode 100644 index 000000000..c43f961c3 --- /dev/null +++ b/docs/module-doc/classGLine-members.html @@ -0,0 +1,24 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

GLine Member List

This is the complete list of members for GLine, including all inherited members. + + + + + + + + + +
ageclassbase
classbase()classbase [inline]
durationXLine
hostmaskGLine
n_matchesXLine
reasonXLine
set_timeXLine
sourceXLine
~classbase()classbase [inline]

Generated on Sun Apr 25 00:24:22 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html new file mode 100644 index 000000000..68619d9ff --- /dev/null +++ b/docs/module-doc/classGLine.html @@ -0,0 +1,69 @@ + + +GLine class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

GLine Class Reference

GLine class. +More... +

+#include <xline.h> +

+Inheritance diagram for GLine:

Inheritance graph
+ + + + +
[legend]
Collaboration diagram for GLine:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + +

Public Attributes

char hostmask [MAXBUF]
 Hostmask (ident) to match against May contain wildcards.

+

Detailed Description

+GLine class. +

+ +

+Definition at line 57 of file xline.h.


Member Data Documentation

+

+ + + + +
+ + +
char GLine::hostmask[MAXBUF] +
+
+ + + + + +
+   + + +

+Hostmask (ident) to match against May contain wildcards. +

+ +

+Definition at line 63 of file xline.h.

+


The documentation for this class was generated from the following file: +
Generated on Sun Apr 25 00:24:22 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classGLine__coll__graph.gif b/docs/module-doc/classGLine__coll__graph.gif new file mode 100644 index 000000000..6fe1ee2fb Binary files /dev/null and b/docs/module-doc/classGLine__coll__graph.gif differ diff --git a/docs/module-doc/classGLine__inherit__graph.gif b/docs/module-doc/classGLine__inherit__graph.gif new file mode 100644 index 000000000..90baf7cb8 Binary files /dev/null and b/docs/module-doc/classGLine__inherit__graph.gif differ diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index acaf78e2d..92f41a0fc 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 87d207745..a25b2dd24 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -181,7 +181,7 @@ Definition at line 21 of
The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 76f57fd1f..2a361084a 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -15,7 +15,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Mon Apr 19 02:34:46 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index ed6230044..0645acc41 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -31,7 +31,7 @@ A subclass of HostItem designed to h

Definition at line 50 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:46 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index c59f5f966..1b7aeb428 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -11,7 +11,7 @@ channelInvited classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 0f6360a13..fe1674047 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -58,7 +58,7 @@ Referenced by userrec::Invite
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 19 02:34:45 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:23 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html new file mode 100644 index 000000000..5655fa429 --- /dev/null +++ b/docs/module-doc/classKLine-members.html @@ -0,0 +1,24 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

KLine Member List

This is the complete list of members for KLine, including all inherited members. + + + + + + + + + +
ageclassbase
classbase()classbase [inline]
durationXLine
hostmaskKLine
n_matchesXLine
reasonXLine
set_timeXLine
sourceXLine
~classbase()classbase [inline]

Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html new file mode 100644 index 000000000..e282aa4da --- /dev/null +++ b/docs/module-doc/classKLine.html @@ -0,0 +1,69 @@ + + +KLine class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

KLine Class Reference

KLine class. +More... +

+#include <xline.h> +

+Inheritance diagram for KLine:

Inheritance graph
+ + + + +
[legend]
Collaboration diagram for KLine:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + +

Public Attributes

char hostmask [MAXBUF]
 Hostmask (ident) to match against May contain wildcards.

+

Detailed Description

+KLine class. +

+ +

+Definition at line 46 of file xline.h.


Member Data Documentation

+

+ + + + +
+ + +
char KLine::hostmask[MAXBUF] +
+
+ + + + + +
+   + + +

+Hostmask (ident) to match against May contain wildcards. +

+ +

+Definition at line 52 of file xline.h.

+


The documentation for this class was generated from the following file: +
Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classKLine__coll__graph.gif b/docs/module-doc/classKLine__coll__graph.gif new file mode 100644 index 000000000..2a231b9fb Binary files /dev/null and b/docs/module-doc/classKLine__coll__graph.gif differ diff --git a/docs/module-doc/classKLine__inherit__graph.gif b/docs/module-doc/classKLine__inherit__graph.gif new file mode 100644 index 000000000..cb0b9709f Binary files /dev/null and b/docs/module-doc/classKLine__inherit__graph.gif differ diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index b058e2092..c2ce04621 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -13,7 +13,7 @@ modeModeParameter parameterModeParameter ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index d298daffe..ad95f1839 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -114,7 +114,7 @@ Referenced by chanrec::Set
The documentation for this class was generated from the following file:
-
Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:25 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 867e8649c..827c27e18 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -23,12 +23,13 @@ OnUserPart(userrec *user, chanrec *channel)Module [virtual] OnUserPreJoin(userrec *user, chanrec *chan, const char *cname)Module [virtual] OnUserPreMessage(userrec *user, void *dest, int target_type, std::string text)Module [virtual] + OnUserPreNick(userrec *user, std::string newnick)Module [virtual] OnUserPreNotice(userrec *user, void *dest, int target_type, std::string text)Module [virtual] OnUserQuit(userrec *user)Module [virtual] OnWhois(userrec *source, userrec *dest)Module [virtual] ~classbase()classbase [inline] ~Module()Module [virtual] -
Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index c8ec9c50a..4f581e825 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -58,6 +58,8 @@ Inheritance diagram for Module:



virtual int OnUserPreNotice (userrec *user, void *dest, int target_type, std::string text)  Called whenever a user is about to NOTICE A user or a channel, before any processing is done.

+virtual int OnUserPreNick (userrec *user, std::string newnick) + Called before any nickchange, local or remote.


Detailed Description

Base class for all InspIRCd modules This class is the base class for InspIRCd modules. @@ -96,9 +98,9 @@ Default constructor creates a module class.

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

-

00110 { }
+
00111 { }
 
@@ -131,9 +133,9 @@ Default destructor destroys a module class.

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

-

00111 { }
+
00112 { }
 
@@ -167,9 +169,9 @@ Returns the version number of a Module.

The method should return a Version object with its version information assigned via Version::Version

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

-

00122 { return Version(1,0,0,0); }
+
00123 { return Version(1,0,0,0); }
 
@@ -236,9 +238,9 @@ Called whenever an extended mode is to be processed.

The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with Server::AddExtendedMode If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.

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

-

00121 { return false; }
+
00122 { return false; }
 
@@ -273,9 +275,9 @@ Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:

:information here

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

-

00124 { };
+
00125 { };
 
@@ -309,9 +311,9 @@ Called whenever a user opers locally.

The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.

-Definition at line 123 of file modules.cpp. +Definition at line 124 of file modules.cpp.

-

00123 { };
+
00124 { };
 
@@ -345,9 +347,9 @@ Called after a packet is received from another irc server.

The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.

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

-

00117 { }
+
00118 { }
 
@@ -381,9 +383,9 @@ Called before a packet is transmitted across the irc network between two irc ser

The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.

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

-

00116 { }
+
00117 { }
 
@@ -416,9 +418,9 @@ Called on rehash.

This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.

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

-

00118 { }
+
00119 { }
 
@@ -461,9 +463,9 @@ Called when a raw command is transmitted or received.

This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed.

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

-

00119 { }
+
00120 { }
 
@@ -497,9 +499,9 @@ Called when a user connects.

The details of the connecting user are available to you in the parameter userrec *user

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

-

00112 { }
+
00113 { }
 
@@ -542,9 +544,9 @@ Called when a user joins a channel.

The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel

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

-

00114 { }
+
00115 { }
 
@@ -587,9 +589,9 @@ Called when a user parts a channel.

The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel

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

-

00115 { }
+
00116 { }
 
@@ -640,9 +642,9 @@ Returning any nonzero value from this function stops the process immediately, ca IMPORTANT NOTE!

If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.

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

-

00120 { return 0; }
+
00121 { return 0; }
 
@@ -697,9 +699,54 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce

Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.

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

-

00126 { return 0; };
+
00127 { return 0; };
+
+ + +

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int Module::OnUserPreNick userrec  user,
std::string   newnick
[virtual]
+
+ + + +
+   + + +

+Called before any nickchange, local or remote. +

+This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output. +

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

+

00129 { return 0; };
 
@@ -754,9 +801,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces

Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.

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

-

00127 { return 0; };
+
00128 { return 0; };
 
@@ -790,9 +837,9 @@ Called when a user quits.

The details of the exiting user are available to you in the parameter userrec *user

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

-

00113 { }
+
00114 { }
 
@@ -835,15 +882,15 @@ Called whenever a /WHOIS is performed on a local user.

The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.

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

-

00125 { };
+
00126 { };
 

The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:26 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 7082fd5f3..000cf186e 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -13,7 +13,7 @@ ModuleFactory()ModuleFactory [inline] ~classbase()classbase [inline] ~ModuleFactory()ModuleFactory [inline, virtual] -
Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index d9c9372f5..af0e80139 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -34,7 +34,7 @@ This is to allow for modules to create many different variants of

-Definition at line 612 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 631 of file modules.h.

Constructor & Destructor Documentation

@@ -62,9 +62,9 @@ Definition at line 612 of

-Definition at line 615 of file modules.h. +Definition at line 634 of file modules.h.

-

00615 { }
+
00634 { }
 
@@ -95,9 +95,9 @@ Definition at line 615 of

-Definition at line 616 of file modules.h. +Definition at line 635 of file modules.h.

-

00616 { }
+
00635 { }
 
@@ -134,7 +134,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h -
Generated on Mon Apr 19 02:34:48 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html new file mode 100644 index 000000000..3aaca9ebb --- /dev/null +++ b/docs/module-doc/classQLine-members.html @@ -0,0 +1,24 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

QLine Member List

This is the complete list of members for QLine, including all inherited members. + + + + + + + + + +
ageclassbase
classbase()classbase [inline]
durationXLine
n_matchesXLine
nickQLine
reasonXLine
set_timeXLine
sourceXLine
~classbase()classbase [inline]

Generated on Sun Apr 25 00:24:28 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html new file mode 100644 index 000000000..9e4c7231f --- /dev/null +++ b/docs/module-doc/classQLine.html @@ -0,0 +1,69 @@ + + +QLine class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

QLine Class Reference

QLine class. +More... +

+#include <xline.h> +

+Inheritance diagram for QLine:

Inheritance graph
+ + + + +
[legend]
Collaboration diagram for QLine:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + +

Public Attributes

char nick [MAXBUF]
 Nickname to match against.

+

Detailed Description

+QLine class. +

+ +

+Definition at line 79 of file xline.h.


Member Data Documentation

+

+ + + + +
+ + +
char QLine::nick[MAXBUF] +
+
+ + + + + +
+   + + +

+Nickname to match against. +

+May contain wildcards. +

+Definition at line 85 of file xline.h.

+


The documentation for this class was generated from the following file: +
Generated on Sun Apr 25 00:24:28 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classQLine__coll__graph.gif b/docs/module-doc/classQLine__coll__graph.gif new file mode 100644 index 000000000..3105b9f63 Binary files /dev/null and b/docs/module-doc/classQLine__coll__graph.gif differ diff --git a/docs/module-doc/classQLine__inherit__graph.gif b/docs/module-doc/classQLine__inherit__graph.gif new file mode 100644 index 000000000..d1a43909c Binary files /dev/null and b/docs/module-doc/classQLine__inherit__graph.gif differ diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 0280ee904..aa1d85e03 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -24,6 +24,7 @@ GetNetworkName()Server [virtual] GetServerName()Server [virtual] IsNick(std::string nick)Server [virtual] + IsUlined(std::string server)Server [virtual] JoinUserToChannel(userrec *user, std::string cname, std::string key)Server [virtual] Log(int level, std::string s)Server [virtual] MatchText(std::string sliteral, std::string spattern)Server [virtual] @@ -42,7 +43,7 @@ Server()Server ~classbase()classbase [inline] ~Server()Server [virtual] -
Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 73835e18e..b0f90ba36 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -86,6 +86,8 @@ Inheritance diagram for Server:



virtual void ChangeGECOS (userrec *user, std::string gecos)  Change GECOS (fullname) of a user.

+virtual bool IsUlined (std::string server) + Returns true if the servername you give is ulined.


Detailed Description

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

-Definition at line 241 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 250 of file modules.h.

Constructor & Destructor Documentation

@@ -124,10 +126,10 @@ Default constructor.

Creates a Server object.

-Definition at line 133 of file modules.cpp. +Definition at line 135 of file modules.cpp.

-

00134 {
-00135 }
+
00136 {
+00137 }
 
@@ -160,10 +162,10 @@ Default destructor.

Destroys a Server object.

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

-

00138 {
-00139 }
+
00140 {
+00141 }
 
@@ -218,16 +220,16 @@ Definition at line 137 Adds a command to the command table.

This allows modules to add extra commands into the command table. You must place a function within your module which is is of type handlerfunc:

-typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)

+typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)

When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'.

-Definition at line 190 of file modules.cpp. +Definition at line 197 of file modules.cpp.

References createcommand().

-

00191 {
-00192         createcommand(cmd,f,flags,minparams);
-00193 }
+
00198 {
+00199         createcommand(cmd,f,flags,minparams);
+00200 }
 
@@ -288,28 +290,28 @@ Adds an extended mode letter which is parsed by a module This allows modules to

+x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects.

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

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

-

00311 {
-00312         if (type == MT_SERVER)
-00313         {
-00314                 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
-00315                 return false;
-00316         }
-00317         if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-00318         {
-00319                 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
-00320                 return false;
-00321         }
-00322         if ((params_when_on>1) || (params_when_off>1))
-00323         {
-00324                 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
-00325                 return false;
-00326         }
-00327         return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-00328 }
+Definition at line 317 of file modules.cpp.
+

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

+

00318 {
+00319         if (type == MT_SERVER)
+00320         {
+00321                 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion");
+00322                 return false;
+00323         }
+00324         if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+00325         {
+00326                 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported");
+00327                 return false;
+00328         }
+00329         if ((params_when_on>1) || (params_when_off>1))
+00330         {
+00331                 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported");
+00332                 return false;
+00333         }
+00334         return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+00335 }
 
@@ -365,11 +367,11 @@ Calls the handler for a command, either implemented by the core or by another mo You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or
) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih AddCommand(). The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc.

-Definition at line 180 of file modules.cpp. +Definition at line 187 of file modules.cpp.

-

00181 {
-00182         call_handler(commandname.c_str(),parameters,pcnt,user);
-00183 }
+
00188 {
+00189         call_handler(commandname.c_str(),parameters,pcnt,user);
+00190 }
 
@@ -412,11 +414,13 @@ Change GECOS (fullname) of a user.

You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers.

-Definition at line 268 of file modules.cpp. +Definition at line 275 of file modules.cpp. +

+References ChangeName().

-

00269 {
-00270         ChangeName(user,gecos.c_str());
-00271 }
+
00276 {
+00277         ChangeName(user,gecos.c_str());
+00278 }
 
@@ -459,11 +463,13 @@ Change displayed hostname of a user.

You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers.

-Definition at line 263 of file modules.cpp. +Definition at line 270 of file modules.cpp. +

+References ChangeDisplayedHost().

-

00264 {
-00265         ChangeDisplayedHost(user,host.c_str());
-00266 }
+
00271 {
+00272         ChangeDisplayedHost(user,host.c_str());
+00273 }
 
@@ -506,11 +512,11 @@ Forces a user nickchange.

This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it.

-Definition at line 169 of file modules.cpp. +Definition at line 171 of file modules.cpp.

-

00170 {
-00171         force_nickchange(user,nickname.c_str());
-00172 }
+
00172 {
+00173         force_nickchange(user,nickname.c_str());
+00174 }
 
@@ -553,11 +559,13 @@ Attempts to look up a user's privilages on a channel.

This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.

-Definition at line 288 of file modules.cpp. +Definition at line 295 of file modules.cpp.

-

00289 {
-00290         return cmode(User,Chan);
-00291 }
+References cmode().
+

+

00296 {
+00297         return cmode(User,Chan);
+00298 }
 
@@ -600,11 +608,13 @@ Returns true if two users share a common channel.

This method is used internally by the NICK and QUIT commands, and the Server::SendCommon method.

-Definition at line 241 of file modules.cpp. +Definition at line 248 of file modules.cpp. +

+References common_channels().

-

00242 {
-00243         return (common_channels(u1,u2) != 0);
-00244 }
+
00249 {
+00250         return (common_channels(u1,u2) != 0);
+00251 }
 
@@ -638,11 +648,11 @@ Returns a count of the number of users on a channel.

This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.

-Definition at line 330 of file modules.cpp. +Definition at line 337 of file modules.cpp.

-

00331 {
-00332         return usercount(c);
-00333 }
+
00338 {
+00339         return usercount(c);
+00340 }
 
@@ -676,11 +686,11 @@ Attempts to look up a channel and return a pointer to it.

This function will return NULL if the channel does not exist.

-Definition at line 283 of file modules.cpp. +Definition at line 290 of file modules.cpp.

-

00284 {
-00285         return FindChan(channel.c_str());
-00286 }
+
00291 {
+00292         return FindChan(channel.c_str());
+00293 }
 
@@ -714,11 +724,11 @@ Attempts to look up a nick and return a pointer to it.

This function will return NULL if the nick does not exist.

-Definition at line 278 of file modules.cpp. +Definition at line 285 of file modules.cpp.

-

00279 {
-00280         return Find(nick);
-00281 }
+
00286 {
+00287         return Find(nick);
+00288 }
 
@@ -751,11 +761,11 @@ Returns the information of the server as returned by the /ADMIN command.

See the Admin class for further information of the return value. The members Admin::Nick, Admin::Email and Admin::Name contain the information for the server where the module is loaded.

-Definition at line 303 of file modules.cpp. +Definition at line 310 of file modules.cpp.

-

00304 {
-00305         return Admin(getadminname(),getadminemail(),getadminnick());
-00306 }
+
00311 {
+00312         return Admin(getadminname(),getadminemail(),getadminnick());
+00313 }
 
@@ -788,11 +798,11 @@ Returns the network name, global to all linked servers.

-Definition at line 298 of file modules.cpp. +Definition at line 305 of file modules.cpp.

-

00299 {
-00300         return getnetworkname();
-00301 }
+
00306 {
+00307         return getnetworkname();
+00308 }
 
@@ -825,11 +835,11 @@ Returns the server name of the server where the module is loaded.

-Definition at line 293 of file modules.cpp. +Definition at line 300 of file modules.cpp.

-

00294 {
-00295         return getservername();
-00296 }
+
00301 {
+00302         return getservername();
+00303 }
 
@@ -863,11 +873,53 @@ Returns true if a nick is valid.

Nicks for unregistered connections will return false.

-Definition at line 273 of file modules.cpp. +Definition at line 280 of file modules.cpp. +

+References isnick(). +

+

00281 {
+00282         return (isnick(nick.c_str()) != 0);
+00283 }
+
+ + +

+ + + + +
+ + + + + + + + + + +
bool Server::IsUlined std::string   server [virtual]
+
+ + + +
+   + + +

+Returns true if the servername you give is ulined. +

+ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner. +

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

+References is_uline().

-

00274 {
-00275         return (isnick(nick.c_str()) != 0);
-00276 }
+
00183 {
+00184         return is_uline(server.c_str());
+00185 }
 
@@ -916,11 +968,11 @@ Forces a user to join a channel.

This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL.

-Definition at line 159 of file modules.cpp. +Definition at line 161 of file modules.cpp.

-

00160 {
-00161         return add_channel(user,cname.c_str(),key.c_str(),true);
-00162 }
+
00162 {
+00163         return add_channel(user,cname.c_str(),key.c_str(),true);
+00164 }
 
@@ -963,11 +1015,11 @@ Writes a log string.

This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.

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

-

00186 {
-00187         log(level,"%s",s.c_str());
-00188 }
+
00193 {
+00194         log(level,"%s",s.c_str());
+00195 }
 
@@ -1010,14 +1062,14 @@ Matches text against a glob pattern.

Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise.

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

-

00147 {
-00148         char literal[MAXBUF],pattern[MAXBUF];
-00149         strncpy(literal,sliteral.c_str(),MAXBUF);
-00150         strncpy(pattern,spattern.c_str(),MAXBUF);
-00151         return match(literal,pattern);
-00152 }
+
00149 {
+00150         char literal[MAXBUF],pattern[MAXBUF];
+00151         strncpy(literal,sliteral.c_str(),MAXBUF);
+00152         strncpy(pattern,spattern.c_str(),MAXBUF);
+00153         return match(literal,pattern);
+00154 }
 
@@ -1066,11 +1118,11 @@ Forces a user to part a channel.

This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version.

-Definition at line 164 of file modules.cpp. +Definition at line 166 of file modules.cpp.

-

00165 {
-00166         return del_channel(user,cname.c_str(),reason.c_str(),false);
-00167 }
+
00167 {
+00168         return del_channel(user,cname.c_str(),reason.c_str(),false);
+00169 }
 
@@ -1115,14 +1167,14 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa WARNING!

Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler.

-Definition at line 174 of file modules.cpp. +Definition at line 176 of file modules.cpp.

-References userrec::nick. +References userrec::nick, and send_network_quit().

-

00175 {
-00176         send_network_quit(user->nick,reason.c_str());
-00177         kill_link(user,reason.c_str());
-00178 }
+
00177 {
+00178         send_network_quit(user->nick,reason.c_str());
+00179         kill_link(user,reason.c_str());
+00180 }
 
@@ -1165,11 +1217,11 @@ Sends a line of text down a TCP/IP socket.

This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.

-Definition at line 200 of file modules.cpp. +Definition at line 207 of file modules.cpp.

-

00201 {
-00202         Write(Socket,"%s",s.c_str());
-00203 }
+
00208 {
+00209         Write(Socket,"%s",s.c_str());
+00210 }
 
@@ -1224,18 +1276,18 @@ Sends text from a user to a channel (mulicast).

This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).

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

-

00230 {
-00231         if (IncludeSender)
-00232         {
-00233                 WriteChannel(Channel,User,"%s",s.c_str());
-00234         }
-00235         else
-00236         {
-00237                 ChanExceptSender(Channel,User,"%s",s.c_str());
-00238         }
-00239 }
+Definition at line 236 of file modules.cpp.
+

+

00237 {
+00238         if (IncludeSender)
+00239         {
+00240                 WriteChannel(Channel,User,"%s",s.c_str());
+00241         }
+00242         else
+00243         {
+00244                 ChanExceptSender(Channel,User,"%s",s.c_str());
+00245         }
+00246 }
 
@@ -1284,18 +1336,18 @@ Sends text from a user to one or more channels (mulicast).

This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.

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

-

00247 {
-00248         if (IncludeSender)
-00249         {
-00250                 WriteCommon(User,"%s",text.c_str());
-00251         }
-00252         else
-00253         {
-00254                 WriteCommonExcept(User,"%s",text.c_str());
-00255         }
-00256 }
+Definition at line 253 of file modules.cpp.
+

+

00254 {
+00255         if (IncludeSender)
+00256         {
+00257                 WriteCommon(User,"%s",text.c_str());
+00258         }
+00259         else
+00260         {
+00261                 WriteCommonExcept(User,"%s",text.c_str());
+00262         }
+00263 }
 
@@ -1344,11 +1396,11 @@ Sends text from a user to a socket.

This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)

-Definition at line 210 of file modules.cpp. +Definition at line 217 of file modules.cpp.

-

00211 {
-00212         WriteFrom(Socket,User,"%s",s.c_str());
-00213 }
+
00218 {
+00219         WriteFrom(Socket,User,"%s",s.c_str());
+00220 }
 
@@ -1404,13 +1456,13 @@ modes[2] = user->nick;

Srv->SendMode(modes,3,user);

The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!

-Definition at line 195 of file modules.cpp. +Definition at line 202 of file modules.cpp.

References server_mode().

-

00196 {
-00197         server_mode(parameters,pcnt,user);
-00198 }
+
00203 {
+00204         server_mode(parameters,pcnt,user);
+00205 }
 
@@ -1444,11 +1496,11 @@ Sends text to all opers.

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

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

-

00142 {
-00143         WriteOpers("%s",s.c_str());
-00144 }
+
00144 {
+00145         WriteOpers("%s",s.c_str());
+00146 }
 
@@ -1491,11 +1543,11 @@ Sends text from the server to a socket.

This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)

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

-

00206 {
-00207         WriteServ(Socket,"%s",s.c_str());
-00208 }
+
00213 {
+00214         WriteServ(Socket,"%s",s.c_str());
+00215 }
 
@@ -1548,22 +1600,22 @@ The format will become:

:localserver TEXT

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

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

-References connection::fd. -

-

00216 {
-00217         if (!Source)
-00218         {
-00219                 // if source is NULL, then the message originates from the local server
-00220                 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
-00221         }
-00222         else
-00223         {
-00224                 // otherwise it comes from the user specified
-00225                 WriteTo(Source,Dest,"%s",s.c_str());
-00226         }
-00227 }
+Definition at line 222 of file modules.cpp.
+

+References connection::fd. +

+

00223 {
+00224         if (!Source)
+00225         {
+00226                 // if source is NULL, then the message originates from the local server
+00227                 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str());
+00228         }
+00229         else
+00230         {
+00231                 // otherwise it comes from the user specified
+00232                 WriteTo(Source,Dest,"%s",s.c_str());
+00233         }
+00234 }
 
@@ -1614,11 +1666,11 @@ These can be RFC specified modes such as +i, or module provided modes, including Serv->SendToModeMask("xi", WM_OR, "m00");

Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message.

-Definition at line 154 of file modules.cpp. +Definition at line 156 of file modules.cpp.

-

00155 {
-00156         WriteMode(modes.c_str(),flags,"%s",text.c_str());
-00157 }
+
00157 {
+00158         WriteMode(modes.c_str(),flags,"%s",text.c_str());
+00159 }
 
@@ -1661,17 +1713,17 @@ Sends a WALLOPS message.

This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.

-Definition at line 258 of file modules.cpp. +Definition at line 265 of file modules.cpp.

-

00259 {
-00260         WriteWallOps(User,false,"%s",text.c_str());
-00261 }
+
00266 {
+00267         WriteWallOps(User,false,"%s",text.c_str());
+00268 }
 

The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index ff94a59e6..93316cae1 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ RevisionVersion Version(int major, int minor, int revision, int build)Version ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 10febeaaf..1ca22fb93 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -86,9 +86,9 @@ Definition at line 68 of

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

-

00104 : Major(major), Minor(minor), Revision(revision), Build(build) { };
+
00105 : Major(major), Minor(minor), Revision(revision), Build(build) { };
 
@@ -191,7 +191,7 @@ Definition at line 71 of
The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html new file mode 100644 index 000000000..c3a867fdc --- /dev/null +++ b/docs/module-doc/classXLine-members.html @@ -0,0 +1,23 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

XLine Member List

This is the complete list of members for XLine, including all inherited members. + + + + + + + + +
ageclassbase
classbase()classbase [inline]
durationXLine
n_matchesXLine
reasonXLine
set_timeXLine
sourceXLine
~classbase()classbase [inline]

Generated on Sun Apr 25 00:24:32 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html new file mode 100644 index 000000000..d4538eae7 --- /dev/null +++ b/docs/module-doc/classXLine.html @@ -0,0 +1,183 @@ + + +XLine class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

XLine Class Reference

XLine is the base class for ban lines such as G lines and K lines. +More... +

+#include <xline.h> +

+Inheritance diagram for XLine:

Inheritance graph
+ + + + + + + +
[legend]
Collaboration diagram for XLine:

Collaboration graph
+ + + +
[legend]
List of all members. + + + + + + + + + + + + +

Public Attributes

time_t set_time
 The time the line was added.

long duration
 The duration of the ban, or 0 if permenant.

char source [MAXBUF]
 Source of the ban.

char reason [MAXBUF]
 Reason for the ban.

long n_matches
 Number of times the core matches the ban, for statistics.

+

Detailed Description

+XLine is the base class for ban lines such as G lines and K lines. +

+ +

+Definition at line 18 of file xline.h.


Member Data Documentation

+

+ + + + +
+ + +
long XLine::duration +
+
+ + + + + +
+   + + +

+The duration of the ban, or 0 if permenant. +

+ +

+Definition at line 28 of file xline.h.

+

+ + + + +
+ + +
long XLine::n_matches +
+
+ + + + + +
+   + + +

+Number of times the core matches the ban, for statistics. +

+ +

+Definition at line 40 of file xline.h.

+

+ + + + +
+ + +
char XLine::reason[MAXBUF] +
+
+ + + + + +
+   + + +

+Reason for the ban. +

+ +

+Definition at line 36 of file xline.h.

+

+ + + + +
+ + +
time_t XLine::set_time +
+
+ + + + + +
+   + + +

+The time the line was added. +

+ +

+Definition at line 24 of file xline.h.

+

+ + + + +
+ + +
char XLine::source[MAXBUF] +
+
+ + + + + +
+   + + +

+Source of the ban. +

+This can be a servername or an oper nickname +

+Definition at line 32 of file xline.h.

+


The documentation for this class was generated from the following file: +
Generated on Sun Apr 25 00:24:32 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classXLine__coll__graph.gif b/docs/module-doc/classXLine__coll__graph.gif new file mode 100644 index 000000000..09e1d40d4 Binary files /dev/null and b/docs/module-doc/classXLine__coll__graph.gif differ diff --git a/docs/module-doc/classXLine__inherit__graph.gif b/docs/module-doc/classXLine__inherit__graph.gif new file mode 100644 index 000000000..37cb1bce7 Binary files /dev/null and b/docs/module-doc/classXLine__inherit__graph.gif differ diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html new file mode 100644 index 000000000..935b9d3d9 --- /dev/null +++ b/docs/module-doc/classZLine-members.html @@ -0,0 +1,24 @@ + + +Member List + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

ZLine Member List

This is the complete list of members for ZLine, including all inherited members. + + + + + + + + + +
ageclassbase
classbase()classbase [inline]
durationXLine
ipaddrZLine
n_matchesXLine
reasonXLine
set_timeXLine
sourceXLine
~classbase()classbase [inline]

Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html new file mode 100644 index 000000000..e6932db48 --- /dev/null +++ b/docs/module-doc/classZLine.html @@ -0,0 +1,69 @@ + + +ZLine class Reference + + + +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+

ZLine Class Reference

ZLine class. +More... +

+#include <xline.h> +

+Inheritance diagram for ZLine:

Inheritance graph
+ + + + +
[legend]
Collaboration diagram for ZLine:

Collaboration graph
+ + + + +
[legend]
List of all members. + + + + +

Public Attributes

char ipaddr [MAXBUF]
 IP Address (xx.yy.zz.aa) to match against May contain wildcards.

+

Detailed Description

+ZLine class. +

+ +

+Definition at line 68 of file xline.h.


Member Data Documentation

+

+ + + + +
+ + +
char ZLine::ipaddr[MAXBUF] +
+
+ + + + + +
+   + + +

+IP Address (xx.yy.zz.aa) to match against May contain wildcards. +

+ +

+Definition at line 74 of file xline.h.

+


The documentation for this class was generated from the following file: +
Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by + +doxygen1.3-rc3
+ + diff --git a/docs/module-doc/classZLine__coll__graph.gif b/docs/module-doc/classZLine__coll__graph.gif new file mode 100644 index 000000000..c3545bb73 Binary files /dev/null and b/docs/module-doc/classZLine__coll__graph.gif differ diff --git a/docs/module-doc/classZLine__inherit__graph.gif b/docs/module-doc/classZLine__inherit__graph.gif new file mode 100644 index 000000000..39ac048bb Binary files /dev/null and b/docs/module-doc/classZLine__inherit__graph.gif differ diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index a42b2eb4e..b37eb2bb6 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -31,7 +31,7 @@ topicsetchanrec ~chanrec()chanrec [inline, virtual] ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 8a488657e..1a1b839af 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -808,7 +808,7 @@ Referenced by chanrec()
The documentation for this class was generated from the following files: -
Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 42eee70d5..8432289e2 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -10,7 +10,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 73e3cdd49..984eb83b4 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -13,24 +13,25 @@

Inheritance diagram for classbase:

Inheritance graph
- - + + - - + + - - + + - - + + - - + + - - + + +
[legend]
Collaboration diagram for classbase:

Collaboration graph
[legend]
List of all members. @@ -146,7 +147,7 @@ Definition at line 20 of fil

The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:40 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classclassbase__inherit__graph.gif b/docs/module-doc/classclassbase__inherit__graph.gif index bc880ad94..c3ff6b5b7 100644 Binary files a/docs/module-doc/classclassbase__inherit__graph.gif and b/docs/module-doc/classclassbase__inherit__graph.gif differ diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index ebd9cd9f7..1c9796ad3 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -16,7 +16,7 @@ total_bytescommand_t use_countcommand_t ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:41 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 522fe2677..5f591dbfe 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -199,7 +199,7 @@ Definition at line 42 of
The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:41 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:17 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 67e4ecf89..835ef3fd0 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -39,7 +39,7 @@ stateconnection TerminateLink(char *targethost)connection ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 4595581cf..ad76210a6 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -49,7 +49,7 @@ Inheritance diagram for connection:



char host [256]  Hostname of connection.

-long ip +char ip [32]  IP of connection.

char inbuf [MAXBUF]  Inbuf of connection.

@@ -77,7 +77,7 @@ Inheritance diagram for connection:



time_t nping  Used by PING checks with clients.

-char internal_addr [1024] +char internal_addr [MAXBUF]  Unused, will be removed in a future alpha/beta.

int internal_port  Unused, will be removed in a future alpha/beta.

@@ -89,7 +89,7 @@ Please note: classes serverrec and userrec both inherit from class connection.

-Definition at line 160 of file connection.h.


Constructor & Destructor Documentation

+Definition at line 161 of file connection.h.

Constructor & Destructor Documentation

@@ -513,7 +513,7 @@ Stats counter for bytes inbound.

-Definition at line 181 of file connection.h. +Definition at line 182 of file connection.h.

Referenced by userrec::userrec().

@@ -541,7 +541,7 @@ Stats counter for bytes outbound.

-Definition at line 185 of file connection.h. +Definition at line 186 of file connection.h.

Referenced by userrec::userrec(). @@ -569,7 +569,7 @@ Stats counter for commands inbound.

-Definition at line 189 of file connection.h. +Definition at line 190 of file connection.h.

Referenced by userrec::userrec(). @@ -597,7 +597,7 @@ Stats counter for commands outbound.

-Definition at line 193 of file connection.h. +Definition at line 194 of file connection.h.

Referenced by userrec::userrec(). @@ -625,7 +625,7 @@ With a serverrec, this is a list of all established server connections.

With a userrec this is unused.

-Definition at line 240 of file connection.h. +Definition at line 241 of file connection.h.

@@ -651,9 +651,9 @@ File descriptor of the connection.

-Definition at line 165 of file connection.h. +Definition at line 166 of file connection.h.

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

@@ -679,7 +679,7 @@ True if server/user has authenticated, false if otherwise.

-Definition at line 197 of file connection.h. +Definition at line 198 of file connection.h.

Referenced by userrec::userrec(). @@ -707,7 +707,7 @@ Hostname of connection.

Not used if this is a serverrec

-Definition at line 169 of file connection.h. +Definition at line 170 of file connection.h.

@@ -733,7 +733,7 @@ Time that the connection last sent data, used to calculate idle time.

-Definition at line 223 of file connection.h. +Definition at line 224 of file connection.h.

Referenced by userrec::userrec(). @@ -761,7 +761,7 @@ Inbuf of connection.

Only used for userrec

-Definition at line 177 of file connection.h. +Definition at line 178 of file connection.h.

@@ -770,7 +770,7 @@ Definition at line 177 -
char connection::internal_addr[1024] + char connection::internal_addr[MAXBUF]
@@ -787,7 +787,7 @@ Unused, will be removed in a future alpha/beta.

-Definition at line 231 of file connection.h. +Definition at line 232 of file connection.h.

@@ -813,7 +813,7 @@ Unused, will be removed in a future alpha/beta.

-Definition at line 235 of file connection.h. +Definition at line 236 of file connection.h.

@@ -822,7 +822,7 @@ Definition at line 235 -
long connection::ip + char connection::ip[32]
@@ -839,9 +839,7 @@ IP of connection.

Reserved for future use.

-Definition at line 173 of file connection.h. -

-Referenced by userrec::userrec(). +Definition at line 174 of file connection.h.

@@ -867,7 +865,7 @@ Time the connection was last pinged.

-Definition at line 215 of file connection.h. +Definition at line 216 of file connection.h.

Referenced by serverrec::serverrec(), and userrec::userrec(). @@ -895,7 +893,7 @@ Used by PING checks with clients.

-Definition at line 227 of file connection.h. +Definition at line 228 of file connection.h.

Referenced by userrec::userrec(). @@ -923,7 +921,7 @@ Port number For a userrec, this is the port they connected to the network on.

For a serverrec this is the current listening port of the serverrec object.

-Definition at line 203 of file connection.h. +Definition at line 204 of file connection.h.

Referenced by userrec::userrec(). @@ -951,7 +949,7 @@ Used by userrec to indicate the registration status of the connection.

-Definition at line 207 of file connection.h. +Definition at line 208 of file connection.h.

Referenced by userrec::userrec(). @@ -979,7 +977,7 @@ Time the connection was created, set in the constructor.

-Definition at line 219 of file connection.h. +Definition at line 220 of file connection.h.

Referenced by serverrec::serverrec(), and userrec::userrec(). @@ -1007,12 +1005,12 @@ Reserved for future use.

-Definition at line 211 of file connection.h. +Definition at line 212 of file connection.h.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:43 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:20 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classconnection__coll__graph.gif b/docs/module-doc/classconnection__coll__graph.gif index 97c4c8ec3..850b87f49 100644 Binary files a/docs/module-doc/classconnection__coll__graph.gif and b/docs/module-doc/classconnection__coll__graph.gif differ diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index acd60f923..205c65e8f 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -8,18 +8,23 @@ Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

InspIRCd Compound Index

  A  
-
ConfigReader   FileReader   
  M  
-
Server   
Admin   ConnectClass   
  H  
-
ModeParameter   serverrec   
  B  
connection   HostItem   Module   
  U  
-
BanItem   
  E  
+
Admin   
  E  
  I  
-
ModuleFactory   ucrec   
  C  
+
ModuleFactory   ucrec   
  B  
ExemptItem   Invited   
  P  
-
userrec   
chanrec   ExtMode   InviteItem   packet   
  V  
-
classbase   
  F  
-
ircd_connector   
  S  
-
Version   
command_t   

Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +userrec   BanItem   ExtMode   InviteItem   packet   
  V  
+
  C  
+
  F  
+ircd_connector   
  Q  
+Version   chanrec   FileReader   
  K  
+QLine   
  X  
+classbase   
  G  
+KLine   
  S  
+XLine   command_t   GLine   
  M  
+Server   
  Z  
+ConfigReader   
  H  
+ModeParameter   serverrec   ZLine   ConnectClass   
Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index 2d5637f2e..661bc2560 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -33,7 +33,7 @@ SetState(int state)ircd_connector stateircd_connector [private] ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index d7b66bb9c..d8eb782b3 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -79,7 +79,7 @@ A listening socket that accepts server type connections is represented by one cl

-Definition at line 40 of file connection.h.


Member Function Documentation

+Definition at line 41 of file connection.h.

Member Function Documentation

@@ -589,7 +589,7 @@ Sockaddr of the outbound ip and port.

-Definition at line 45 of file connection.h. +Definition at line 46 of file connection.h.

@@ -615,7 +615,7 @@ Definition at line 45

-Definition at line 57 of file connection.h. +Definition at line 58 of file connection.h.

@@ -641,7 +641,7 @@ File descriptor of the connection.

-Definition at line 49 of file connection.h. +Definition at line 50 of file connection.h.

@@ -667,7 +667,7 @@ When MakeOutboundConnection is called, these public members are filled with the

-Definition at line 74 of file connection.h. +Definition at line 75 of file connection.h.

@@ -693,7 +693,7 @@ When MakeOutboundConnection is called, these public members are filled with the

-Definition at line 80 of file connection.h. +Definition at line 81 of file connection.h.

@@ -719,7 +719,7 @@ Definition at line 80

-Definition at line 86 of file connection.h. +Definition at line 87 of file connection.h.

@@ -745,7 +745,7 @@ Definition at line 86

-Definition at line 53 of file connection.h. +Definition at line 54 of file connection.h.

@@ -771,12 +771,12 @@ State.

STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTED

-Definition at line 62 of file connection.h. +Definition at line 63 of file connection.h.


The documentation for this class was generated from the following file: -
Generated on Mon Apr 19 02:34:47 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:24 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index 427d04633..8b2dfd6f2 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -10,7 +10,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index e2be03cd8..208fda056 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -29,9 +29,9 @@ This declaration is preserved here to maintain documentation only.

-Definition at line 154 of file connection.h.


The documentation for this class was generated from the following file:
    +Definition at line 155 of file connection.h.
    The documentation for this class was generated from the following file: -
    Generated on Mon Apr 19 02:34:49 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 39da5c35b..201bdff4d 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -52,7 +52,7 @@ versionserverrec ~classbase()classbase [inline] ~serverrec()serverrec -
    Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 5a3c0f528..84c94220c 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -18,7 +18,7 @@ Inheritance diagram for serverrec:

    [legend]
    Collaboration diagram for serverrec:

    Collaboration graph
    - +
    [legend]
    List of all members. @@ -87,7 +87,7 @@ Constructor.

    Definition at line 12 of file servers.cpp.

    -References connection::fd, hops_away, jupiter, connection::lastping, opercount, pingtime, connection::signon, sync_soon, usercount, usercount_i, and version. +References connection::fd, hops_away, jupiter, connection::lastping, opercount, pingtime, connection::signon, sync_soon, usercount, usercount_i, and version.

    00013 {
     00014         strcpy(name,"");
    @@ -150,7 +150,7 @@ Constructor which initialises some of the main variables.
     

    Definition at line 30 of file servers.cpp.

    -References connection::fd, hops_away, jupiter, connection::lastping, opercount, connection::signon, sync_soon, usercount, usercount_i, and version. +References connection::fd, hops_away, jupiter, connection::lastping, opercount, connection::signon, sync_soon, usercount, usercount_i, and version.

    00031 {
     00032         strcpy(name,n);
    @@ -479,7 +479,7 @@ Referenced by serverrec()
     
    The documentation for this class was generated from the following files:
    -
    Generated on Mon Apr 19 02:34:50 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:29 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classserverrec__coll__graph.gif b/docs/module-doc/classserverrec__coll__graph.gif index 1f5d00b4a..441d459ba 100644 Binary files a/docs/module-doc/classserverrec__coll__graph.gif and b/docs/module-doc/classserverrec__coll__graph.gif differ diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 1e68bbf1b..8a4da5fa3 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -14,7 +14,7 @@
    -
    ucrec()ucrec [inline]
    ~classbase()classbase [inline]
    ~ucrec()ucrec [inline, virtual]

    Generated on Mon Apr 19 02:34:51 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:30 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index c116f281e..d0b5d4699 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -164,7 +164,7 @@ Referenced by userrec::userre
    The documentation for this class was generated from the following file:
    -
    Generated on Mon Apr 19 02:34:51 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:30 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index 4337dc720..6974ececf 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -58,7 +58,7 @@ userrec()userrec ~classbase()classbase [inline] ~userrec()userrec [inline, virtual] -
    Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index b2bf36ce3..b8cd912ba 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -18,8 +18,8 @@ Inheritance diagram for userrec:

    [legend]
    Collaboration diagram for userrec:

    Collaboration graph
    - - + +
    [legend]
    List of all members. @@ -99,12 +99,12 @@ Definition at line 78 of fi

    Definition at line 11 of file users.cpp.

    -References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, flood, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, connection::signon, timeout, and ucrec::uc_modes. +References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, flood, connection::haspassed, connection::idle_lastmsg, invites, connection::lastping, connection::nping, connection::port, connection::registered, connection::signon, timeout, and ucrec::uc_modes.

    00012 {
     00013         // the PROPER way to do it, AVOID bzero at *ALL* costs
     00014         strcpy(nick,"");
    -00015         ip = 0;
    +00015         strcpy(ip,"127.0.0.1");
     00016         timeout = 0;
     00017         strcpy(ident,"");
     00018         strcpy(host,"");
    @@ -628,7 +628,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma
     

    Definition at line 91 of file users.h.

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

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


    The documentation for this class was generated from the following files: -
    Generated on Mon Apr 19 02:34:52 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:31 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/classuserrec__coll__graph.gif b/docs/module-doc/classuserrec__coll__graph.gif index 3c36e05ec..fa8995af0 100644 Binary files a/docs/module-doc/classuserrec__coll__graph.gif and b/docs/module-doc/classuserrec__coll__graph.gif differ diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html new file mode 100644 index 000000000..bdf63600c --- /dev/null +++ b/docs/module-doc/commands_8h-source.html @@ -0,0 +1,106 @@ + + +commands.h Source File + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    commands.h

    Go to the documentation of this file.
    00001 #ifndef __COMMANDS_H
    +00002 #define __COMMANDS_H
    +00003 
    +00004 // include the common header files
    +00005 
    +00006 #include <typeinfo>
    +00007 #include <iostream>
    +00008 #include <string>
    +00009 #include <deque>
    +00010 #include <sstream>
    +00011 #include <vector>
    +00012 #include "users.h"
    +00013 #include "channels.h"
    +00014 
    +00015 
    +00018 void handle_join(char **parameters, int pcnt, userrec *user);
    +00019 void handle_part(char **parameters, int pcnt, userrec *user);
    +00020 void handle_kick(char **parameters, int pcnt, userrec *user);
    +00021 void handle_die(char **parameters, int pcnt, userrec *user);
    +00022 void handle_restart(char **parameters, int pcnt, userrec *user);
    +00023 void handle_kill(char **parameters, int pcnt, userrec *user);
    +00024 void handle_summon(char **parameters, int pcnt, userrec *user);
    +00025 void handle_users(char **parameters, int pcnt, userrec *user);
    +00026 void handle_pass(char **parameters, int pcnt, userrec *user);
    +00027 void handle_invite(char **parameters, int pcnt, userrec *user);
    +00028 void handle_topic(char **parameters, int pcnt, userrec *user);
    +00029 void handle_names(char **parameters, int pcnt, userrec *user);
    +00030 void handle_privmsg(char **parameters, int pcnt, userrec *user);
    +00031 void handle_notice(char **parameters, int pcnt, userrec *user);
    +00032 void handle_info(char **parameters, int pcnt, userrec *user);
    +00033 void handle_time(char **parameters, int pcnt, userrec *user);
    +00034 void handle_whois(char **parameters, int pcnt, userrec *user);
    +00035 void handle_quit(char **parameters, int pcnt, userrec *user);
    +00036 void handle_who(char **parameters, int pcnt, userrec *user);
    +00037 void handle_wallops(char **parameters, int pcnt, userrec *user);
    +00038 void handle_list(char **parameters, int pcnt, userrec *user);
    +00039 void handle_rehash(char **parameters, int pcnt, userrec *user);
    +00040 void handle_lusers(char **parameters, int pcnt, userrec *user);
    +00041 void handle_admin(char **parameters, int pcnt, userrec *user);
    +00042 void handle_ping(char **parameters, int pcnt, userrec *user);
    +00043 void handle_pong(char **parameters, int pcnt, userrec *user);
    +00044 void handle_motd(char **parameters, int pcnt, userrec *user);
    +00045 void handle_rules(char **parameters, int pcnt, userrec *user);
    +00046 void handle_user(char **parameters, int pcnt, userrec *user);
    +00047 void handle_userhost(char **parameters, int pcnt, userrec *user);
    +00048 void handle_ison(char **parameters, int pcnt, userrec *user);
    +00049 void handle_away(char **parameters, int pcnt, userrec *user);
    +00050 void handle_whowas(char **parameters, int pcnt, userrec *user);
    +00051 void handle_trace(char **parameters, int pcnt, userrec *user);
    +00052 void handle_modules(char **parameters, int pcnt, userrec *user);
    +00053 void handle_stats(char **parameters, int pcnt, userrec *user);
    +00054 void handle_connect(char **parameters, int pcnt, userrec *user);
    +00055 void handle_squit(char **parameters, int pcnt, userrec *user);
    +00056 void handle_links(char **parameters, int pcnt, userrec *user);
    +00057 void handle_map(char **parameters, int pcnt, userrec *user);
    +00058 void handle_oper(char **parameters, int pcnt, userrec *user);
    +00059 void handle_nick(char **parameters, int pcnt, userrec *user);
    +00060 void handle_kline(char **parameters, int pcnt, userrec *user);
    +00061 void handle_gline(char **parameters, int pcnt, userrec *user);
    +00062 void handle_zline(char **parameters, int pcnt, userrec *user);
    +00063 void handle_qline(char **parameters, int pcnt, userrec *user);
    +00064 
    +00065 
    +00068 void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv);
    +00069 void process_restricted_commands(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host,char* ipaddr,int port);
    +00070 
    +00073 void handle_amp(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00074 void handle_dollar(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00075 void handle_J(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00076 void handle_R(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00077 void handle_plus(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00078 void handle_b(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00079 void handle_a(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00080 void handle_F(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00081 void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00082 void handle_AT(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00083 void handle_k(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00084 void handle_n(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00085 void handle_Q(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00086 void handle_K(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00087 void handle_L(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00088 void handle_m(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00089 void handle_M(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00090 void handle_T(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00091 void handle_t(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00092 void handle_i(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00093 void handle_P(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00094 void handle_V(char token,char* params,serverrec* source,serverrec* reply, char* tcp_host);
    +00095 
    +00098 bool is_uline(const char* server);
    +00099 
    +00100 #endif
    +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html new file mode 100644 index 000000000..8929c4978 --- /dev/null +++ b/docs/module-doc/commands_8h.html @@ -0,0 +1,3525 @@ + + +commands.h File Reference + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    commands.h File Reference

    #include <typeinfo>
    +#include <iostream>
    +#include <string>
    +#include <deque>
    +#include <sstream>
    +#include <vector>
    +#include "users.h"
    +#include "channels.h"
    + +

    +Include dependency graph for commands.h:

    Include dependency graph
    + + + + + + +

    +This graph shows which files directly or indirectly include this file:

    Included by dependency graph
    + + + + +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Functions

    void handle_join (char **parameters, int pcnt, userrec *user)
     These are the handlers for user commands.

    void handle_part (char **parameters, int pcnt, userrec *user)
    void handle_kick (char **parameters, int pcnt, userrec *user)
    void handle_die (char **parameters, int pcnt, userrec *user)
    void handle_restart (char **parameters, int pcnt, userrec *user)
    void handle_kill (char **parameters, int pcnt, userrec *user)
    void handle_summon (char **parameters, int pcnt, userrec *user)
    void handle_users (char **parameters, int pcnt, userrec *user)
    void handle_pass (char **parameters, int pcnt, userrec *user)
    void handle_invite (char **parameters, int pcnt, userrec *user)
    void handle_topic (char **parameters, int pcnt, userrec *user)
    void handle_names (char **parameters, int pcnt, userrec *user)
    void handle_privmsg (char **parameters, int pcnt, userrec *user)
    void handle_notice (char **parameters, int pcnt, userrec *user)
    void handle_info (char **parameters, int pcnt, userrec *user)
    void handle_time (char **parameters, int pcnt, userrec *user)
    void handle_whois (char **parameters, int pcnt, userrec *user)
    void handle_quit (char **parameters, int pcnt, userrec *user)
    void handle_who (char **parameters, int pcnt, userrec *user)
    void handle_wallops (char **parameters, int pcnt, userrec *user)
    void handle_list (char **parameters, int pcnt, userrec *user)
    void handle_rehash (char **parameters, int pcnt, userrec *user)
    void handle_lusers (char **parameters, int pcnt, userrec *user)
    void handle_admin (char **parameters, int pcnt, userrec *user)
    void handle_ping (char **parameters, int pcnt, userrec *user)
    void handle_pong (char **parameters, int pcnt, userrec *user)
    void handle_motd (char **parameters, int pcnt, userrec *user)
    void handle_rules (char **parameters, int pcnt, userrec *user)
    void handle_user (char **parameters, int pcnt, userrec *user)
    void handle_userhost (char **parameters, int pcnt, userrec *user)
    void handle_ison (char **parameters, int pcnt, userrec *user)
    void handle_away (char **parameters, int pcnt, userrec *user)
    void handle_whowas (char **parameters, int pcnt, userrec *user)
    void handle_trace (char **parameters, int pcnt, userrec *user)
    void handle_modules (char **parameters, int pcnt, userrec *user)
    void handle_stats (char **parameters, int pcnt, userrec *user)
    void handle_connect (char **parameters, int pcnt, userrec *user)
    void handle_squit (char **parameters, int pcnt, userrec *user)
    void handle_links (char **parameters, int pcnt, userrec *user)
    void handle_map (char **parameters, int pcnt, userrec *user)
    void handle_oper (char **parameters, int pcnt, userrec *user)
    void handle_nick (char **parameters, int pcnt, userrec *user)
    void handle_kline (char **parameters, int pcnt, userrec *user)
    void handle_gline (char **parameters, int pcnt, userrec *user)
    void handle_zline (char **parameters, int pcnt, userrec *user)
    void handle_qline (char **parameters, int pcnt, userrec *user)
    void handle_link_packet (char *udp_msg, char *tcp_host, serverrec *serv)
     Special functions for processing server to server traffic.

    void process_restricted_commands (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host, char *ipaddr, int port)
    void handle_amp (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
     These are the handlers for server commands (tokens).

    void handle_dollar (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_J (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_R (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_plus (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_b (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_a (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_F (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_N (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_AT (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_k (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_n (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_Q (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_K (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_L (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_m (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_M (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_T (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_t (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_i (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_P (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    void handle_V (char token, char *params, serverrec *source, serverrec *reply, char *tcp_host)
    bool is_uline (const char *server)
     Functions for u:lined servers.

    +


    Function Documentation

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_a char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_admin char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_amp char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +These are the handlers for server commands (tokens). +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_AT char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_away char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_b char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_connect char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_die char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_dollar char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_F char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_gline char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_i char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_info char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_invite char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_ison char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_J char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_join char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +These are the handlers for user commands. +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_K char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_k char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_kick char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_kill char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_kline char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_L char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_link_packet char *   udp_msg,
    char *   tcp_host,
    serverrec  serv
    +
    + + + + + +
    +   + + +

    +Special functions for processing server to server traffic. +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_links char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_list char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_lusers char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_M char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_m char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_map char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_modules char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_motd char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_n char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_N char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_names char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_nick char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_notice char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_oper char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_P char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_part char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_pass char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_ping char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_plus char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_pong char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_privmsg char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_Q char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_qline char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_quit char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_R char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_rehash char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_restart char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_rules char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_squit char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_stats char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_summon char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_t char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_T char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_time char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_topic char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_trace char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_user char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_userhost char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_users char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_V char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_wallops char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_who char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_whois char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_whowas char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_zline char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    bool is_uline const char *   server
    +
    + + + + + +
    +   + + +

    +Functions for u:lined servers. +

    + +

    +Referenced by Server::IsUlined().

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void process_restricted_commands char   token,
    char *   params,
    serverrec  source,
    serverrec  reply,
    char *   tcp_host,
    char *   ipaddr,
    int   port
    +
    + + + + + +
    +   + + +

    +

    +


    Generated on Sun Apr 25 00:24:08 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/commands_8h__dep__incl.gif b/docs/module-doc/commands_8h__dep__incl.gif new file mode 100644 index 000000000..649bb3d5f Binary files /dev/null and b/docs/module-doc/commands_8h__dep__incl.gif differ diff --git a/docs/module-doc/commands_8h__incl.gif b/docs/module-doc/commands_8h__incl.gif new file mode 100644 index 000000000..35b19dea4 Binary files /dev/null and b/docs/module-doc/commands_8h__incl.gif differ diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 7946fe77f..e0bc42a22 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -32,131 +32,132 @@ 00024 #define STATE_SYNC 2 00025 #define STATE_NOAUTH_INBOUND 3 00026 #define STATE_NOAUTH_OUTBOUND 4 -00027 -00040 class ircd_connector : public classbase -00041 { -00042 private: -00045 sockaddr_in addr; -00046 -00049 int fd; -00050 -00053 std::string servername; -00054 -00057 std::string description; -00058 -00062 int state; -00063 -00066 bool SetHostAddress(char* host, int port); -00067 -00068 public: -00069 -00074 char host[MAXBUF]; -00075 -00080 int port; -00081 -00086 std::vector<std::string> routes; -00087 -00088 -00091 bool MakeOutboundConnection(char* host, int port); -00092 -00095 std::string GetServerName(); -00096 -00099 void SetServerName(std::string serv); -00100 -00103 int GetDescriptor(); -00104 -00107 void SetDescriptor(int fd); -00108 -00111 int GetState(); -00112 -00115 void SetState(int state); -00116 -00119 char* GetServerIP(); -00120 -00123 std::string GetDescription(); -00124 -00127 void SetDescription(std::string desc); -00128 -00134 int GetServerPort(); -00135 -00138 void SetServerPort(int p); -00139 -00142 bool SetHostAndPort(char* host, int port); -00143 -00147 void CloseConnection(); -00148 }; -00149 +00027 #define STATE_SERVICES 5 +00028 +00041 class ircd_connector : public classbase +00042 { +00043 private: +00046 sockaddr_in addr; +00047 +00050 int fd; +00051 +00054 std::string servername; +00055 +00058 std::string description; +00059 +00063 int state; +00064 +00067 bool SetHostAddress(char* host, int port); +00068 +00069 public: +00070 +00075 char host[MAXBUF]; +00076 +00081 int port; +00082 +00087 std::vector<std::string> routes; +00088 +00089 +00092 bool MakeOutboundConnection(char* host, int port); +00093 +00096 std::string GetServerName(); +00097 +00100 void SetServerName(std::string serv); +00101 +00104 int GetDescriptor(); +00105 +00108 void SetDescriptor(int fd); +00109 +00112 int GetState(); +00113 +00116 void SetState(int state); +00117 +00120 char* GetServerIP(); +00121 +00124 std::string GetDescription(); +00125 +00128 void SetDescription(std::string desc); +00129 +00135 int GetServerPort(); +00136 +00139 void SetServerPort(int p); +00140 +00143 bool SetHostAndPort(char* host, int port); +00144 +00148 void CloseConnection(); +00149 }; 00150 -00154 class packet : public classbase -00155 { -00156 }; -00157 -00160 class connection : public classbase -00161 { -00162 public: -00165 int fd; -00166 -00169 char host[256]; -00170 -00173 long ip; -00174 -00177 char inbuf[MAXBUF]; -00178 -00181 long bytes_in; -00182 -00185 long bytes_out; -00186 -00189 long cmds_in; -00190 -00193 long cmds_out; -00194 -00197 bool haspassed; -00198 -00203 int port; -00204 -00207 int registered; -00208 -00211 short int state; -00212 -00215 time_t lastping; -00216 -00219 time_t signon; -00220 -00223 time_t idle_lastmsg; -00224 -00227 time_t nping; -00228 -00231 char internal_addr[1024]; -00232 -00235 int internal_port; -00236 -00240 std::vector<ircd_connector> connectors; -00241 -00244 connection(); -00245 -00248 bool CreateListener(char* host, int p); -00249 -00252 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); -00253 -00256 bool MeshCookie(char* targethost, int port, long cookie, char* servername); -00257 -00260 void TerminateLink(char* targethost); -00261 -00265 bool SendPacket(char *message, const char* host); -00266 -00271 bool RecvPacket(std::deque<std::string> &messages, char* host); -00272 -00275 ircd_connector* FindHost(std::string host); -00276 -00280 bool AddIncoming(int fd,char* targethost, int sourceport); -00281 -00284 long GenKey(); -00285 }; -00286 +00151 +00155 class packet : public classbase +00156 { +00157 }; +00158 +00161 class connection : public classbase +00162 { +00163 public: +00166 int fd; +00167 +00170 char host[256]; +00171 +00174 char ip[32]; +00175 +00178 char inbuf[MAXBUF]; +00179 +00182 long bytes_in; +00183 +00186 long bytes_out; +00187 +00190 long cmds_in; +00191 +00194 long cmds_out; +00195 +00198 bool haspassed; +00199 +00204 int port; +00205 +00208 int registered; +00209 +00212 short int state; +00213 +00216 time_t lastping; +00217 +00220 time_t signon; +00221 +00224 time_t idle_lastmsg; +00225 +00228 time_t nping; +00229 +00232 char internal_addr[MAXBUF]; +00233 +00236 int internal_port; +00237 +00241 std::vector<ircd_connector> connectors; +00242 +00245 connection(); +00246 +00249 bool CreateListener(char* host, int p); +00250 +00253 bool BeginLink(char* targethost, int port, char* password, char* servername, int myport); +00254 +00257 bool MeshCookie(char* targethost, int port, long cookie, char* servername); +00258 +00261 void TerminateLink(char* targethost); +00262 +00266 bool SendPacket(char *message, const char* host); +00267 +00272 bool RecvPacket(std::deque<std::string> &messages, char* host); +00273 +00276 ircd_connector* FindHost(std::string host); +00277 +00281 bool AddIncoming(int fd,char* targethost, int sourceport); +00282 +00285 long GenKey(); +00286 }; 00287 -00288 #endif -00289 -

Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +00288 +00289 #endif +00290 +

Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 6411829a7..ea8889f06 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -29,10 +29,15 @@ Include dependency graph for connection.h:

Included by dependency graph
- - - - + + + + + + + + +

@@ -51,6 +56,7 @@ This graph shows which files directly or indirectly include this file:

#define STATE_SYNC   2 #define STATE_NOAUTH_INBOUND   3 #define STATE_NOAUTH_OUTBOUND   4 +#define STATE_SERVICES   5

Define Documentation

@@ -149,6 +155,30 @@ Definition at line 25 Definition at line 26 of file connection.h. +

+ + + + +
+ + +
#define STATE_SERVICES   5 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 27 of file connection.h.

@@ -173,7 +203,7 @@ Definition at line 26 Definition at line 24 of file connection.h.
-


Generated on Mon Apr 19 02:34:35 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:09 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/connection_8h__dep__incl.gif b/docs/module-doc/connection_8h__dep__incl.gif index cbcb0fbf4..ac5958da9 100644 Binary files a/docs/module-doc/connection_8h__dep__incl.gif and b/docs/module-doc/connection_8h__dep__incl.gif differ diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index d49a028ae..e6093ec98 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -41,7 +41,7 @@ 00047 00048 #endif 00049 -

Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +

Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index b6ae20736..4aefc704a 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -30,7 +30,7 @@ This graph shows which files directly or indirectly include this file:

class  command_t  A structure that defines a command. More...

-
Generated on Mon Apr 19 02:34:35 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:09 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 60e0b6739..7aa43fbf2 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -10,16 +10,20 @@ base.h [code] channels.cpp [code] channels.h [code] + commands.h [code] connection.h [code] ctables.h [code] + message.h [code] + mode.h [code] modules.cpp [code] modules.h [code] servers.cpp [code] servers.h [code] users.cpp [code] users.h [code] + xline.h [code] -
Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +
Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index c908d0793..1426267db 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -61,7 +61,8 @@ Here is a list of all class members with links to the classes they belong to:

data : HostItem
  • description : serverrec, ircd_connector
  • dhost -: userrec +: userrec
  • duration +: XLine

    - e -

    +: HostItem
  • hostmask +: GLine, KLine

    - i -

    +: Server
  • IsUlined() +: Server

    - j -

    • JoinUserToChannel() @@ -157,12 +161,13 @@ Here is a list of all class members with links to the classes they belong to:

      ModuleFactory

    - n -

    - o - @@ -179,7 +184,8 @@ Here is a list of all class members with links to the classes they belong to:

    Module
  • OnUserPart() : Module
  • OnUserPreJoin() : Module
  • OnUserPreMessage() -: Module
  • OnUserPreNotice() +: Module
  • OnUserPreNick() +: Module
  • OnUserPreNotice() : Module
  • OnUserQuit() : Module
  • OnWhois() : Module
  • opercount @@ -201,7 +207,8 @@ Here is a list of all class members with links to the classes they belong to:

    - r -

    - t - @@ -265,9 +273,9 @@ Here is a list of all class members with links to the classes they belong to:

    - v -

    +: ConfigReader
  • version +: serverrec
  • Version() +: Version

    - ~ -

    • ~chanrec() @@ -282,7 +290,7 @@ Here is a list of all class members with links to the classes they belong to:

      serverrec
    • ~ucrec() : ucrec
    • ~userrec() : userrec
    -
    Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 831471064..a06fecb33 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -7,32 +7,57 @@
    Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

    InspIRCd File Members

    -b | c | d | e | f | i | l | m | n | s | u | v
    +a | b | c | d | e | f | g | h | i | l | m | n | p | q | r | s | t | u | v | z
  • -Here is a list of all file members with links to the files they belong to:

    - b - +Here is a list of all file members with links to the files they belong to:

    - a - +

    +

    - b -

    +: channels.h
  • Blocking() +: message.h

    - c -

    - d -

    - e -

    - f - @@ -42,12 +67,97 @@ Here is a list of all file members with links to the files they belong to:

    modules.h
  • FOREACH_MOD : modules.h
  • FOREACH_RESULT : modules.h +

    - g - +

    +

    - h - +

    - i -

    +: modules.h
  • is_uline() +: commands.h
  • isident() +: message.h
  • isnick() +: message.h

    - l -

    • LINK_ACTIVE @@ -55,7 +165,13 @@ Here is a list of all file members with links to the files they belong to:

      servers.h

    - m -

    - n -

    +

    - p - +

    +

    - q - +

      +
    • qline_set_creation_time() +: xline.h
    +

    - r - +

    - s -

    +

    - t - +

    - u -

    • UCMODE_FOUNDER @@ -96,7 +243,11 @@ Here is a list of all file members with links to the files they belong to:

      -
      Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +

      - z - +

        +
      • zline_set_creation_time() +: xline.h
      +
      Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by doxygen1.3-rc3
      diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index fe8b55a8f..afe0cce0a 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -69,7 +69,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
    • 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.
    -
    Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 12fbc382e..393127d43 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -38,9 +38,16 @@ This inheritance list is sorted roughly, but not completely, alphabetically: -
    Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/inherit__graph__0.gif b/docs/module-doc/inherit__graph__0.gif index 053b98bf2..e657692a8 100644 Binary files a/docs/module-doc/inherit__graph__0.gif and b/docs/module-doc/inherit__graph__0.gif differ diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 13125d5cb..c949b585a 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -11,33 +11,38 @@
    - - - + + + - - + + - - + + - - + + - - + + - - + + - - - + + + + - + + + + +
    -
    Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index afb6845a4..b42af0280 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -8,7 +8,7 @@ Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

  • InspIRCd Documentation

    -


    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html new file mode 100644 index 000000000..3db4875af --- /dev/null +++ b/docs/module-doc/message_8h-source.html @@ -0,0 +1,50 @@ + + +message.h Source File + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    message.h

    Go to the documentation of this file.
    00001 #ifndef __MESSAGE_H
    +00002 #define __MESSAGE_H
    +00003 
    +00004 // include the common header files
    +00005 
    +00006 #include <typeinfo>
    +00007 #include <iostream>
    +00008 #include <string>
    +00009 #include <deque>
    +00010 #include <sstream>
    +00011 #include <vector>
    +00012 #include "users.h"
    +00013 #include "channels.h"
    +00014 
    +00015 int common_channels(userrec *u, userrec *u2);
    +00016 void chop(char* str);
    +00017 void tidystring(char* str);
    +00018 void safedelete(chanrec *p);
    +00019 void safedelete(userrec *p);
    +00020 void Blocking(int s);
    +00021 void NonBlocking(int s);
    +00022 int CleanAndResolve (char *resolvedHost, const char *unresolvedHost);
    +00023 int c_count(userrec* u);
    +00024 bool hasumode(userrec* user, char mode);
    +00025 void ChangeName(userrec* user, const char* gecos);
    +00026 void ChangeDisplayedHost(userrec* user, const char* host);
    +00027 int isident(const char* n);
    +00028 int isnick(const char* n);
    +00029 char* cmode(userrec *user, chanrec *chan);
    +00030 int cstatus(userrec *user, chanrec *chan);
    +00031 int has_channel(userrec *u, chanrec *c);
    +00032 void TidyBan(char *ban);
    +00033 char* chlist(userrec *user);
    +00034 void send_network_quit(const char* nick, const char* reason);
    +00035 
    +00036 #endif
    +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html new file mode 100644 index 000000000..daec6bfc0 --- /dev/null +++ b/docs/module-doc/message_8h.html @@ -0,0 +1,736 @@ + + +message.h File Reference + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    message.h File Reference

    #include <typeinfo>
    +#include <iostream>
    +#include <string>
    +#include <deque>
    +#include <sstream>
    +#include <vector>
    +#include "users.h"
    +#include "channels.h"
    + +

    +Include dependency graph for message.h:

    Include dependency graph
    + + + + + + +

    +This graph shows which files directly or indirectly include this file:

    Included by dependency graph
    + + + + +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + +

    Functions

    int common_channels (userrec *u, userrec *u2)
    void chop (char *str)
    void tidystring (char *str)
    void safedelete (chanrec *p)
    void safedelete (userrec *p)
    void Blocking (int s)
    void NonBlocking (int s)
    int CleanAndResolve (char *resolvedHost, const char *unresolvedHost)
    int c_count (userrec *u)
    bool hasumode (userrec *user, char mode)
    void ChangeName (userrec *user, const char *gecos)
    void ChangeDisplayedHost (userrec *user, const char *host)
    int isident (const char *n)
    int isnick (const char *n)
    char * cmode (userrec *user, chanrec *chan)
    int cstatus (userrec *user, chanrec *chan)
    int has_channel (userrec *u, chanrec *c)
    void TidyBan (char *ban)
    char * chlist (userrec *user)
    void send_network_quit (const char *nick, const char *reason)
    +


    Function Documentation

    +

    + + + + +
    + + + + + + + + + + +
    void Blocking int   s
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    int c_count userrec  u
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void ChangeDisplayedHost userrec  user,
    const char *   host
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::ChangeHost().

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void ChangeName userrec  user,
    const char *   gecos
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::ChangeGECOS().

    +

    + + + + +
    + + + + + + + + + + +
    char* chlist userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void chop char *   str
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    int CleanAndResolve char *   resolvedHost,
    const char *   unresolvedHost
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    char* cmode userrec  user,
    chanrec  chan
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::ChanMode().

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    int common_channels userrec  u,
    userrec  u2
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::CommonChannels().

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    int cstatus userrec  user,
    chanrec  chan
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    int has_channel userrec  u,
    chanrec  c
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    bool hasumode userrec  user,
    char   mode
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    int isident const char *   n
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    int isnick const char *   n
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::IsNick().

    +

    + + + + +
    + + + + + + + + + + +
    void NonBlocking int   s
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void safedelete userrec  p
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void safedelete chanrec  p
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void send_network_quit const char *   nick,
    const char *   reason
    +
    + + + + + +
    +   + + +

    + +

    +Referenced by Server::QuitUser().

    +

    + + + + +
    + + + + + + + + + + +
    void TidyBan char *   ban
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void tidystring char *   str
    +
    + + + + + +
    +   + + +

    +

    +


    Generated on Sun Apr 25 00:24:10 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/message_8h__dep__incl.gif b/docs/module-doc/message_8h__dep__incl.gif new file mode 100644 index 000000000..3420983e7 Binary files /dev/null and b/docs/module-doc/message_8h__dep__incl.gif differ diff --git a/docs/module-doc/message_8h__incl.gif b/docs/module-doc/message_8h__incl.gif new file mode 100644 index 000000000..81a292615 Binary files /dev/null and b/docs/module-doc/message_8h__incl.gif differ diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html new file mode 100644 index 000000000..8882adb0b --- /dev/null +++ b/docs/module-doc/mode_8h-source.html @@ -0,0 +1,47 @@ + + +mode.h Source File + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    mode.h

    Go to the documentation of this file.
    00001 #ifndef __MODE_H
    +00002 #define __MODE_H
    +00003 
    +00004 // include the common header files
    +00005 
    +00006 #include <typeinfo>
    +00007 #include <iostream>
    +00008 #include <string>
    +00009 #include <deque>
    +00010 #include <sstream>
    +00011 #include <vector>
    +00012 #include "users.h"
    +00013 #include "channels.h"
    +00014 
    +00015 
    +00016 int give_ops(userrec *user,char *dest,chanrec *chan,int status);
    +00017 int give_hops(userrec *user,char *dest,chanrec *chan,int status);
    +00018 int give_voice(userrec *user,char *dest,chanrec *chan,int status);
    +00019 int take_ops(userrec *user,char *dest,chanrec *chan,int status);
    +00020 int take_hops(userrec *user,char *dest,chanrec *chan,int status);
    +00021 int take_voice(userrec *user,char *dest,chanrec *chan,int status);
    +00022 int add_ban(userrec *user,char *dest,chanrec *chan,int status);
    +00023 int take_ban(userrec *user,char *dest,chanrec *chan,int status);
    +00024 void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local);
    +00025 bool allowed_umode(char umode, char* sourcemodes,bool adding);
    +00026 bool process_module_umode(char umode, userrec* source, void* dest, bool adding);
    +00027 void handle_mode(char **parameters, int pcnt, userrec *user);
    +00028 void server_mode(char **parameters, int pcnt, userrec *user);
    +00029 void merge_mode(char **parameters, int pcnt);
    +00030 void merge_mode2(char **parameters, int pcnt, userrec* user);
    +00031 
    +00032 
    +00033 #endif
    +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html new file mode 100644 index 000000000..14eb7b686 --- /dev/null +++ b/docs/module-doc/mode_8h.html @@ -0,0 +1,796 @@ + + +mode.h File Reference + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    mode.h File Reference

    #include <typeinfo>
    +#include <iostream>
    +#include <string>
    +#include <deque>
    +#include <sstream>
    +#include <vector>
    +#include "users.h"
    +#include "channels.h"
    + +

    +Include dependency graph for mode.h:

    Include dependency graph
    + + + + + + +

    +This graph shows which files directly or indirectly include this file:

    Included by dependency graph
    + + + + +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + + +

    Functions

    int give_ops (userrec *user, char *dest, chanrec *chan, int status)
    int give_hops (userrec *user, char *dest, chanrec *chan, int status)
    int give_voice (userrec *user, char *dest, chanrec *chan, int status)
    int take_ops (userrec *user, char *dest, chanrec *chan, int status)
    int take_hops (userrec *user, char *dest, chanrec *chan, int status)
    int take_voice (userrec *user, char *dest, chanrec *chan, int status)
    int add_ban (userrec *user, char *dest, chanrec *chan, int status)
    int take_ban (userrec *user, char *dest, chanrec *chan, int status)
    void process_modes (char **parameters, userrec *user, chanrec *chan, int status, int pcnt, bool servermode, bool silent, bool local)
    bool allowed_umode (char umode, char *sourcemodes, bool adding)
    bool process_module_umode (char umode, userrec *source, void *dest, bool adding)
    void handle_mode (char **parameters, int pcnt, userrec *user)
    void server_mode (char **parameters, int pcnt, userrec *user)
    void merge_mode (char **parameters, int pcnt)
    void merge_mode2 (char **parameters, int pcnt, userrec *user)
    +


    Function Documentation

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int add_ban userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    bool allowed_umode char   umode,
    char *   sourcemodes,
    bool   adding
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int give_hops userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int give_ops userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int give_voice userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void handle_mode char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void merge_mode char **   parameters,
    int   pcnt
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void merge_mode2 char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void process_modes char **   parameters,
    userrec  user,
    chanrec  chan,
    int   status,
    int   pcnt,
    bool   servermode,
    bool   silent,
    bool   local
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    bool process_module_umode char   umode,
    userrec  source,
    void *   dest,
    bool   adding
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    void server_mode char **   parameters,
    int   pcnt,
    userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int take_ban userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int take_hops userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int take_ops userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int take_voice userrec  user,
    char *   dest,
    chanrec  chan,
    int   status
    +
    + + + + + +
    +   + + +

    +

    +


    Generated on Sun Apr 25 00:24:10 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/mode_8h__dep__incl.gif b/docs/module-doc/mode_8h__dep__incl.gif new file mode 100644 index 000000000..44fe3bf92 Binary files /dev/null and b/docs/module-doc/mode_8h__dep__incl.gif differ diff --git a/docs/module-doc/mode_8h__incl.gif b/docs/module-doc/mode_8h__incl.gif new file mode 100644 index 000000000..f82ec382a Binary files /dev/null and b/docs/module-doc/mode_8h__incl.gif differ diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 2330e194c..be1a97cfd 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -20,426 +20,437 @@ 00012 #include "ctables.h" 00013 #include "inspircd_io.h" 00014 #include "wildcard.h" -00015 #include "mode.h" -00016 #include "message.h" -00017 -00018 // class type for holding an extended mode character - internal to core -00019 -00020 class ExtMode : public classbase -00021 { -00022 public: -00023 char modechar; -00024 int type; -00025 int params_when_on; -00026 int params_when_off; -00027 bool needsoper; -00028 ExtMode(char mc, int ty, bool oper, int p_on, int p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; -00029 }; -00030 -00031 typedef std::vector<ExtMode> ExtModeList; -00032 typedef ExtModeList::iterator ExtModeListIter; -00033 -00034 ExtModeList EMode; -00035 -00036 // returns true if an extended mode character is in use -00037 bool ModeDefined(char modechar, int type) -00038 { -00039 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); -00040 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -00041 { -00042 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); -00043 if ((i->modechar == modechar) && (i->type == type)) -00044 { -00045 return true; -00046 } -00047 } -00048 return false; -00049 } -00050 -00051 bool ModeDefinedOper(char modechar, int type) -00052 { -00053 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); -00054 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -00055 { -00056 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); -00057 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) -00058 { -00059 return true; -00060 } -00061 } -00062 return false; -00063 } -00064 -00065 // returns number of parameters for a custom mode when it is switched on -00066 int ModeDefinedOn(char modechar, int type) -00067 { -00068 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -00069 { -00070 if ((i->modechar == modechar) && (i->type == type)) -00071 { -00072 return i->params_when_on; -00073 } -00074 } -00075 return 0; -00076 } -00077 -00078 // returns number of parameters for a custom mode when it is switched on -00079 int ModeDefinedOff(char modechar, int type) -00080 { -00081 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -00082 { -00083 if ((i->modechar == modechar) && (i->type == type)) -00084 { -00085 return i->params_when_off; -00086 } -00087 } -00088 return 0; -00089 } -00090 -00091 // returns true if an extended mode character is in use -00092 bool DoAddExtendedMode(char modechar, int type, bool requires_oper, int params_on, int params_off) -00093 { -00094 if (ModeDefined(modechar,type)) { -00095 return false; -00096 } -00097 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); -00098 return true; -00099 } -00100 +00015 #include "mode.h" +00016 #include "message.h" +00017 #include "commands.h" +00018 +00019 // class type for holding an extended mode character - internal to core +00020 +00021 class ExtMode : public classbase +00022 { +00023 public: +00024 char modechar; +00025 int type; +00026 int params_when_on; +00027 int params_when_off; +00028 bool needsoper; +00029 ExtMode(char mc, int ty, bool oper, int p_on, int p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; +00030 }; +00031 +00032 typedef std::vector<ExtMode> ExtModeList; +00033 typedef ExtModeList::iterator ExtModeListIter; +00034 +00035 ExtModeList EMode; +00036 +00037 // returns true if an extended mode character is in use +00038 bool ModeDefined(char modechar, int type) +00039 { +00040 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); +00041 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00042 { +00043 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); +00044 if ((i->modechar == modechar) && (i->type == type)) +00045 { +00046 return true; +00047 } +00048 } +00049 return false; +00050 } +00051 +00052 bool ModeDefinedOper(char modechar, int type) +00053 { +00054 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); +00055 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00056 { +00057 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); +00058 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +00059 { +00060 return true; +00061 } +00062 } +00063 return false; +00064 } +00065 +00066 // returns number of parameters for a custom mode when it is switched on +00067 int ModeDefinedOn(char modechar, int type) +00068 { +00069 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00070 { +00071 if ((i->modechar == modechar) && (i->type == type)) +00072 { +00073 return i->params_when_on; +00074 } +00075 } +00076 return 0; +00077 } +00078 +00079 // returns number of parameters for a custom mode when it is switched on +00080 int ModeDefinedOff(char modechar, int type) +00081 { +00082 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00083 { +00084 if ((i->modechar == modechar) && (i->type == type)) +00085 { +00086 return i->params_when_off; +00087 } +00088 } +00089 return 0; +00090 } +00091 +00092 // returns true if an extended mode character is in use +00093 bool DoAddExtendedMode(char modechar, int type, bool requires_oper, int params_on, int params_off) +00094 { +00095 if (ModeDefined(modechar,type)) { +00096 return false; +00097 } +00098 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); +00099 return true; +00100 } 00101 -00102 // version is a simple class for holding a modules version number -00103 -00104 Version::Version(int major, int minor, int revision, int build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; -00105 -00106 // admin is a simple class for holding a server's administrative info -00107 -00108 Admin::Admin(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; -00109 -00110 Module::Module() { } -00111 Module::~Module() { } -00112 void Module::OnUserConnect(userrec* user) { } -00113 void Module::OnUserQuit(userrec* user) { } -00114 void Module::OnUserJoin(userrec* user, chanrec* channel) { } -00115 void Module::OnUserPart(userrec* user, chanrec* channel) { } -00116 void Module::OnPacketTransmit(char *p) { } -00117 void Module::OnPacketReceive(char *p) { } -00118 void Module::OnRehash() { } -00119 void Module::OnServerRaw(std::string &raw, bool inbound) { } -00120 int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; } -00121 bool Module::OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params) { return false; } -00122 Version Module::GetVersion() { return Version(1,0,0,0); } -00123 void Module::OnOper(userrec* user) { }; -00124 void Module::OnInfo(userrec* user) { }; -00125 void Module::OnWhois(userrec* source, userrec* dest) { }; -00126 int Module::OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text) { return 0; }; -00127 int Module::OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text) { return 0; }; -00128 -00129 // server is a wrapper class that provides methods to all of the C-style -00130 // exports in the core -00131 // -00132 -00133 Server::Server() -00134 { -00135 } -00136 -00137 Server::~Server() -00138 { -00139 } -00140 -00141 void Server::SendOpers(std::string s) -00142 { -00143 WriteOpers("%s",s.c_str()); -00144 } -00145 -00146 bool Server::MatchText(std::string sliteral, std::string spattern) -00147 { -00148 char literal[MAXBUF],pattern[MAXBUF]; -00149 strncpy(literal,sliteral.c_str(),MAXBUF); -00150 strncpy(pattern,spattern.c_str(),MAXBUF); -00151 return match(literal,pattern); -00152 } -00153 -00154 void Server::SendToModeMask(std::string modes, int flags, std::string text) -00155 { -00156 WriteMode(modes.c_str(),flags,"%s",text.c_str()); -00157 } -00158 -00159 chanrec* Server::JoinUserToChannel(userrec* user, std::string cname, std::string key) -00160 { -00161 return add_channel(user,cname.c_str(),key.c_str(),true); -00162 } -00163 -00164 chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason) -00165 { -00166 return del_channel(user,cname.c_str(),reason.c_str(),false); -00167 } -00168 -00169 void Server::ChangeUserNick(userrec* user, std::string nickname) -00170 { -00171 force_nickchange(user,nickname.c_str()); -00172 } -00173 -00174 void Server::QuitUser(userrec* user, std::string reason) -00175 { -00176 send_network_quit(user->nick,reason.c_str()); -00177 kill_link(user,reason.c_str()); -00178 } -00179 -00180 void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user) -00181 { -00182 call_handler(commandname.c_str(),parameters,pcnt,user); -00183 } -00184 -00185 void Server::Log(int level, std::string s) -00186 { -00187 log(level,"%s",s.c_str()); -00188 } -00189 -00190 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams) -00191 { -00192 createcommand(cmd,f,flags,minparams); -00193 } -00194 -00195 void Server::SendMode(char **parameters, int pcnt, userrec *user) -00196 { -00197 server_mode(parameters,pcnt,user); -00198 } -00199 -00200 void Server::Send(int Socket, std::string s) -00201 { -00202 Write(Socket,"%s",s.c_str()); -00203 } -00204 -00205 void Server::SendServ(int Socket, std::string s) -00206 { -00207 WriteServ(Socket,"%s",s.c_str()); -00208 } -00209 -00210 void Server::SendFrom(int Socket, userrec* User, std::string s) -00211 { -00212 WriteFrom(Socket,User,"%s",s.c_str()); -00213 } -00214 -00215 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) -00216 { -00217 if (!Source) -00218 { -00219 // if source is NULL, then the message originates from the local server -00220 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str()); -00221 } -00222 else -00223 { -00224 // otherwise it comes from the user specified -00225 WriteTo(Source,Dest,"%s",s.c_str()); -00226 } -00227 } -00228 -00229 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) -00230 { -00231 if (IncludeSender) -00232 { -00233 WriteChannel(Channel,User,"%s",s.c_str()); -00234 } -00235 else -00236 { -00237 ChanExceptSender(Channel,User,"%s",s.c_str()); -00238 } -00239 } -00240 -00241 bool Server::CommonChannels(userrec* u1, userrec* u2) -00242 { -00243 return (common_channels(u1,u2) != 0); -00244 } -00245 -00246 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) -00247 { -00248 if (IncludeSender) -00249 { -00250 WriteCommon(User,"%s",text.c_str()); -00251 } -00252 else -00253 { -00254 WriteCommonExcept(User,"%s",text.c_str()); -00255 } -00256 } -00257 -00258 void Server::SendWallops(userrec* User, std::string text) -00259 { -00260 WriteWallOps(User,false,"%s",text.c_str()); -00261 } -00262 -00263 void Server::ChangeHost(userrec* user, std::string host) -00264 { -00265 ChangeDisplayedHost(user,host.c_str()); -00266 } -00267 -00268 void Server::ChangeGECOS(userrec* user, std::string gecos) -00269 { -00270 ChangeName(user,gecos.c_str()); -00271 } -00272 -00273 bool Server::IsNick(std::string nick) -00274 { -00275 return (isnick(nick.c_str()) != 0); -00276 } -00277 -00278 userrec* Server::FindNick(std::string nick) -00279 { -00280 return Find(nick); -00281 } -00282 -00283 chanrec* Server::FindChannel(std::string channel) -00284 { -00285 return FindChan(channel.c_str()); -00286 } -00287 -00288 std::string Server::ChanMode(userrec* User, chanrec* Chan) -00289 { -00290 return cmode(User,Chan); -00291 } -00292 -00293 std::string Server::GetServerName() -00294 { -00295 return getservername(); -00296 } -00297 -00298 std::string Server::GetNetworkName() -00299 { -00300 return getnetworkname(); -00301 } -00302 -00303 Admin Server::GetAdmin() -00304 { -00305 return Admin(getadminname(),getadminemail(),getadminnick()); -00306 } -00307 -00308 +00102 +00103 // version is a simple class for holding a modules version number +00104 +00105 Version::Version(int major, int minor, int revision, int build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; +00106 +00107 // admin is a simple class for holding a server's administrative info +00108 +00109 Admin::Admin(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; +00110 +00111 Module::Module() { } +00112 Module::~Module() { } +00113 void Module::OnUserConnect(userrec* user) { } +00114 void Module::OnUserQuit(userrec* user) { } +00115 void Module::OnUserJoin(userrec* user, chanrec* channel) { } +00116 void Module::OnUserPart(userrec* user, chanrec* channel) { } +00117 void Module::OnPacketTransmit(char *p) { } +00118 void Module::OnPacketReceive(char *p) { } +00119 void Module::OnRehash() { } +00120 void Module::OnServerRaw(std::string &raw, bool inbound) { } +00121 int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; } +00122 bool Module::OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params) { return false; } +00123 Version Module::GetVersion() { return Version(1,0,0,0); } +00124 void Module::OnOper(userrec* user) { }; +00125 void Module::OnInfo(userrec* user) { }; +00126 void Module::OnWhois(userrec* source, userrec* dest) { }; +00127 int Module::OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text) { return 0; }; +00128 int Module::OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text) { return 0; }; +00129 int Module::OnUserPreNick(userrec* user, std::string newnick) { return 0; }; +00130 +00131 // server is a wrapper class that provides methods to all of the C-style +00132 // exports in the core +00133 // +00134 +00135 Server::Server() +00136 { +00137 } +00138 +00139 Server::~Server() +00140 { +00141 } +00142 +00143 void Server::SendOpers(std::string s) +00144 { +00145 WriteOpers("%s",s.c_str()); +00146 } +00147 +00148 bool Server::MatchText(std::string sliteral, std::string spattern) +00149 { +00150 char literal[MAXBUF],pattern[MAXBUF]; +00151 strncpy(literal,sliteral.c_str(),MAXBUF); +00152 strncpy(pattern,spattern.c_str(),MAXBUF); +00153 return match(literal,pattern); +00154 } +00155 +00156 void Server::SendToModeMask(std::string modes, int flags, std::string text) +00157 { +00158 WriteMode(modes.c_str(),flags,"%s",text.c_str()); +00159 } +00160 +00161 chanrec* Server::JoinUserToChannel(userrec* user, std::string cname, std::string key) +00162 { +00163 return add_channel(user,cname.c_str(),key.c_str(),true); +00164 } +00165 +00166 chanrec* Server::PartUserFromChannel(userrec* user, std::string cname, std::string reason) +00167 { +00168 return del_channel(user,cname.c_str(),reason.c_str(),false); +00169 } +00170 +00171 void Server::ChangeUserNick(userrec* user, std::string nickname) +00172 { +00173 force_nickchange(user,nickname.c_str()); +00174 } +00175 +00176 void Server::QuitUser(userrec* user, std::string reason) +00177 { +00178 send_network_quit(user->nick,reason.c_str()); +00179 kill_link(user,reason.c_str()); +00180 } +00181 +00182 bool Server::IsUlined(std::string server) +00183 { +00184 return is_uline(server.c_str()); +00185 } +00186 +00187 void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user) +00188 { +00189 call_handler(commandname.c_str(),parameters,pcnt,user); +00190 } +00191 +00192 void Server::Log(int level, std::string s) +00193 { +00194 log(level,"%s",s.c_str()); +00195 } +00196 +00197 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams) +00198 { +00199 createcommand(cmd,f,flags,minparams); +00200 } +00201 +00202 void Server::SendMode(char **parameters, int pcnt, userrec *user) +00203 { +00204 server_mode(parameters,pcnt,user); +00205 } +00206 +00207 void Server::Send(int Socket, std::string s) +00208 { +00209 Write(Socket,"%s",s.c_str()); +00210 } +00211 +00212 void Server::SendServ(int Socket, std::string s) +00213 { +00214 WriteServ(Socket,"%s",s.c_str()); +00215 } +00216 +00217 void Server::SendFrom(int Socket, userrec* User, std::string s) +00218 { +00219 WriteFrom(Socket,User,"%s",s.c_str()); +00220 } +00221 +00222 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) +00223 { +00224 if (!Source) +00225 { +00226 // if source is NULL, then the message originates from the local server +00227 Write(Dest->fd,":%s %s",this->GetServerName().c_str(),s.c_str()); +00228 } +00229 else +00230 { +00231 // otherwise it comes from the user specified +00232 WriteTo(Source,Dest,"%s",s.c_str()); +00233 } +00234 } +00235 +00236 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) +00237 { +00238 if (IncludeSender) +00239 { +00240 WriteChannel(Channel,User,"%s",s.c_str()); +00241 } +00242 else +00243 { +00244 ChanExceptSender(Channel,User,"%s",s.c_str()); +00245 } +00246 } +00247 +00248 bool Server::CommonChannels(userrec* u1, userrec* u2) +00249 { +00250 return (common_channels(u1,u2) != 0); +00251 } +00252 +00253 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) +00254 { +00255 if (IncludeSender) +00256 { +00257 WriteCommon(User,"%s",text.c_str()); +00258 } +00259 else +00260 { +00261 WriteCommonExcept(User,"%s",text.c_str()); +00262 } +00263 } +00264 +00265 void Server::SendWallops(userrec* User, std::string text) +00266 { +00267 WriteWallOps(User,false,"%s",text.c_str()); +00268 } +00269 +00270 void Server::ChangeHost(userrec* user, std::string host) +00271 { +00272 ChangeDisplayedHost(user,host.c_str()); +00273 } +00274 +00275 void Server::ChangeGECOS(userrec* user, std::string gecos) +00276 { +00277 ChangeName(user,gecos.c_str()); +00278 } +00279 +00280 bool Server::IsNick(std::string nick) +00281 { +00282 return (isnick(nick.c_str()) != 0); +00283 } +00284 +00285 userrec* Server::FindNick(std::string nick) +00286 { +00287 return Find(nick); +00288 } +00289 +00290 chanrec* Server::FindChannel(std::string channel) +00291 { +00292 return FindChan(channel.c_str()); +00293 } +00294 +00295 std::string Server::ChanMode(userrec* User, chanrec* Chan) +00296 { +00297 return cmode(User,Chan); +00298 } +00299 +00300 std::string Server::GetServerName() +00301 { +00302 return getservername(); +00303 } +00304 +00305 std::string Server::GetNetworkName() +00306 { +00307 return getnetworkname(); +00308 } 00309 -00310 bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) +00310 Admin Server::GetAdmin() 00311 { -00312 if (type == MT_SERVER) -00313 { -00314 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); -00315 return false; -00316 } -00317 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) -00318 { -00319 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); -00320 return false; -00321 } -00322 if ((params_when_on>1) || (params_when_off>1)) -00323 { -00324 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); -00325 return false; -00326 } -00327 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); -00328 } -00329 -00330 int Server::CountUsers(chanrec* c) -00331 { -00332 return usercount(c); -00333 } -00334 -00335 -00336 ConfigReader::ConfigReader() -00337 { -00338 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -00339 this->error = LoadConf(CONFIG_FILE,this->cache); +00312 return Admin(getadminname(),getadminemail(),getadminnick()); +00313 } +00314 +00315 +00316 +00317 bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) +00318 { +00319 if (type == MT_SERVER) +00320 { +00321 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); +00322 return false; +00323 } +00324 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +00325 { +00326 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); +00327 return false; +00328 } +00329 if ((params_when_on>1) || (params_when_off>1)) +00330 { +00331 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); +00332 return false; +00333 } +00334 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +00335 } +00336 +00337 int Server::CountUsers(chanrec* c) +00338 { +00339 return usercount(c); 00340 } 00341 00342 -00343 ConfigReader::~ConfigReader() +00343 ConfigReader::ConfigReader() 00344 { -00345 if (this->cache) -00346 delete this->cache; +00345 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +00346 this->error = LoadConf(CONFIG_FILE,this->cache); 00347 } 00348 00349 -00350 ConfigReader::ConfigReader(std::string filename) +00350 ConfigReader::~ConfigReader() 00351 { -00352 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); -00353 this->error = LoadConf(filename.c_str(),this->cache); -00354 }; +00352 if (this->cache) +00353 delete this->cache; +00354 } 00355 -00356 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) -00357 { -00358 char val[MAXBUF]; -00359 ReadConf(cache,tag.c_str(),name.c_str(),index,val); -00360 return val; -00361 } +00356 +00357 ConfigReader::ConfigReader(std::string filename) +00358 { +00359 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); +00360 this->error = LoadConf(filename.c_str(),this->cache); +00361 }; 00362 -00363 -00364 int ConfigReader::Enumerate(std::string tag) -00365 { -00366 return EnumConf(cache,tag.c_str()); -00367 } -00368 -00369 int ConfigReader::EnumerateValues(std::string tag, int index) -00370 { -00371 return EnumValues(cache, tag.c_str(), index); +00363 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) +00364 { +00365 char val[MAXBUF]; +00366 char t[MAXBUF]; +00367 char n[MAXBUF]; +00368 strncpy(t,tag.c_str(),MAXBUF); +00369 strncpy(n,name.c_str(),MAXBUF); +00370 ReadConf(cache,t,n,index,val); +00371 return std::string(val); 00372 } 00373 -00374 bool ConfigReader::Verify() -00375 { -00376 return this->error; -00377 } -00378 +00374 +00375 int ConfigReader::Enumerate(std::string tag) +00376 { +00377 return EnumConf(cache,tag.c_str()); +00378 } 00379 -00380 FileReader::FileReader(std::string filename) +00380 int ConfigReader::EnumerateValues(std::string tag, int index) 00381 { -00382 file_cache c; -00383 readfile(c,filename.c_str()); -00384 this->fc = c; -00385 } -00386 -00387 FileReader::FileReader() -00388 { -00389 } +00382 return EnumValues(cache, tag.c_str(), index); +00383 } +00384 +00385 bool ConfigReader::Verify() +00386 { +00387 return this->error; +00388 } +00389 00390 -00391 void FileReader::LoadFile(std::string filename) +00391 FileReader::FileReader(std::string filename) 00392 { 00393 file_cache c; 00394 readfile(c,filename.c_str()); 00395 this->fc = c; 00396 } 00397 -00398 -00399 FileReader::~FileReader() -00400 { -00401 } -00402 -00403 bool FileReader::Exists() -00404 { -00405 if (fc.size() == 0) -00406 { -00407 return(false); -00408 } -00409 else -00410 { -00411 return(true); -00412 } -00413 } -00414 -00415 std::string FileReader::GetLine(int x) -00416 { -00417 if ((x<0) || (x>fc.size())) -00418 return ""; -00419 return fc[x]; -00420 } -00421 -00422 int FileReader::FileSize() -00423 { -00424 return fc.size(); -00425 } -00426 -00427 -00428 std::vector<Module*> modules(255); -00429 std::vector<ircd_module*> factory(255); -00430 -00431 int MODCOUNT = -1; +00398 FileReader::FileReader() +00399 { +00400 } +00401 +00402 void FileReader::LoadFile(std::string filename) +00403 { +00404 file_cache c; +00405 readfile(c,filename.c_str()); +00406 this->fc = c; +00407 } +00408 +00409 +00410 FileReader::~FileReader() +00411 { +00412 } +00413 +00414 bool FileReader::Exists() +00415 { +00416 if (fc.size() == 0) +00417 { +00418 return(false); +00419 } +00420 else +00421 { +00422 return(true); +00423 } +00424 } +00425 +00426 std::string FileReader::GetLine(int x) +00427 { +00428 if ((x<0) || (x>fc.size())) +00429 return ""; +00430 return fc[x]; +00431 } 00432 -00433 -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +00433 int FileReader::FileSize() +00434 { +00435 return fc.size(); +00436 } +00437 +00438 +00439 std::vector<Module*> modules(255); +00440 std::vector<ircd_module*> factory(255); +00441 +00442 int MODCOUNT = -1; +00443 +00444 +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 3ffe71286..a8dcefe88 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -13,14 +13,18 @@ #include "ctables.h"
    #include "inspircd_io.h"
    #include "wildcard.h"
    -#include "mode.h"
    -#include "message.h"
    +#include "mode.h"
    +#include "message.h"
    +#include "commands.h"

    Include dependency graph for modules.cpp:

    Include dependency graph
    - - + + + + +

    @@ -65,7 +69,7 @@ Include dependency graph for modules.cpp:

    31 of file modules.cpp. +Definition at line 32 of file modules.cpp.

    @@ -89,9 +93,9 @@ Definition at line 31 o

    -Definition at line 32 of file modules.cpp. +Definition at line 33 of file modules.cpp.

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


    Function Documentation

    @@ -150,19 +154,19 @@ Referenced by ModeDefined()

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

    -References EMode, and ModeDefined(). +References EMode, and ModeDefined().

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

    -

    00093 {
    -00094         if (ModeDefined(modechar,type)) {
    -00095                 return false;
    -00096         }
    -00097         EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
    -00098         return true;
    -00099 }
    +
    00094 {
    +00095         if (ModeDefined(modechar,type)) {
    +00096                 return false;
    +00097         }
    +00098         EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
    +00099         return true;
    +00100 }
     
    @@ -232,24 +236,24 @@ Referenced by Server::AddEx

    -Definition at line 37 of file modules.cpp. +Definition at line 38 of file modules.cpp.

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

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

    -

    00038 {
    -00039         log(DEBUG,"Size of extmodes vector is %d",EMode.size());
    -00040         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    -00041         {
    -00042                 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
    -00043                 if ((i->modechar == modechar) && (i->type == type))
    -00044                 {
    -00045                         return true;
    -00046                 }
    -00047         }
    -00048         return false;
    -00049 }
    +
    00039 {
    +00040         log(DEBUG,"Size of extmodes vector is %d",EMode.size());
    +00041         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    +00042         {
    +00043                 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
    +00044                 if ((i->modechar == modechar) && (i->type == type))
    +00045                 {
    +00046                         return true;
    +00047                 }
    +00048         }
    +00049         return false;
    +00050 }
     
    @@ -290,20 +294,20 @@ Referenced by DoAddExtended

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

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

    -

    00080 {
    -00081         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    -00082         {
    -00083                 if ((i->modechar == modechar) && (i->type == type))
    -00084                 {
    -00085                         return i->params_when_off;
    -00086                 }
    -00087         }
    -00088         return 0;
    -00089 }
    +
    00081 {
    +00082         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    +00083         {
    +00084                 if ((i->modechar == modechar) && (i->type == type))
    +00085                 {
    +00086                         return i->params_when_off;
    +00087                 }
    +00088         }
    +00089         return 0;
    +00090 }
     
    @@ -344,20 +348,20 @@ References EMode, and <

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

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

    -

    00067 {
    -00068         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    -00069         {
    -00070                 if ((i->modechar == modechar) && (i->type == type))
    -00071                 {
    -00072                         return i->params_when_on;
    -00073                 }
    -00074         }
    -00075         return 0;
    -00076 }
    +
    00068 {
    +00069         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    +00070         {
    +00071                 if ((i->modechar == modechar) && (i->type == type))
    +00072                 {
    +00073                         return i->params_when_on;
    +00074                 }
    +00075         }
    +00076         return 0;
    +00077 }
     
    @@ -398,22 +402,22 @@ References EMode, and <

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

    -References EMode, and ExtModeListIter. -

    -

    00052 {
    -00053         log(DEBUG,"Size of extmodes vector is %d",EMode.size());
    -00054         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    -00055         {
    -00056                 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
    -00057                 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
    -00058                 {
    -00059                         return true;
    -00060                 }
    -00061         }
    -00062         return false;
    -00063 }
    +Definition at line 52 of file modules.cpp.
    +

    +References EMode, and ExtModeListIter. +

    +

    00053 {
    +00054         log(DEBUG,"Size of extmodes vector is %d",EMode.size());
    +00055         for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
    +00056         {
    +00057                 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type);
    +00058                 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
    +00059                 {
    +00060                         return true;
    +00061                 }
    +00062         }
    +00063         return false;
    +00064 }
     
    @@ -468,9 +472,9 @@ References EMode, and <

    -Definition at line 34 of file modules.cpp. +Definition at line 35 of file modules.cpp.

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

    @@ -494,10 +498,10 @@ Referenced by DoAddExtended

    -Definition at line 431 of file modules.cpp. +Definition at line 442 of file modules.cpp. -


    Generated on Mon Apr 19 02:34:36 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:11 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8cpp__incl.gif b/docs/module-doc/modules_8cpp__incl.gif index 73a11cde0..1566919c3 100644 Binary files a/docs/module-doc/modules_8cpp__incl.gif and b/docs/module-doc/modules_8cpp__incl.gif differ diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index fda8eca94..ce661ed2d 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -121,111 +121,115 @@ 00222 virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text); 00223 00232 virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text); -00233 }; -00234 -00235 -00241 class Server : public classbase -00242 { -00243 public: -00247 Server(); -00251 virtual ~Server(); -00252 -00256 virtual void SendOpers(std::string s); -00261 virtual void Log(int level, std::string s); -00266 virtual void Send(int Socket, std::string s); -00271 virtual void SendServ(int Socket, std::string s); -00276 virtual void SendFrom(int Socket, userrec* User, std::string s); -00291 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); -00298 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); -00303 virtual bool CommonChannels(userrec* u1, userrec* u2); -00311 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); -00316 virtual void SendWallops(userrec* User, std::string text); -00317 -00321 virtual bool IsNick(std::string nick); -00325 virtual int CountUsers(chanrec* c); -00329 virtual userrec* FindNick(std::string nick); -00333 virtual chanrec* FindChannel(std::string channel); -00338 virtual std::string ChanMode(userrec* User, chanrec* Chan); -00341 virtual std::string GetServerName(); -00344 virtual std::string GetNetworkName(); -00350 virtual Admin GetAdmin(); -00369 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); -00370 -00385 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); -00386 -00408 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00409 -00422 virtual void SendToModeMask(std::string modes, int flags, std::string text); -00423 -00429 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); -00430 -00436 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); -00437 -00443 virtual void ChangeUserNick(userrec* user, std::string nickname); -00444 -00455 virtual void QuitUser(userrec* user, std::string reason); -00456 -00461 virtual bool MatchText(std::string sliteral, std::string spattern); -00462 -00474 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); -00475 -00481 virtual void ChangeHost(userrec* user, std::string host); -00482 -00488 virtual void ChangeGECOS(userrec* user, std::string gecos); -00489 }; -00490 -00497 class ConfigReader : public classbase -00498 { -00499 protected: -00505 std::stringstream *cache; -00508 bool error; -00509 -00510 public: -00515 ConfigReader(); // default constructor reads ircd.conf -00519 ConfigReader(std::string filename); // read a module-specific config -00523 ~ConfigReader(); -00528 std::string ReadValue(std::string tag, std::string name, int index); -00535 int Enumerate(std::string tag); -00540 bool Verify(); -00541 -00547 int EnumerateValues(std::string tag, int index); -00548 }; -00549 -00550 -00551 -00557 class FileReader : public classbase -00558 { -00559 file_cache fc; -00560 public: -00565 FileReader(); -00566 -00572 FileReader(std::string filename); -00573 -00577 ~FileReader(); -00578 -00584 void LoadFile(std::string filename); +00233 +00241 virtual int OnUserPreNick(userrec* user, std::string newnick); +00242 }; +00243 +00244 +00250 class Server : public classbase +00251 { +00252 public: +00256 Server(); +00260 virtual ~Server(); +00261 +00265 virtual void SendOpers(std::string s); +00270 virtual void Log(int level, std::string s); +00275 virtual void Send(int Socket, std::string s); +00280 virtual void SendServ(int Socket, std::string s); +00285 virtual void SendFrom(int Socket, userrec* User, std::string s); +00300 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); +00307 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); +00312 virtual bool CommonChannels(userrec* u1, userrec* u2); +00320 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); +00325 virtual void SendWallops(userrec* User, std::string text); +00326 +00330 virtual bool IsNick(std::string nick); +00334 virtual int CountUsers(chanrec* c); +00338 virtual userrec* FindNick(std::string nick); +00342 virtual chanrec* FindChannel(std::string channel); +00347 virtual std::string ChanMode(userrec* User, chanrec* Chan); +00350 virtual std::string GetServerName(); +00353 virtual std::string GetNetworkName(); +00359 virtual Admin GetAdmin(); +00378 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00379 +00394 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); +00395 +00417 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00418 +00431 virtual void SendToModeMask(std::string modes, int flags, std::string text); +00432 +00438 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); +00439 +00445 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); +00446 +00452 virtual void ChangeUserNick(userrec* user, std::string nickname); +00453 +00464 virtual void QuitUser(userrec* user, std::string reason); +00465 +00470 virtual bool MatchText(std::string sliteral, std::string spattern); +00471 +00483 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); +00484 +00490 virtual void ChangeHost(userrec* user, std::string host); +00491 +00497 virtual void ChangeGECOS(userrec* user, std::string gecos); +00498 +00507 virtual bool IsUlined(std::string server); +00508 }; +00509 +00516 class ConfigReader : public classbase +00517 { +00518 protected: +00524 std::stringstream *cache; +00527 bool error; +00528 +00529 public: +00534 ConfigReader(); // default constructor reads ircd.conf +00538 ConfigReader(std::string filename); // read a module-specific config +00542 ~ConfigReader(); +00547 std::string ReadValue(std::string tag, std::string name, int index); +00554 int Enumerate(std::string tag); +00559 bool Verify(); +00560 +00566 int EnumerateValues(std::string tag, int index); +00567 }; +00568 +00569 +00570 +00576 class FileReader : public classbase +00577 { +00578 file_cache fc; +00579 public: +00584 FileReader(); 00585 -00589 bool Exists(); -00590 -00595 std::string GetLine(int x); -00596 -00602 int FileSize(); -00603 }; +00591 FileReader(std::string filename); +00592 +00596 ~FileReader(); +00597 +00603 void LoadFile(std::string filename); 00604 -00605 -00612 class ModuleFactory : public classbase -00613 { -00614 public: -00615 ModuleFactory() { } -00616 virtual ~ModuleFactory() { } -00621 virtual Module * CreateModule() = 0; +00608 bool Exists(); +00609 +00614 std::string GetLine(int x); +00615 +00621 int FileSize(); 00622 }; 00623 00624 -00625 typedef DLLFactory<ModuleFactory> ircd_module; -00626 -00627 #endif -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +00631 class ModuleFactory : public classbase +00632 { +00633 public: +00634 ModuleFactory() { } +00635 virtual ~ModuleFactory() { } +00640 virtual Module * CreateModule() = 0; +00641 }; +00642 +00643 +00644 typedef DLLFactory<ModuleFactory> ircd_module; +00645 +00646 #endif +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 1b5db7305..feb2caa7a 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -222,7 +222,7 @@ Definition at line 17 of

    Definition at line 18 of file modules.h.

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

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

    Definition at line 19 of file modules.h.

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

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

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

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

    -Definition at line 625 of file modules.h. +Definition at line 644 of file modules.h.

    @@ -450,7 +450,7 @@ Definition at line 31 of

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

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

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


    Generated on Mon Apr 19 02:34:36 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:12 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index 919c7f5b4..e6c193c2e 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -9,7 +9,7 @@

    InspIRCd Namespace List

    Here is a list of all namespaces with brief descriptions:
    std
    -
    Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 23578b73f..d393e2e7d 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -11,7 +11,7 @@
    -
    Generated on Mon Apr 19 02:34:53 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:33 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 6df7886ce..1e34f1fbc 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -48,7 +48,7 @@ 00040 sync_soon = false; 00041 } 00042 -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index b67beb52f..807e8bed8 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -23,7 +23,7 @@ Include dependency graph for servers.cpp:

    Go to the source code of this file.
    -
    Generated on Mon Apr 19 02:34:37 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:12 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 345b6da74..95c7af407 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -49,7 +49,7 @@ 00067 00068 #endif 00069 -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 76f26863c..146763a41 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -82,7 +82,7 @@ Definition at line 14 of Definition at line 15 of file servers.h. -
    Generated on Mon Apr 19 02:34:37 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:13 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index 1c1c5efde..2028518a1 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -116,14 +116,18 @@

    base.h

    channels.cpp

    channels.h

    +

    commands.h

    connection.h

    ctables.h

    +

    message.h

    +

    mode.h

    modules.cpp

    modules.h

    servers.cpp

    servers.h

    users.cpp

    -

    users.h

    +

    users.h

    +

    xline.h

    Compound List

    Class Hierarchy

    @@ -182,12 +191,19 @@

    packet

    Server

    ucrec

    -

    Version

    +

    Version

    +

    XLine

    +
    +

    GLine

    +

    KLine

    +

    QLine

    +

    ZLine

    +

    Compound Members

    -

    Namespace List

    -
    +

    Namespace List

    +

    std

    File Members

    diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index f50076aea..e52e39f6f 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -20,7 +20,7 @@ 00012 { 00013 // the PROPER way to do it, AVOID bzero at *ALL* costs 00014 strcpy(nick,""); -00015 ip = 0; +00015 strcpy(ip,"127.0.0.1"); 00016 timeout = 0; 00017 strcpy(ident,""); 00018 strcpy(host,""); @@ -99,7 +99,7 @@ 00091 } 00092 } 00093 } -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 19904561b..2976d702d 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -25,7 +25,7 @@ Include dependency graph for users.cpp:

    Go to the source code of this file.
    -
    Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:13 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index acfab94ea..4902b44a5 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -106,7 +106,7 @@ 00172 00173 00174 #endif -

    Generated on Mon Apr 19 02:34:32 2004 for InspIRCd by +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 49d713211..2f23f4dc1 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -21,7 +21,12 @@ Include dependency graph for users.h:

    This graph shows which files directly or indirectly include this file:

    Included by dependency graph
    - + + + + + +

    @@ -245,7 +250,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line 64 of file users.h. -


    Generated on Mon Apr 19 02:34:38 2004 for InspIRCd by +
    Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8h__dep__incl.gif b/docs/module-doc/users_8h__dep__incl.gif index d2e8563f3..2c5fe25b7 100644 Binary files a/docs/module-doc/users_8h__dep__incl.gif and b/docs/module-doc/users_8h__dep__incl.gif differ diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html new file mode 100644 index 000000000..da10d2cbc --- /dev/null +++ b/docs/module-doc/xline_8h-source.html @@ -0,0 +1,100 @@ + + +xline.h Source File + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    xline.h

    Go to the documentation of this file.
    00001 #ifndef __XLINE_H
    +00002 #define __XLINE_H
    +00003 
    +00004 // include the common header files
    +00005 
    +00006 #include <typeinfo>
    +00007 #include <iostream>
    +00008 #include <string>
    +00009 #include <deque>
    +00010 #include <sstream>
    +00011 #include <vector>
    +00012 #include "users.h"
    +00013 #include "channels.h"
    +00014 
    +00015 
    +00018 class XLine : public classbase
    +00019 {
    +00020   public:
    +00021 
    +00024         time_t set_time;
    +00025         
    +00028         long duration;
    +00029         
    +00032         char source[MAXBUF];
    +00033         
    +00036         char reason[MAXBUF];
    +00037         
    +00040         long n_matches;
    +00041         
    +00042 };
    +00043 
    +00046 class KLine : public XLine
    +00047 {
    +00048   public:
    +00052         char hostmask[MAXBUF];
    +00053 };
    +00054 
    +00057 class GLine : public XLine
    +00058 {
    +00059   public:
    +00063         char hostmask[MAXBUF];
    +00064 };
    +00065 
    +00068 class ZLine : public XLine
    +00069 {
    +00070   public:
    +00074         char ipaddr[MAXBUF];
    +00075 };
    +00076 
    +00079 class QLine : public XLine
    +00080 {
    +00081   public:
    +00085         char nick[MAXBUF];
    +00086 };
    +00087 
    +00088 void read_xline_defaults();
    +00089 
    +00090 void add_gline(long duration, char* source, char* reason, char* hostmask);
    +00091 void add_qline(long duration, char* source, char* reason, char* nickname);
    +00092 void add_zline(long duration, char* source, char* reason, char* ipaddr);
    +00093 void add_kline(long duration, char* source, char* reason, char* hostmask);
    +00094 
    +00095 bool del_gline(char* hostmask);
    +00096 bool del_qline(char* nickname);
    +00097 bool del_zline(char* ipaddr);
    +00098 bool del_kline(char* hostmask);
    +00099 
    +00100 char* matches_qline(const char* nick);
    +00101 char* matches_gline(const char* host);
    +00102 char* matches_zline(const char* ipaddr);
    +00103 char* matches_kline(const char* host);
    +00104 
    +00105 void expire_lines();
    +00106 void apply_lines();
    +00107 
    +00108 void stats_k(userrec* user);
    +00109 void stats_g(userrec* user);
    +00110 void stats_q(userrec* user);
    +00111 void stats_z(userrec* user);
    +00112 
    +00113 void gline_set_creation_time(char* host, time_t create_time);
    +00114 void qline_set_creation_time(char* nick, time_t create_time);
    +00115 void zline_set_creation_time(char* ip, time_t create_time);
    +00116 
    +00117 #endif
    +00118 
    +

    Generated on Sun Apr 25 00:24:05 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html new file mode 100644 index 000000000..71cad07cc --- /dev/null +++ b/docs/module-doc/xline_8h.html @@ -0,0 +1,816 @@ + + +xline.h File Reference + + + +
    +Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
    +

    xline.h File Reference

    #include <typeinfo>
    +#include <iostream>
    +#include <string>
    +#include <deque>
    +#include <sstream>
    +#include <vector>
    +#include "users.h"
    +#include "channels.h"
    + +

    +Include dependency graph for xline.h:

    Include dependency graph
    + + + + + + +

    +Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Compounds

    class  GLine
     GLine class. More...

    class  KLine
     KLine class. More...

    class  QLine
     QLine class. More...

    class  XLine
     XLine is the base class for ban lines such as G lines and K lines. More...

    class  ZLine
     ZLine class. More...


    Functions

    void read_xline_defaults ()
    void add_gline (long duration, char *source, char *reason, char *hostmask)
    void add_qline (long duration, char *source, char *reason, char *nickname)
    void add_zline (long duration, char *source, char *reason, char *ipaddr)
    void add_kline (long duration, char *source, char *reason, char *hostmask)
    bool del_gline (char *hostmask)
    bool del_qline (char *nickname)
    bool del_zline (char *ipaddr)
    bool del_kline (char *hostmask)
    char * matches_qline (const char *nick)
    char * matches_gline (const char *host)
    char * matches_zline (const char *ipaddr)
    char * matches_kline (const char *host)
    void expire_lines ()
    void apply_lines ()
    void stats_k (userrec *user)
    void stats_g (userrec *user)
    void stats_q (userrec *user)
    void stats_z (userrec *user)
    void gline_set_creation_time (char *host, time_t create_time)
    void qline_set_creation_time (char *nick, time_t create_time)
    void zline_set_creation_time (char *ip, time_t create_time)
    +


    Function Documentation

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void add_gline long   duration,
    char *   source,
    char *   reason,
    char *   hostmask
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void add_kline long   duration,
    char *   source,
    char *   reason,
    char *   hostmask
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void add_qline long   duration,
    char *   source,
    char *   reason,
    char *   nickname
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void add_zline long   duration,
    char *   source,
    char *   reason,
    char *   ipaddr
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + +
    void apply_lines  
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    bool del_gline char *   hostmask
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    bool del_kline char *   hostmask
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    bool del_qline char *   nickname
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    bool del_zline char *   ipaddr
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + +
    void expire_lines  
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void gline_set_creation_time char *   host,
    time_t   create_time
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    char* matches_gline const char *   host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    char* matches_kline const char *   host
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    char* matches_qline const char *   nick
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    char* matches_zline const char *   ipaddr
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void qline_set_creation_time char *   nick,
    time_t   create_time
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + +
    void read_xline_defaults  
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void stats_g userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void stats_k userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void stats_q userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + +
    void stats_z userrec  user
    +
    + + + + + +
    +   + + +

    +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    void zline_set_creation_time char *   ip,
    time_t   create_time
    +
    + + + + + +
    +   + + +

    +

    +


    Generated on Sun Apr 25 00:24:14 2004 for InspIRCd by + +doxygen1.3-rc3
    + + diff --git a/docs/module-doc/xline_8h__incl.gif b/docs/module-doc/xline_8h__incl.gif new file mode 100644 index 000000000..cbcba4542 Binary files /dev/null and b/docs/module-doc/xline_8h__incl.gif differ