From 3741ee3cd2b940132c011ba37897b6fe516f7931 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Apr 2004 18:14:00 +0000 Subject: New documentation for new ConfigReader methods git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@457 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/annotated.html | 2 +- docs/module-doc/base_8h-source.html | 2 +- docs/module-doc/base_8h.html | 2 +- docs/module-doc/channels_8cpp-source.html | 2 +- docs/module-doc/channels_8cpp.html | 2 +- docs/module-doc/channels_8h-source.html | 2 +- docs/module-doc/channels_8h.html | 2 +- docs/module-doc/classAdmin-members.html | 2 +- docs/module-doc/classAdmin.html | 2 +- docs/module-doc/classBanItem-members.html | 2 +- docs/module-doc/classBanItem.html | 2 +- docs/module-doc/classConfigReader-members.html | 3 +- docs/module-doc/classConfigReader.html | 65 +++++++++-- docs/module-doc/classConnectClass-members.html | 2 +- docs/module-doc/classConnectClass.html | 2 +- docs/module-doc/classExemptItem-members.html | 2 +- docs/module-doc/classExemptItem.html | 2 +- docs/module-doc/classExtMode-members.html | 2 +- docs/module-doc/classExtMode.html | 2 +- docs/module-doc/classFileReader-members.html | 2 +- docs/module-doc/classFileReader.html | 95 ++++++++-------- docs/module-doc/classHostItem-members.html | 2 +- docs/module-doc/classHostItem.html | 2 +- docs/module-doc/classInviteItem-members.html | 2 +- docs/module-doc/classInviteItem.html | 2 +- docs/module-doc/classInvited-members.html | 2 +- docs/module-doc/classInvited.html | 4 +- docs/module-doc/classModeParameter-members.html | 2 +- docs/module-doc/classModeParameter.html | 2 +- docs/module-doc/classModule-members.html | 2 +- docs/module-doc/classModule.html | 4 +- docs/module-doc/classModuleFactory-members.html | 2 +- docs/module-doc/classModuleFactory.html | 12 +- docs/module-doc/classServer-members.html | 2 +- docs/module-doc/classServer.html | 2 +- docs/module-doc/classVersion-members.html | 2 +- docs/module-doc/classVersion.html | 2 +- docs/module-doc/classchanrec-members.html | 2 +- docs/module-doc/classchanrec.html | 2 +- docs/module-doc/classclassbase-members.html | 2 +- docs/module-doc/classclassbase.html | 2 +- docs/module-doc/classcommand__t-members.html | 2 +- docs/module-doc/classcommand__t.html | 2 +- docs/module-doc/classconnection-members.html | 2 +- docs/module-doc/classconnection.html | 2 +- docs/module-doc/classes.html | 2 +- docs/module-doc/classpacket-members.html | 2 +- docs/module-doc/classpacket.html | 2 +- docs/module-doc/classserverrec-members.html | 2 +- docs/module-doc/classserverrec.html | 2 +- docs/module-doc/classucrec-members.html | 2 +- docs/module-doc/classucrec.html | 2 +- docs/module-doc/classuserrec-members.html | 5 +- docs/module-doc/classuserrec.html | 141 ++++++++++++++---------- docs/module-doc/classuserrec__coll__graph.gif | Bin 15323 -> 16225 bytes docs/module-doc/connection_8h-source.html | 2 +- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 2 +- docs/module-doc/ctables_8h.html | 2 +- docs/module-doc/files.html | 2 +- docs/module-doc/functions.html | 22 ++-- docs/module-doc/globals.html | 2 +- docs/module-doc/graph_legend.html | 2 +- docs/module-doc/hierarchy.html | 2 +- docs/module-doc/inherits.html | 2 +- docs/module-doc/main.html | 2 +- docs/module-doc/modules_8cpp-source.html | 118 ++++++++++---------- docs/module-doc/modules_8cpp.html | 4 +- docs/module-doc/modules_8h-source.html | 72 ++++++------ docs/module-doc/modules_8h.html | 6 +- docs/module-doc/namespaces.html | 2 +- docs/module-doc/namespacestd.html | 2 +- docs/module-doc/servers_8cpp-source.html | 2 +- docs/module-doc/servers_8cpp.html | 2 +- docs/module-doc/servers_8h-source.html | 2 +- docs/module-doc/servers_8h.html | 2 +- docs/module-doc/users_8cpp-source.html | 107 +++++++++--------- docs/module-doc/users_8cpp.html | 2 +- docs/module-doc/users_8h-source.html | 42 +++---- docs/module-doc/users_8h.html | 2 +- 80 files changed, 459 insertions(+), 369 deletions(-) (limited to 'docs') diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 37b66f08b..7cd5f9dfe 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -31,7 +31,7 @@ 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 -
Generated on Wed Apr 7 19:20:29 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:45 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 06e8dd74e..2882d8332 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 Wed Apr 7 19:20:14 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index e4299027d..72086d48b 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -34,7 +34,7 @@ This graph shows which files directly or indirectly include this file:

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

-
Generated on Wed Apr 7 19:20:16 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:30 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index de7bf1fb6..f7a03c83d 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 Wed Apr 7 19:20:14 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index d64d85b60..b2d498596 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 Wed Apr 7 19:20:17 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:31 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 5a4b6d8fd..410460a1c 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 Wed Apr 7 19:20:14 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index 29dfca93d..29ba57854 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -258,7 +258,7 @@ Holds a complete invite list. Definition at line 77 of file channels.h. -
Generated on Wed Apr 7 19:20:19 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:33 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index a3e60dd93..7851b955e 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 Wed Apr 7 19:20:30 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:46 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index cffa38dd6..4f132b26a 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -160,7 +160,7 @@ Definition at line 82 of
The documentation for this class was generated from the following files: -
Generated on Wed Apr 7 19:20:30 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:46 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 5dbdc2c2c..c7f0d3375 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 Wed Apr 7 19:20:31 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:48 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index fdca00743..16fa46ad7 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 Wed Apr 7 19:20:31 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:48 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index c631c1929..0c808632f 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -13,12 +13,13 @@ ConfigReader()ConfigReader ConfigReader(std::string filename)ConfigReader Enumerate(std::string tag)ConfigReader + EnumerateValues(std::string tag, int index)ConfigReader errorConfigReader [protected] ReadValue(std::string tag, std::string name, int index)ConfigReader Verify()ConfigReader ~classbase()classbase [inline] ~ConfigReader()ConfigReader -
Generated on Wed Apr 7 19:20:37 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:55 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 1e56ef39b..663a59fe3 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -34,6 +34,8 @@ Inheritance diagram for ConfigReader:



bool Verify ()  Returns true if a config file is valid.

+int EnumerateValues (std::string tag, int index) + Returns the number of items within a tag.


Protected Attributes

std::stringstream * cache  The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed).

@@ -82,7 +84,7 @@ Definition at line 319 References cache, and error.

00320 {
-00321         this->cache = new std::stringstream(stringstream::in | stringstream::out);
+00321         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
 00322         this->error = LoadConf(CONFIG_FILE,this->cache);
 00323 }
 
@@ -123,7 +125,7 @@ Definition at line 333 References cache, and error.

00334 {
-00335         this->cache = new std::stringstream(stringstream::in | stringstream::out);
+00335         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
 00336         this->error = LoadConf(filename.c_str(),this->cache);
 00337 };
 
@@ -208,6 +210,53 @@ Definition at line 347 +

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int ConfigReader::EnumerateValues std::string   tag,
int   index
+
+ + + + + +
+   + + +

+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 352 of file modules.cpp. +

+

00353 {
+00354         return EnumValues(cache, tag.c_str(), index);
+00355 }
+

@@ -292,13 +341,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 353 of file modules.cpp. +Definition at line 357 of file modules.cpp.

References error.

-

00354 {
-00355         return this->error;
-00356 }
+
00358 {
+00359         return this->error;
+00360 }
 
@@ -356,12 +405,12 @@ Used to store errors.

Definition at line 480 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 Wed Apr 7 19:20:37 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:55 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index db1aa1475..25608a747 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -15,7 +15,7 @@ registration_timeoutConnectClass typeConnectClass ~classbase()classbase [inline] -
Generated on Wed Apr 7 19:20:39 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:57 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 60c0e6e44..412d670b5 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -171,7 +171,7 @@ Definition at line 37 of fi
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:39 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:57 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index 6d5875847..1e0c85696 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 Wed Apr 7 19:20:42 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:01 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 56b8ad60d..b9dbfde32 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 Wed Apr 7 19:20:42 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:01 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index db605f8b3..ef603e0b4 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -13,7 +13,7 @@ params_when_offExtMode params_when_onExtMode typeExtMode -
Generated on Wed Apr 7 19:20:43 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:02 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index 1d86b7641..b0251dfb4 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -203,7 +203,7 @@ Definition at line 22 o
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:43 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:02 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 449dbb019..d6a050771 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 Wed Apr 7 19:20:44 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:03 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 000c829b8..3ca670a48 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -31,6 +31,7 @@ Inheritance diagram for FileReader:

LoadFile (std::string filename)  Used to load a file.

bool Exists () + Returns true if the file exists This function will return false if the file could not be opened.

std::string GetLine (int x)  Retrieve one line from the file.

int FileSize () @@ -45,7 +46,7 @@ This class contains methods for read-only manipulation of a text file in memory.

-Definition at line 522 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 529 of file modules.h.

Constructor & Destructor Documentation

@@ -75,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 366 of file modules.cpp. +Definition at line 370 of file modules.cpp.

-

00367 {
-00368 }
+
00371 {
+00372 }
 
@@ -112,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 359 of file modules.cpp. +Definition at line 363 of file modules.cpp.

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

-

00360 {
-00361         file_cache c;
-00362         readfile(c,filename.c_str());
-00363         this->fc = c;
-00364 }
+
00364 {
+00365         file_cache c;
+00366         readfile(c,filename.c_str());
+00367         this->fc = c;
+00368 }
 
@@ -153,10 +154,10 @@ Default destructor.

This deletes the memory allocated to the file.

-Definition at line 378 of file modules.cpp. +Definition at line 382 of file modules.cpp.

-

00379 {
-00380 }
+
00383 {
+00384 }
 
@@ -186,22 +187,24 @@ Definition at line 378

+Returns true if the file exists This function will return false if the file could not be opened. +

-Definition at line 382 of file modules.cpp. +Definition at line 386 of file modules.cpp.

-References fc. +References fc.

-

00383 {
-00384         if (fc.size() == 0)
-00385         {
-00386                 return(false);
-00387         }
-00388         else
+
00387 {
+00388         if (fc.size() == 0)
 00389         {
-00390                 return(true);
+00390                 return(false);
 00391         }
-00392 }
+00392         else
+00393         {
+00394                 return(true);
+00395         }
+00396 }
 
@@ -234,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 401 of file modules.cpp. +Definition at line 405 of file modules.cpp.

-References fc. +References fc.

-

00402 {
-00403         return fc.size();
-00404 }
+
00406 {
+00407         return fc.size();
+00408 }
 
@@ -274,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 394 of file modules.cpp. +Definition at line 398 of file modules.cpp.

-References fc. +References fc.

-

00395 {
-00396         if ((x<0) || (x>fc.size()))
-00397                 return "";
-00398         return fc[x];
-00399 }
+
00399 {
+00400         if ((x<0) || (x>fc.size()))
+00401                 return "";
+00402         return fc[x];
+00403 }
 
@@ -316,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 370 of file modules.cpp. +Definition at line 374 of file modules.cpp.

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

-

00371 {
-00372         file_cache c;
-00373         readfile(c,filename.c_str());
-00374         this->fc = c;
-00375 }
+
00375 {
+00376         file_cache c;
+00377         readfile(c,filename.c_str());
+00378         this->fc = c;
+00379 }
 
@@ -350,14 +353,14 @@ References fc, and

-Definition at line 524 of file modules.h. +Definition at line 531 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 Wed Apr 7 19:20:44 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:03 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index eda9c2842..26918e97d 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 Wed Apr 7 19:20:45 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 569fb0bc5..391400b89 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 Wed Apr 7 19:20:45 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:05 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 657d9c637..3732f219d 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 Wed Apr 7 19:20:47 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:08 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index fe9bea3b2..c3f02830d 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 Wed Apr 7 19:20:47 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:08 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index 199390a0c..61d4a85cb 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 Wed Apr 7 19:20:46 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:07 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index f8768aa6c..c59b9a439 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -53,12 +53,12 @@ Definition at line 25 of fi

Definition at line 28 of file users.h.

-Referenced by userrec::InviteTo(). +Referenced by userrec::InviteTo().


The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:46 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:07 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index 20ba3d46b..1e77da1ea 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 Wed Apr 7 19:20:49 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:10 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index 164a0b9b7..cbfc69822 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 Wed Apr 7 19:20:49 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:10 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 33dca5d0e..a0695a3fe 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -28,7 +28,7 @@ OnWhois(userrec *source, userrec *dest)Module [virtual] ~classbase()classbase [inline] ~Module()Module [virtual] -
Generated on Wed Apr 7 19:20:50 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:11 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 6609129f4..9f61cb706 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -238,7 +238,7 @@ The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the

Definition at line 119 of file modules.cpp.

-

00119 { }
+
00119 { return false; }
 
@@ -843,7 +843,7 @@ Definition at line 123
The documentation for this class was generated from the following files: -
Generated on Wed Apr 7 19:20:50 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:11 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index 523c611a4..e821ae67a 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 Wed Apr 7 19:20:51 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:13 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index 0dd282315..427fe5328 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 574 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 584 of file modules.h.

Constructor & Destructor Documentation

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

-Definition at line 577 of file modules.h. +Definition at line 587 of file modules.h.

-

00577 { }
+
00587 { }
 
@@ -95,9 +95,9 @@ Definition at line 577 of

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

-

00578 { }
+
00588 { }
 
@@ -134,7 +134,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h -
Generated on Wed Apr 7 19:20:51 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:13 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index 7234bba5f..9aa8cf46f 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -39,7 +39,7 @@ Server()Server ~classbase()classbase [inline] ~Server()Server [virtual] -
Generated on Wed Apr 7 19:20:54 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index 37cd97528..c882ab073 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -1508,7 +1508,7 @@ Definition at line 251
The documentation for this class was generated from the following files: -
Generated on Wed Apr 7 19:20:54 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:16 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 7d6d906a1..f3954c819 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 Wed Apr 7 19:21:00 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:25 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index dd3427bee..52032b4fd 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -191,7 +191,7 @@ Definition at line 70 of
The documentation for this class was generated from the following files: -
Generated on Wed Apr 7 19:21:00 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:25 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 2c173f165..9779336c5 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 Wed Apr 7 19:20:33 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:50 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 4c0c068bf..c4a358426 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 Wed Apr 7 19:20:33 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:50 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index e40b362ed..cec3359be 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 Wed Apr 7 19:20:35 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:52 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index f0014c1bc..4e358f69d 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -144,7 +144,7 @@ Definition at line 20 of fil
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:35 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:52 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index d929d53fe..7e3c94fd0 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 Wed Apr 7 19:20:36 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:54 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index e64a29035..cc0b01062 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -199,7 +199,7 @@ Definition at line 44 of
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:36 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:54 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 4d0009024..6e5472b03 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -36,7 +36,7 @@ signonconnection TerminateLink(char *targethost)connection ~classbase()classbase [inline] -
Generated on Wed Apr 7 19:20:41 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:59 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index 7aa6cd612..8c133be35 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -837,7 +837,7 @@ Referenced by serverrec::se
The documentation for this class was generated from the following file:
-
Generated on Wed Apr 7 19:20:41 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:59 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index f87191e90..9842e9d97 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -19,7 +19,7 @@
  P  
userrec   chanrec   ExemptItem   Invited   packet   
  V  
classbase   ExtMode   InviteItem   
  S  
-Version   
Generated on Wed Apr 7 19:20:29 2004 for InspIRCd by +Version   
Generated on Thu Apr 8 19:12:45 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index a57bf6b56..9e6c13fcd 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -16,7 +16,7 @@ typepacket ~classbase()classbase [inline] ~packet()packet -
Generated on Wed Apr 7 19:20:53 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:14 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index c431b46c9..2c7e909b4 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -183,7 +183,7 @@ Definition at line 31
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:53 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:14 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 17d8f9482..ddafd30b9 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -47,7 +47,7 @@ versionserverrec ~classbase()classbase [inline] ~serverrec()serverrec -
Generated on Wed Apr 7 19:20:56 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:19 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 9f4c7060f..fbae629e7 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -422,7 +422,7 @@ Referenced by serverrec()
The documentation for this class was generated from the following files:
-
Generated on Wed Apr 7 19:20:56 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:19 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 5e3db8265..cb1eeb7f2 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 Wed Apr 7 19:20:57 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index ca9f03c54..2376f8459 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -162,7 +162,7 @@ Definition at line 197 o
The documentation for this class was generated from the following file: -
Generated on Wed Apr 7 19:20:57 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:21 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index e2b565995..f4a75fb0e 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -12,6 +12,7 @@ BeginLink(char *targethost, int port, char *password)connection bytes_inconnection bytes_outconnection + carryoveruserrec chansuserrec classbase()classbase [inline] cmds_inconnection @@ -50,11 +51,11 @@ serveruserrec signonconnection TerminateLink(char *targethost)connection - timeoutuserrec + timeoutuserrec userrec()userrec ~classbase()classbase [inline] ~userrec()userrec [inline, virtual] -
Generated on Wed Apr 7 19:20:59 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:23 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 3d42a4d77..5270e6a4e 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. @@ -54,7 +54,8 @@ Inheritance diagram for userrec:



- + + @@ -96,13 +97,13 @@ Definition at line 66 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, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, connection::signon, and timeout. +References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, connection::signon, and timeout.

00012 {
 00013         // the PROPER way to do it, AVOID bzero at *ALL* costs
 00014         strcpy(nick,"");
 00015         ip = 0;
-00016         timeout = 0;
+00016         timeout = 0;
 00017         strcpy(ident,"");
 00018         strcpy(host,"");
 00019         strcpy(dhost,"");
@@ -151,9 +152,9 @@ References connection::byt
 

-Definition at line 120 of file users.h. +Definition at line 122 of file users.h.

-

00120 {  }
+
00122 {  }
 
char result [256]
 Stores the result of the last GetFullHost or GetRealHost call.

unsigned long timeout
char carryover [MAXBUF]
unsigned long timeout

Private Attributes

InvitedList invites
 A list of channels the user has a pending invite to.

@@ -187,14 +188,14 @@ Returns the full displayed host of the user This member function returns the hos

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

References result.

-

00038 {
-00039         sprintf(result,"%s!%s@%s",nick,ident,dhost);
-00040         return result;
-00041 }
+
00039 {
+00040         sprintf(result,"%s!%s@%s",nick,ident,dhost);
+00041         return result;
+00042 }
 
@@ -227,14 +228,14 @@ Returns the full real host of the user This member function returns the hostname

If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.

-Definition at line 44 of file users.cpp. +Definition at line 45 of file users.cpp.

References result.

-

00045 {
-00046         sprintf(result,"%s!%s@%s",nick,ident,host);
-00047         return result;
-00048 }
+
00046 {
+00047         sprintf(result,"%s!%s@%s",nick,ident,host);
+00048         return result;
+00049 }
 
@@ -268,15 +269,15 @@ Adds a channel to a users invite list (invites them to a channel).

-Definition at line 64 of file users.cpp. +Definition at line 65 of file users.cpp.

References Invited::channel, and invites.

-

00065 {
-00066         Invited i;
-00067         strcpy(i.channel,channel);
-00068         invites.push_back(i);
-00069 }
+
00066 {
+00067         Invited i;
+00068         strcpy(i.channel,channel);
+00069         invites.push_back(i);
+00070 }
 
@@ -310,22 +311,22 @@ Returns true if a user is invited to a channel.

-Definition at line 50 of file users.cpp. +Definition at line 51 of file users.cpp.

References invites.

-

00051 {
-00052         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00053         {
-00054                 if (i->channel) {
-00055                         if (!strcasecmp(i->channel,channel))
-00056                         {
-00057                                 return true;
-00058                         }
-00059                 }
-00060         }
-00061         return false;
-00062 }
+
00052 {
+00053         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00054         {
+00055                 if (i->channel) {
+00056                         if (!strcasecmp(i->channel,channel))
+00057                         {
+00058                                 return true;
+00059                         }
+00060                 }
+00061         }
+00062         return false;
+00063 }
 
@@ -359,26 +360,26 @@ Removes a channel from a users invite list.

This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.

-Definition at line 71 of file users.cpp. +Definition at line 72 of file users.cpp.

References invites.

-

00072 {
-00073         log(DEBUG,"Removing invites");
-00074         if (invites.size())
-00075         {
-00076                 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00077                 {
-00078                         if (i->channel) {
-00079                                 if (!strcasecmp(i->channel,channel))
-00080                                 {
-00081                                         invites.erase(i);
-00082                                         return;
-00083                                 }
-00084                         }
-00085                 }
-00086         }
-00087 }
+
00073 {
+00074         log(DEBUG,"Removing invites");
+00075         if (invites.size())
+00076         {
+00077                 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00078                 {
+00079                         if (i->channel) {
+00080                                 if (!strcasecmp(i->channel,channel))
+00081                                 {
+00082                                         invites.erase(i);
+00083                                         return;
+00084                                 }
+00085                         }
+00086                 }
+00087         }
+00088 }
 
@@ -409,6 +410,30 @@ If this string is empty, the user is not marked as away. Definition at line 109 of file users.h. +

+ + + + +
+ + +
char userrec::carryover[MAXBUF] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 116 of file users.h.

@@ -538,7 +563,7 @@ A list of channels the user has a pending invite to.

Definition at line 72 of file users.h.

-Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec(). +Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().

@@ -618,7 +643,7 @@ You may use this to increase the speed of use of this class.

Definition at line 114 of file users.h.

-Referenced by GetFullHost(), and GetFullRealHost(). +Referenced by GetFullHost(), and GetFullRealHost().

@@ -647,7 +672,7 @@ The server the user is connected to. Definition at line 104 of file users.h. -

+

@@ -668,14 +693,14 @@ Definition at line 104 of f

-Definition at line 116 of file users.h. +Definition at line 118 of file users.h.

Referenced by userrec().


The documentation for this class was generated from the following files: -
Generated on Wed Apr 7 19:20:59 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:23 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 ffaa44f64..de3b9bb77 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/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index f0096c56f..13f3b5169 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -79,7 +79,7 @@ 00071 00072 #endif 00073 -

Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +

Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 80e0f3bb9..c476a99b5 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -142,7 +142,7 @@ Definition at line 20 Definition at line 22 of file connection.h. -
Generated on Wed Apr 7 19:20:21 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:35 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 28aa921bb..b0fe3dd81 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -43,7 +43,7 @@ 00049 00050 #endif 00051 -

Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +

Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index cf59e4eb7..c71511fb6 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -57,7 +57,7 @@ This graph shows which files directly or indirectly include this file:

23 of file ctables.h. -
Generated on Wed Apr 7 19:20:22 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:36 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index f9f7247fc..aa5bf9c38 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -19,7 +19,7 @@ users.cpp [code] users.h [code] -
Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +
Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 56277b2fd..578a1298c 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -30,7 +30,8 @@ Here is a list of all class members with links to the classes they belong to:

  • c_private : chanrec
  • cache -: ConfigReader
  • ChangeUserNick() +: ConfigReader
  • carryover +: userrec
  • ChangeUserNick() : Server
  • ChanMode() : Server
  • channel : Invited, ucrec, ModeParameter
  • chanrec() @@ -58,7 +59,8 @@ Here is a list of all class members with links to the classes they belong to:

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

    connection
  • SendTo() : Server
  • SendToModeMask() : Server
  • SendWallops() -: Server
  • server -: userrec
  • Server() -: Server
  • serverrec() +: Server
  • Server() +: Server
  • server +: userrec
  • serverrec() : serverrec
  • set_by : HostItem
  • set_time : HostItem
  • setby @@ -221,7 +223,7 @@ Here is a list of all class members with links to the classes they belong to:

    - ~ -

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

      serverrec
    • ~ucrec() : ucrec
    • ~userrec() : userrec
    -
    Generated on Wed Apr 7 19:20:29 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:45 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 20d067619..f8c37422c 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -102,7 +102,7 @@ Here is a list of all file members with links to the files they belong to:

    -
    Generated on Wed Apr 7 19:21:00 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:13:25 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index 74b47f62e..ca986b29f 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 Wed Apr 7 19:21:01 2004 for InspIRCd by +
Generated on Thu Apr 8 19:13:25 2004 for InspIRCd by doxygen1.3-rc3
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 0ecdf7354..e83db36f0 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -39,7 +39,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:
  • ExtMode -
    Generated on Wed Apr 7 19:20:29 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:45 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 4a6f31a42..896ab60aa 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -39,7 +39,7 @@ -
    Generated on Wed Apr 7 19:21:03 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:13:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 13863df46..d15246941 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 Wed Apr 7 19:20:14 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 38b2bb45b..8281865c1 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -124,7 +124,7 @@ 00116 void Module::OnRehash() { } 00117 void Module::OnServerRaw(std::string &raw, bool inbound) { } 00118 int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; } -00119 bool Module::OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params) { } +00119 bool Module::OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params) { return false; } 00120 Version Module::GetVersion() { return Version(1,0,0,0); } 00121 void Module::OnOper(userrec* user) { }; 00122 void Module::OnInfo(userrec* user) { }; @@ -326,7 +326,7 @@ 00318 00319 ConfigReader::ConfigReader() 00320 { -00321 this->cache = new std::stringstream(stringstream::in | stringstream::out); +00321 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); 00322 this->error = LoadConf(CONFIG_FILE,this->cache); 00323 } 00324 @@ -340,7 +340,7 @@ 00332 00333 ConfigReader::ConfigReader(std::string filename) 00334 { -00335 this->cache = new std::stringstream(stringstream::in | stringstream::out); +00335 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); 00336 this->error = LoadConf(filename.c_str(),this->cache); 00337 }; 00338 @@ -357,68 +357,72 @@ 00349 return EnumConf(cache,tag.c_str()); 00350 } 00351 -00352 -00353 bool ConfigReader::Verify() -00354 { -00355 return this->error; -00356 } -00357 -00358 -00359 FileReader::FileReader(std::string filename) -00360 { -00361 file_cache c; -00362 readfile(c,filename.c_str()); -00363 this->fc = c; -00364 } -00365 -00366 FileReader::FileReader() -00367 { +00352 int ConfigReader::EnumerateValues(std::string tag, int index) +00353 { +00354 return EnumValues(cache, tag.c_str(), index); +00355 } +00356 +00357 bool ConfigReader::Verify() +00358 { +00359 return this->error; +00360 } +00361 +00362 +00363 FileReader::FileReader(std::string filename) +00364 { +00365 file_cache c; +00366 readfile(c,filename.c_str()); +00367 this->fc = c; 00368 } 00369 -00370 void FileReader::LoadFile(std::string filename) +00370 FileReader::FileReader() 00371 { -00372 file_cache c; -00373 readfile(c,filename.c_str()); -00374 this->fc = c; -00375 } -00376 -00377 -00378 FileReader::~FileReader() -00379 { -00380 } +00372 } +00373 +00374 void FileReader::LoadFile(std::string filename) +00375 { +00376 file_cache c; +00377 readfile(c,filename.c_str()); +00378 this->fc = c; +00379 } +00380 00381 -00382 bool FileReader::Exists() +00382 FileReader::~FileReader() 00383 { -00384 if (fc.size() == 0) -00385 { -00386 return(false); -00387 } -00388 else +00384 } +00385 +00386 bool FileReader::Exists() +00387 { +00388 if (fc.size() == 0) 00389 { -00390 return(true); +00390 return(false); 00391 } -00392 } -00393 -00394 std::string FileReader::GetLine(int x) -00395 { -00396 if ((x<0) || (x>fc.size())) -00397 return ""; -00398 return fc[x]; -00399 } -00400 -00401 int FileReader::FileSize() -00402 { -00403 return fc.size(); -00404 } -00405 -00406 -00407 std::vector<Module*> modules(255); -00408 std::vector<ircd_module*> factory(255); +00392 else +00393 { +00394 return(true); +00395 } +00396 } +00397 +00398 std::string FileReader::GetLine(int x) +00399 { +00400 if ((x<0) || (x>fc.size())) +00401 return ""; +00402 return fc[x]; +00403 } +00404 +00405 int FileReader::FileSize() +00406 { +00407 return fc.size(); +00408 } 00409 -00410 int MODCOUNT = -1; -00411 -00412 -

    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +00410 +00411 std::vector<Module*> modules(255); +00412 std::vector<ircd_module*> factory(255); +00413 +00414 int MODCOUNT = -1; +00415 +00416 +

    Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 6b32431a5..d45304586 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -493,10 +493,10 @@ Referenced by DoAddExtended

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


    Generated on Wed Apr 7 19:20:23 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:38 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 7fca50afb..7b6666e5c 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -180,43 +180,45 @@ 00500 std::string ReadValue(std::string tag, std::string name, int index); 00507 int Enumerate(std::string tag); 00512 bool Verify(); -00513 }; -00514 -00515 -00516 -00522 class FileReader : public classbase -00523 { -00524 file_cache fc; -00525 public: -00530 FileReader(); -00531 -00537 FileReader(std::string filename); +00513 +00519 int EnumerateValues(std::string tag, int index); +00520 }; +00521 +00522 +00523 +00529 class FileReader : public classbase +00530 { +00531 file_cache fc; +00532 public: +00537 FileReader(); 00538 -00542 ~FileReader(); -00543 -00549 void LoadFile(std::string filename); +00544 FileReader(std::string filename); +00545 +00549 ~FileReader(); 00550 -00551 bool Exists(); -00552 -00557 std::string GetLine(int x); -00558 -00564 int FileSize(); -00565 }; -00566 -00567 -00574 class ModuleFactory : public classbase -00575 { -00576 public: -00577 ModuleFactory() { } -00578 virtual ~ModuleFactory() { } -00583 virtual Module * CreateModule() = 0; -00584 }; -00585 -00586 -00587 typedef DLLFactory<ModuleFactory> ircd_module; -00588 -00589 #endif -

    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +00556 void LoadFile(std::string filename); +00557 +00561 bool Exists(); +00562 +00567 std::string GetLine(int x); +00568 +00574 int FileSize(); +00575 }; +00576 +00577 +00584 class ModuleFactory : public classbase +00585 { +00586 public: +00587 ModuleFactory() { } +00588 virtual ~ModuleFactory() { } +00593 virtual Module * CreateModule() = 0; +00594 }; +00595 +00596 +00597 typedef DLLFactory<ModuleFactory> ircd_module; +00598 +00599 #endif +

    Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 03e670031..905e2c000 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -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 587 of file modules.h. +Definition at line 597 of file modules.h.

    @@ -499,7 +499,7 @@ Referenced by Server::AddCo Referenced by Server::SendMode(). -


    Generated on Wed Apr 7 19:20:24 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:39 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index c24ab0648..6ab7ce4cc 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 Wed Apr 7 19:21:00 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:13:25 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 6645559fe..f75cb72d4 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -11,7 +11,7 @@
    -
    Generated on Wed Apr 7 19:21:00 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:13:25 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 b1c7afe77..760fa2b8d 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -46,7 +46,7 @@ 00038 fd = 0; 00039 } 00040 -

    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +

    Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 2bc24eee2..8b6391d93 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 Wed Apr 7 19:20:25 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:40 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 f798bade3..347fc07a4 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -44,7 +44,7 @@ 00060 00061 #endif 00062 -

    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +

    Generated on Thu Apr 8 19:12:27 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 72e4c1d7f..c53be807e 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 Wed Apr 7 19:20:26 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:42 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 1b579972a..a30869ad5 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -21,7 +21,7 @@ 00013 // the PROPER way to do it, AVOID bzero at *ALL* costs 00014 strcpy(nick,""); 00015 ip = 0; -00016 timeout = 0; +00016 timeout = 0; 00017 strcpy(ident,""); 00018 strcpy(host,""); 00019 strcpy(dhost,""); @@ -41,59 +41,60 @@ 00033 invites.clear(); 00034 } 00035 -00036 -00037 char* userrec::GetFullHost() -00038 { -00039 sprintf(result,"%s!%s@%s",nick,ident,dhost); -00040 return result; -00041 } -00042 +00036 +00037 +00038 char* userrec::GetFullHost() +00039 { +00040 sprintf(result,"%s!%s@%s",nick,ident,dhost); +00041 return result; +00042 } 00043 -00044 char* userrec::GetFullRealHost() -00045 { -00046 sprintf(result,"%s!%s@%s",nick,ident,host); -00047 return result; -00048 } -00049 -00050 bool userrec::IsInvited(char* channel) -00051 { -00052 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00053 { -00054 if (i->channel) { -00055 if (!strcasecmp(i->channel,channel)) -00056 { -00057 return true; -00058 } -00059 } -00060 } -00061 return false; -00062 } -00063 -00064 void userrec::InviteTo(char* channel) -00065 { -00066 Invited i; -00067 strcpy(i.channel,channel); -00068 invites.push_back(i); -00069 } -00070 -00071 void userrec::RemoveInvite(char* channel) -00072 { -00073 log(DEBUG,"Removing invites"); -00074 if (invites.size()) -00075 { -00076 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00077 { -00078 if (i->channel) { -00079 if (!strcasecmp(i->channel,channel)) -00080 { -00081 invites.erase(i); -00082 return; -00083 } -00084 } -00085 } -00086 } -00087 } -

    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +00044 +00045 char* userrec::GetFullRealHost() +00046 { +00047 sprintf(result,"%s!%s@%s",nick,ident,host); +00048 return result; +00049 } +00050 +00051 bool userrec::IsInvited(char* channel) +00052 { +00053 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00054 { +00055 if (i->channel) { +00056 if (!strcasecmp(i->channel,channel)) +00057 { +00058 return true; +00059 } +00060 } +00061 } +00062 return false; +00063 } +00064 +00065 void userrec::InviteTo(char* channel) +00066 { +00067 Invited i; +00068 strcpy(i.channel,channel); +00069 invites.push_back(i); +00070 } +00071 +00072 void userrec::RemoveInvite(char* channel) +00073 { +00074 log(DEBUG,"Removing invites"); +00075 if (invites.size()) +00076 { +00077 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00078 { +00079 if (i->channel) { +00080 if (!strcasecmp(i->channel,channel)) +00081 { +00082 invites.erase(i); +00083 return; +00084 } +00085 } +00086 } +00087 } +00088 } +
    Generated on Thu Apr 8 19:12:28 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 32f4f7dc6..1db0c02cd 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 Wed Apr 7 19:20:27 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:43 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 caf73ee91..05c0fb657 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -82,27 +82,29 @@ 00110 00114 char result[256]; 00115 -00116 unsigned long timeout; -00117 -00118 userrec(); -00119 -00120 virtual ~userrec() { } +00116 char carryover[MAXBUF]; +00117 +00118 unsigned long timeout; +00119 +00120 userrec(); 00121 -00126 virtual char* GetFullHost(); -00127 -00133 virtual char* GetFullRealHost(); -00134 -00137 virtual bool IsInvited(char* channel); -00138 -00141 virtual void InviteTo(char* channel); -00142 -00147 virtual void RemoveInvite(char* channel); -00148 -00149 }; -00150 -00151 -00152 #endif -
    Generated on Wed Apr 7 19:20:14 2004 for InspIRCd by +00122 virtual ~userrec() { } +00123 +00128 virtual char* GetFullHost(); +00129 +00135 virtual char* GetFullRealHost(); +00136 +00139 virtual bool IsInvited(char* channel); +00140 +00143 virtual void InviteTo(char* channel); +00144 +00149 virtual void RemoveInvite(char* channel); +00150 +00151 }; +00152 +00153 +00154 #endif +
    Generated on Thu Apr 8 19:12:28 2004 for InspIRCd by doxygen1.3-rc3
    diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 40ab7d22c..5285e2246 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -245,7 +245,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line 52 of file users.h. -
    Generated on Wed Apr 7 19:20:29 2004 for InspIRCd by +
    Generated on Thu Apr 8 19:12:45 2004 for InspIRCd by doxygen1.3-rc3
    -- cgit v1.2.3