From 3d7312f8af1becdbe458392e14ea64c904ee7b92 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Apr 2005 14:39:07 +0000 Subject: [PATCH] Changed parameters of OnPacketTransmit and OnPacketReceive to be much more useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1024 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/man/man3/Admin.3 | 2 +- docs/man/man3/BanItem.3 | 2 +- docs/man/man3/ConfigReader.3 | 12 +- docs/man/man3/ConnectClass.3 | 30 +- docs/man/man3/DNS.3 | 2 +- docs/man/man3/ELine.3 | 2 +- docs/man/man3/ExemptItem.3 | 2 +- docs/man/man3/ExtMode.3 | 2 +- docs/man/man3/Extensible.3 | 2 +- docs/man/man3/FileReader.3 | 6 +- docs/man/man3/GLine.3 | 2 +- docs/man/man3/HostItem.3 | 2 +- docs/man/man3/InAddr_HashComp.3 | 2 +- docs/man/man3/InviteItem.3 | 2 +- docs/man/man3/Invited.3 | 2 +- docs/man/man3/KLine.3 | 2 +- docs/man/man3/ModeParameter.3 | 2 +- docs/man/man3/Module.3 | 14 +- docs/man/man3/ModuleFactory.3 | 12 +- docs/man/man3/QLine.3 | 2 +- docs/man/man3/Server.3 | 4 +- docs/man/man3/StrHashComp.3 | 2 +- docs/man/man3/Version.3 | 2 +- docs/man/man3/XLine.3 | 2 +- docs/man/man3/ZLine.3 | 2 +- docs/man/man3/base.h.3 | 2 +- docs/man/man3/channels.cpp.3 | 2 +- docs/man/man3/channels.h.3 | 2 +- docs/man/man3/chanrec.3 | 2 +- docs/man/man3/classbase.3 | 2 +- docs/man/man3/command_t.3 | 2 +- docs/man/man3/commands.h.3 | 2 +- docs/man/man3/connection.3 | 2 +- docs/man/man3/connection.h.3 | 2 +- docs/man/man3/ctables.h.3 | 2 +- docs/man/man3/dns.h.3 | 2 +- docs/man/man3/dns_ip4list.3 | 2 +- docs/man/man3/ircd_connector.3 | 2 +- docs/man/man3/message.h.3 | 2 +- docs/man/man3/mode.h.3 | 2 +- docs/man/man3/modules.cpp.3 | 2 +- docs/man/man3/modules.h.3 | 12 +- docs/man/man3/nspace.3 | 2 +- docs/man/man3/nspace_nspace_hash_ in_addr _.3 | 2 +- docs/man/man3/nspace_nspace_hash_ string _.3 | 2 +- docs/man/man3/packet.3 | 2 +- docs/man/man3/serverrec.3 | 2 +- docs/man/man3/servers.cpp.3 | 2 +- docs/man/man3/servers.h.3 | 2 +- docs/man/man3/std.3 | 2 +- docs/man/man3/ucrec.3 | 2 +- docs/man/man3/userrec.3 | 43 ++- docs/man/man3/users.cpp.3 | 2 +- docs/man/man3/users.h.3 | 6 +- docs/man/man3/xline.h.3 | 2 +- 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 +- .../module-doc/classConfigReader-members.html | 2 +- docs/module-doc/classConfigReader.html | 34 +- .../module-doc/classConnectClass-members.html | 5 +- docs/module-doc/classConnectClass.html | 66 +++- docs/module-doc/classDNS-members.html | 2 +- docs/module-doc/classDNS.html | 2 +- docs/module-doc/classELine-members.html | 2 +- docs/module-doc/classELine.html | 2 +- docs/module-doc/classExemptItem-members.html | 2 +- docs/module-doc/classExemptItem.html | 2 +- docs/module-doc/classExtMode-members.html | 2 +- docs/module-doc/classExtMode.html | 2 +- docs/module-doc/classExtensible-members.html | 2 +- docs/module-doc/classExtensible.html | 2 +- docs/module-doc/classFileReader-members.html | 2 +- docs/module-doc/classFileReader.html | 16 +- docs/module-doc/classGLine-members.html | 2 +- docs/module-doc/classGLine.html | 2 +- docs/module-doc/classHostItem-members.html | 2 +- docs/module-doc/classHostItem.html | 2 +- docs/module-doc/classInviteItem-members.html | 2 +- docs/module-doc/classInviteItem.html | 2 +- docs/module-doc/classInvited-members.html | 2 +- docs/module-doc/classInvited.html | 2 +- docs/module-doc/classKLine-members.html | 2 +- docs/module-doc/classKLine.html | 2 +- .../classModeParameter-members.html | 2 +- docs/module-doc/classModeParameter.html | 2 +- docs/module-doc/classModule-members.html | 6 +- docs/module-doc/classModule.html | 44 ++- .../classModuleFactory-members.html | 2 +- docs/module-doc/classModuleFactory.html | 12 +- docs/module-doc/classQLine-members.html | 2 +- docs/module-doc/classQLine.html | 2 +- docs/module-doc/classServer-members.html | 2 +- docs/module-doc/classServer.html | 6 +- docs/module-doc/classVersion-members.html | 2 +- docs/module-doc/classVersion.html | 2 +- docs/module-doc/classXLine-members.html | 2 +- docs/module-doc/classXLine.html | 2 +- docs/module-doc/classZLine-members.html | 2 +- docs/module-doc/classZLine.html | 2 +- docs/module-doc/classchanrec-members.html | 2 +- docs/module-doc/classchanrec.html | 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 +- .../classircd__connector-members.html | 2 +- docs/module-doc/classircd__connector.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 | 3 +- docs/module-doc/classuserrec.html | 77 +++-- docs/module-doc/commands_8h-source.html | 2 +- docs/module-doc/commands_8h.html | 2 +- docs/module-doc/connection_8h-source.html | 2 +- docs/module-doc/connection_8h.html | 2 +- docs/module-doc/ctables_8h-source.html | 2 +- docs/module-doc/ctables_8h.html | 2 +- docs/module-doc/dns_8h-source.html | 2 +- docs/module-doc/dns_8h.html | 2 +- docs/module-doc/files.html | 2 +- docs/module-doc/functions.html | 7 +- docs/module-doc/functions_func.html | 2 +- docs/module-doc/functions_vars.html | 7 +- docs/module-doc/globals.html | 2 +- docs/module-doc/globals_defs.html | 2 +- docs/module-doc/globals_func.html | 2 +- docs/module-doc/globals_type.html | 2 +- docs/module-doc/globals_vars.html | 2 +- docs/module-doc/hierarchy.html | 2 +- docs/module-doc/main.html | 2 +- docs/module-doc/message_8h-source.html | 2 +- docs/module-doc/message_8h.html | 2 +- docs/module-doc/mode_8h-source.html | 2 +- docs/module-doc/mode_8h.html | 2 +- docs/module-doc/modules_8cpp-source.html | 6 +- docs/module-doc/modules_8cpp.html | 2 +- docs/module-doc/modules_8h-source.html | 322 +++++++++--------- docs/module-doc/modules_8h.html | 12 +- docs/module-doc/namespacenspace.html | 2 +- docs/module-doc/namespaces.html | 2 +- docs/module-doc/namespacestd.html | 2 +- docs/module-doc/servers_8cpp-source.html | 2 +- docs/module-doc/servers_8cpp.html | 2 +- docs/module-doc/servers_8h-source.html | 2 +- docs/module-doc/servers_8h.html | 2 +- .../structInAddr__HashComp-members.html | 2 +- docs/module-doc/structInAddr__HashComp.html | 2 +- .../module-doc/structStrHashComp-members.html | 2 +- docs/module-doc/structStrHashComp.html | 2 +- .../structdns__ip4list-members.html | 2 +- docs/module-doc/structdns__ip4list.html | 2 +- ...ace_1_1hash_3_01in__addr_01_4-members.html | 2 +- ...e_1_1nspace_1_1hash_3_01in__addr_01_4.html | 2 +- ...space_1_1hash_3_01string_01_4-members.html | 2 +- ...ace_1_1nspace_1_1hash_3_01string_01_4.html | 2 +- docs/module-doc/users_8cpp-source.html | 2 +- docs/module-doc/users_8cpp.html | 2 +- docs/module-doc/users_8h-source.html | 132 +++---- docs/module-doc/users_8h.html | 6 +- docs/module-doc/xline_8h-source.html | 2 +- docs/module-doc/xline_8h.html | 2 +- include/modules.h | 6 +- src/inspircd.cpp | 25 +- src/modules.cpp | 4 +- 180 files changed, 680 insertions(+), 557 deletions(-) diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3 index c98cc1bb4..1f7b31c41 100644 --- a/docs/man/man3/Admin.3 +++ b/docs/man/man3/Admin.3 @@ -1,4 +1,4 @@ -.TH "Admin" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Admin" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3 index 570c67b82..3458f2aaa 100644 --- a/docs/man/man3/BanItem.3 +++ b/docs/man/man3/BanItem.3 @@ -1,4 +1,4 @@ -.TH "BanItem" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "BanItem" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3 index 78aa3d341..a2a9afaf2 100644 --- a/docs/man/man3/ConfigReader.3 +++ b/docs/man/man3/ConfigReader.3 @@ -1,4 +1,4 @@ -.TH "ConfigReader" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ConfigReader" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -84,7 +84,7 @@ Allows reading of values from configuration files This class allows a module to It may either be instantiated with one parameter or none. Constructing the class using one parameter allows you to specify a path to your own configuration file, otherwise, inspircd.conf is read. .PP -Definition at line 685 of file modules.h. +Definition at line 683 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "ConfigReader::ConfigReader ()" @@ -301,22 +301,22 @@ References readerror. .PP .SS "std::stringstream* \fBConfigReader::cache\fP\fC [protected]\fP" .PP -The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 693 of file modules.h. +The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 691 of file modules.h. .PP Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader(). .SS "long \fBConfigReader::error\fP\fC [protected]\fP" .PP -Definition at line 698 of file modules.h. +Definition at line 696 of file modules.h. .PP Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue(). .SS "std::stringstream* \fBConfigReader::errorlog\fP\fC [protected]\fP" .PP -Definition at line 694 of file modules.h. +Definition at line 692 of file modules.h. .PP Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader(). .SS "bool \fBConfigReader::readerror\fP\fC [protected]\fP" .PP -Used to store errors. Definition at line 697 of file modules.h. +Used to store errors. Definition at line 695 of file modules.h. .PP Referenced by ConfigReader(), and Verify(). diff --git a/docs/man/man3/ConnectClass.3 b/docs/man/man3/ConnectClass.3 index 4d8891d60..baa288a3f 100644 --- a/docs/man/man3/ConnectClass.3 +++ b/docs/man/man3/ConnectClass.3 @@ -1,4 +1,4 @@ -.TH "ConnectClass" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ConnectClass" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -39,6 +39,10 @@ Inherits \fBclassbase\fP. .br .RI "\fIHost mask for this line. \fP" .ti -1c +.RI "int \fBpingtime\fP" +.br +.RI "\fINumber of seconds between pings for this line. \fP" +.ti -1c .RI "char \fBpass\fP [MAXBUF]" .br .RI "\fI(Optional) Password for this line \fP" @@ -50,17 +54,18 @@ Holds information relevent to and tags in the con .PP .SS "ConnectClass::ConnectClass ()\fC [inline]\fP" .PP -Definition at line 64 of file users.h. +Definition at line 67 of file users.h. .PP -References flood, host, pass, and registration_timeout. +References flood, host, pass, pingtime, and registration_timeout. .PP .nf -65 { -66 registration_timeout = 0; -67 flood = 0; -68 strlcpy(host,'',MAXBUF); -69 strlcpy(pass,'',MAXBUF); -70 } +68 { +69 registration_timeout = 0; +70 flood = 0; +71 pingtime = 0; +72 strlcpy(host,'',MAXBUF); +73 strlcpy(pass,'',MAXBUF); +74 } .fi .SH "Member Data Documentation" .PP @@ -76,7 +81,12 @@ Host mask for this line. Definition at line 59 of file users.h. Referenced by ConnectClass(). .SS "char \fBConnectClass::pass\fP[MAXBUF]" .PP -(Optional) Password for this line Definition at line 62 of file users.h. +(Optional) Password for this line Definition at line 65 of file users.h. +.PP +Referenced by ConnectClass(). +.SS "int \fBConnectClass::pingtime\fP" +.PP +Number of seconds between pings for this line. Definition at line 62 of file users.h. .PP Referenced by ConnectClass(). .SS "int \fBConnectClass::registration_timeout\fP" diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3 index e497d01a0..4e842b60d 100644 --- a/docs/man/man3/DNS.3 +++ b/docs/man/man3/DNS.3 @@ -1,4 +1,4 @@ -.TH "DNS" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "DNS" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3 index 9ecca8954..7d54fe534 100644 --- a/docs/man/man3/ELine.3 +++ b/docs/man/man3/ELine.3 @@ -1,4 +1,4 @@ -.TH "ELine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ELine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3 index fbff2f13c..d6bde382b 100644 --- a/docs/man/man3/ExemptItem.3 +++ b/docs/man/man3/ExemptItem.3 @@ -1,4 +1,4 @@ -.TH "ExemptItem" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ExemptItem" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3 index b32870c12..e3dcb371c 100644 --- a/docs/man/man3/ExtMode.3 +++ b/docs/man/man3/ExtMode.3 @@ -1,4 +1,4 @@ -.TH "ExtMode" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ExtMode" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3 index 3fc7b5373..5d21ed164 100644 --- a/docs/man/man3/Extensible.3 +++ b/docs/man/man3/Extensible.3 @@ -1,4 +1,4 @@ -.TH "Extensible" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Extensible" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3 index 677e59b5d..0b9e07501 100644 --- a/docs/man/man3/FileReader.3 +++ b/docs/man/man3/FileReader.3 @@ -1,4 +1,4 @@ -.TH "FileReader" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "FileReader" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -57,7 +57,7 @@ Caches a text file into memory and can be used to retrieve lines from it. This class contains methods for read-only manipulation of a text file in memory. Either use the constructor type with one parameter to load a file into memory at construction, or use the LoadFile method to load a file. .PP -Definition at line 774 of file modules.h. +Definition at line 772 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "FileReader::FileReader ()" @@ -150,7 +150,7 @@ References fc, and file_cache. .PP .SS "\fBfile_cache\fP \fBFileReader::fc\fP\fC [private]\fP" .PP -Definition at line 776 of file modules.h. +Definition at line 774 of file modules.h. .PP Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile(). diff --git a/docs/man/man3/GLine.3 b/docs/man/man3/GLine.3 index 3e02d2bc4..2cf341141 100644 --- a/docs/man/man3/GLine.3 +++ b/docs/man/man3/GLine.3 @@ -1,4 +1,4 @@ -.TH "GLine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "GLine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3 index 1c833f94d..2571be4b8 100644 --- a/docs/man/man3/HostItem.3 +++ b/docs/man/man3/HostItem.3 @@ -1,4 +1,4 @@ -.TH "HostItem" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "HostItem" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/InAddr_HashComp.3 b/docs/man/man3/InAddr_HashComp.3 index 47bc468f3..94ba034da 100644 --- a/docs/man/man3/InAddr_HashComp.3 +++ b/docs/man/man3/InAddr_HashComp.3 @@ -1,4 +1,4 @@ -.TH "InAddr_HashComp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "InAddr_HashComp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3 index a03076a3b..bd77e0626 100644 --- a/docs/man/man3/InviteItem.3 +++ b/docs/man/man3/InviteItem.3 @@ -1,4 +1,4 @@ -.TH "InviteItem" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "InviteItem" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3 index 2a47106a2..fab638087 100644 --- a/docs/man/man3/Invited.3 +++ b/docs/man/man3/Invited.3 @@ -1,4 +1,4 @@ -.TH "Invited" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Invited" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3 index 1d7529288..b9a460657 100644 --- a/docs/man/man3/KLine.3 +++ b/docs/man/man3/KLine.3 @@ -1,4 +1,4 @@ -.TH "KLine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "KLine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3 index 6c8553ede..3401d36cb 100644 --- a/docs/man/man3/ModeParameter.3 +++ b/docs/man/man3/ModeParameter.3 @@ -1,4 +1,4 @@ -.TH "ModeParameter" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ModeParameter" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3 index 04c1c9654..d7837affb 100644 --- a/docs/man/man3/Module.3 +++ b/docs/man/man3/Module.3 @@ -1,4 +1,4 @@ -.TH "Module" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Module" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -44,11 +44,11 @@ Inherits \fBclassbase\fP. .br .RI "\fICalled when a user parts a channel. \fP" .ti -1c -.RI "virtual void \fBOnPacketTransmit\fP (char *p)" +.RI "virtual void \fBOnPacketTransmit\fP (std::string &data, std::string serv)" .br .RI "\fICalled before a packet is transmitted across the irc network between two irc servers. \fP" .ti -1c -.RI "virtual void \fBOnPacketReceive\fP (char *p)" +.RI "virtual void \fBOnPacketReceive\fP (std::string &data, std::string serv)" .br .RI "\fICalled after a packet is received from another irc server. \fP" .ti -1c @@ -244,16 +244,16 @@ Called whenever a user opers locally. The userrec will contain the oper mode 'o' .nf 319 { }; .fi -.SS "void Module::OnPacketReceive (char * p)\fC [virtual]\fP" +.SS "void Module::OnPacketReceive (std::string & data, std::string serv)\fC [virtual]\fP" .PP -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 313 of file modules.cpp. +Called after a packet is received from another irc server. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.Definition at line 313 of file modules.cpp. .PP .nf 313 { } .fi -.SS "void Module::OnPacketTransmit (char * p)\fC [virtual]\fP" +.SS "void Module::OnPacketTransmit (std::string & data, std::string serv)\fC [virtual]\fP" .PP -Called before a packet is transmitted across the irc network between two irc servers. 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 312 of file modules.cpp. +Called before a packet is transmitted across the irc network between two irc servers. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.Definition at line 312 of file modules.cpp. .PP .nf 312 { } diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3 index 18d6bb943..45d5e2207 100644 --- a/docs/man/man3/ModuleFactory.3 +++ b/docs/man/man3/ModuleFactory.3 @@ -1,4 +1,4 @@ -.TH "ModuleFactory" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ModuleFactory" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -32,22 +32,22 @@ Instantiates classes inherited from \fBModule\fP This class creates a class inhe This is to allow for modules to create many different variants of \fBModule\fP, dependent on architecture, configuration, etc. In most cases, the simple class shown in the example module m_foobar.so will suffice for most modules. .PP -Definition at line 829 of file modules.h. +Definition at line 827 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "ModuleFactory::ModuleFactory ()\fC [inline]\fP" .PP -Definition at line 832 of file modules.h. +Definition at line 830 of file modules.h. .PP .nf -832 { } +830 { } .fi .SS "virtual ModuleFactory::~\fBModuleFactory\fP ()\fC [inline, virtual]\fP" .PP -Definition at line 833 of file modules.h. +Definition at line 831 of file modules.h. .PP .nf -833 { } +831 { } .fi .SH "Member Function Documentation" .PP diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3 index f3dbdbea3..efda7f1a9 100644 --- a/docs/man/man3/QLine.3 +++ b/docs/man/man3/QLine.3 @@ -1,4 +1,4 @@ -.TH "QLine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "QLine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3 index d3268626a..eaa423117 100644 --- a/docs/man/man3/Server.3 +++ b/docs/man/man3/Server.3 @@ -1,4 +1,4 @@ -.TH "Server" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Server" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -166,7 +166,7 @@ Allows server output and query functions This class contains methods which allow All modules should instantiate at least one copy of this class, and use its member functions to perform their tasks. .PP -Definition at line 378 of file modules.h. +Definition at line 376 of file modules.h. .SH "Constructor & Destructor Documentation" .PP .SS "Server::Server ()" diff --git a/docs/man/man3/StrHashComp.3 b/docs/man/man3/StrHashComp.3 index d4bc096fe..8ca9ffb81 100644 --- a/docs/man/man3/StrHashComp.3 +++ b/docs/man/man3/StrHashComp.3 @@ -1,4 +1,4 @@ -.TH "StrHashComp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "StrHashComp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3 index 69a2da861..c0d4fd052 100644 --- a/docs/man/man3/Version.3 +++ b/docs/man/man3/Version.3 @@ -1,4 +1,4 @@ -.TH "Version" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "Version" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3 index 409aba33f..3d9909619 100644 --- a/docs/man/man3/XLine.3 +++ b/docs/man/man3/XLine.3 @@ -1,4 +1,4 @@ -.TH "XLine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "XLine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3 index 6d71ea0c5..940be822d 100644 --- a/docs/man/man3/ZLine.3 +++ b/docs/man/man3/ZLine.3 @@ -1,4 +1,4 @@ -.TH "ZLine" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ZLine" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/base.h.3 b/docs/man/man3/base.h.3 index f07ed0ecd..ad0974665 100644 --- a/docs/man/man3/base.h.3 +++ b/docs/man/man3/base.h.3 @@ -1,4 +1,4 @@ -.TH "base.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "base.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3 index 3595b02fb..3ece27eb2 100644 --- a/docs/man/man3/channels.cpp.3 +++ b/docs/man/man3/channels.cpp.3 @@ -1,4 +1,4 @@ -.TH "channels.cpp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "channels.cpp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3 index 6444b221f..0c2273556 100644 --- a/docs/man/man3/channels.h.3 +++ b/docs/man/man3/channels.h.3 @@ -1,4 +1,4 @@ -.TH "channels.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "channels.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3 index d76b09c65..2039c3025 100644 --- a/docs/man/man3/chanrec.3 +++ b/docs/man/man3/chanrec.3 @@ -1,4 +1,4 @@ -.TH "chanrec" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "chanrec" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3 index c5be3f65e..fba93b6cd 100644 --- a/docs/man/man3/classbase.3 +++ b/docs/man/man3/classbase.3 @@ -1,4 +1,4 @@ -.TH "classbase" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "classbase" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3 index f791b6319..ebaa41001 100644 --- a/docs/man/man3/command_t.3 +++ b/docs/man/man3/command_t.3 @@ -1,4 +1,4 @@ -.TH "command_t" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "command_t" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3 index d4b6aeec6..ff2b363b8 100644 --- a/docs/man/man3/commands.h.3 +++ b/docs/man/man3/commands.h.3 @@ -1,4 +1,4 @@ -.TH "commands.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "commands.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3 index bb7c727da..1db27f5e4 100644 --- a/docs/man/man3/connection.3 +++ b/docs/man/man3/connection.3 @@ -1,4 +1,4 @@ -.TH "connection" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "connection" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/connection.h.3 b/docs/man/man3/connection.h.3 index d0d5c75f4..d0e85f663 100644 --- a/docs/man/man3/connection.h.3 +++ b/docs/man/man3/connection.h.3 @@ -1,4 +1,4 @@ -.TH "connection.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "connection.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ctables.h.3 b/docs/man/man3/ctables.h.3 index f87098c19..ba0c82f2a 100644 --- a/docs/man/man3/ctables.h.3 +++ b/docs/man/man3/ctables.h.3 @@ -1,4 +1,4 @@ -.TH "ctables.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ctables.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/dns.h.3 b/docs/man/man3/dns.h.3 index 9943ef834..3f7b577b6 100644 --- a/docs/man/man3/dns.h.3 +++ b/docs/man/man3/dns.h.3 @@ -1,4 +1,4 @@ -.TH "dns.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "dns.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/dns_ip4list.3 b/docs/man/man3/dns_ip4list.3 index aadab66bd..c8d7792b1 100644 --- a/docs/man/man3/dns_ip4list.3 +++ b/docs/man/man3/dns_ip4list.3 @@ -1,4 +1,4 @@ -.TH "dns_ip4list" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "dns_ip4list" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ircd_connector.3 b/docs/man/man3/ircd_connector.3 index 594e67b18..fbccfe8c9 100644 --- a/docs/man/man3/ircd_connector.3 +++ b/docs/man/man3/ircd_connector.3 @@ -1,4 +1,4 @@ -.TH "ircd_connector" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ircd_connector" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3 index ea9c93645..502c9d479 100644 --- a/docs/man/man3/message.h.3 +++ b/docs/man/man3/message.h.3 @@ -1,4 +1,4 @@ -.TH "message.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "message.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3 index 2a1f7dd48..3a4f2395d 100644 --- a/docs/man/man3/mode.h.3 +++ b/docs/man/man3/mode.h.3 @@ -1,4 +1,4 @@ -.TH "mode.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "mode.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3 index 6504d9eba..6bacc994d 100644 --- a/docs/man/man3/modules.cpp.3 +++ b/docs/man/man3/modules.cpp.3 @@ -1,4 +1,4 @@ -.TH "modules.cpp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "modules.cpp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/modules.h.3 b/docs/man/man3/modules.h.3 index 6a3ccce31..2a1924d97 100644 --- a/docs/man/man3/modules.h.3 +++ b/docs/man/man3/modules.h.3 @@ -1,4 +1,4 @@ -.TH "modules.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "modules.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -215,22 +215,22 @@ Referenced by Module::OnAccessCheck(). Definition at line 38 of file modules.h. .SS "#define CONF_FILE_NOT_FOUND 0x000200" .PP -Definition at line 677 of file modules.h. +Definition at line 675 of file modules.h. .PP Referenced by ConfigReader::ConfigReader(). .SS "#define CONF_NOT_A_NUMBER 0x000010" .PP -Definition at line 674 of file modules.h. +Definition at line 672 of file modules.h. .PP Referenced by ConfigReader::ReadInteger(). .SS "#define CONF_NOT_UNSIGNED 0x000080" .PP -Definition at line 675 of file modules.h. +Definition at line 673 of file modules.h. .PP Referenced by ConfigReader::ReadInteger(). .SS "#define CONF_VALUE_NOT_FOUND 0x000100" .PP -Definition at line 676 of file modules.h. +Definition at line 674 of file modules.h. .PP Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue(). .SS "#define DEBUG 10" @@ -311,7 +311,7 @@ Low level definition of a \fBFileReader\fP classes file cache area. Definition a Referenced by FileReader::FileReader(), and FileReader::LoadFile(). .SS "typedef DLLFactory<\fBModuleFactory\fP> \fBircd_module\fP" .PP -Definition at line 842 of file modules.h. +Definition at line 840 of file modules.h. .SS "typedef \fBfile_cache\fP \fBstring_list\fP" .PP Definition at line 68 of file modules.h. diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3 index 38a8c655d..2a2ce73e7 100644 --- a/docs/man/man3/nspace.3 +++ b/docs/man/man3/nspace.3 @@ -1,4 +1,4 @@ -.TH "nspace" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 b/docs/man/man3/nspace_nspace_hash_ in_addr _.3 index f01f2ea77..af95e6cd0 100644 --- a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 +++ b/docs/man/man3/nspace_nspace_hash_ in_addr _.3 @@ -1,4 +1,4 @@ -.TH "nspace::nspace::hash< in_addr >" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace::nspace::hash< in_addr >" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/nspace_nspace_hash_ string _.3 b/docs/man/man3/nspace_nspace_hash_ string _.3 index 024bdfe5c..69cfab153 100644 --- a/docs/man/man3/nspace_nspace_hash_ string _.3 +++ b/docs/man/man3/nspace_nspace_hash_ string _.3 @@ -1,4 +1,4 @@ -.TH "nspace::nspace::hash< string >" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "nspace::nspace::hash< string >" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/packet.3 b/docs/man/man3/packet.3 index d351617e7..8c40129a4 100644 --- a/docs/man/man3/packet.3 +++ b/docs/man/man3/packet.3 @@ -1,4 +1,4 @@ -.TH "packet" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "packet" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/serverrec.3 b/docs/man/man3/serverrec.3 index 5db6846d2..a9c894df0 100644 --- a/docs/man/man3/serverrec.3 +++ b/docs/man/man3/serverrec.3 @@ -1,4 +1,4 @@ -.TH "serverrec" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "serverrec" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/servers.cpp.3 b/docs/man/man3/servers.cpp.3 index f975694d8..d0677ae0a 100644 --- a/docs/man/man3/servers.cpp.3 +++ b/docs/man/man3/servers.cpp.3 @@ -1,4 +1,4 @@ -.TH "servers.cpp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "servers.cpp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/servers.h.3 b/docs/man/man3/servers.h.3 index 73b812f67..b19bfffc1 100644 --- a/docs/man/man3/servers.h.3 +++ b/docs/man/man3/servers.h.3 @@ -1,4 +1,4 @@ -.TH "servers.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "servers.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3 index 015cc75e9..5e60136f9 100644 --- a/docs/man/man3/std.3 +++ b/docs/man/man3/std.3 @@ -1,4 +1,4 @@ -.TH "std" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "std" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3 index 97567e926..9525851b8 100644 --- a/docs/man/man3/ucrec.3 +++ b/docs/man/man3/ucrec.3 @@ -1,4 +1,4 @@ -.TH "ucrec" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "ucrec" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3 index f223c145d..51e5d70e5 100644 --- a/docs/man/man3/userrec.3 +++ b/docs/man/man3/userrec.3 @@ -1,4 +1,4 @@ -.TH "userrec" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "userrec" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -100,6 +100,10 @@ Inherits \fBconnection\fP. .RI "bool \fBdns_done\fP" .br .RI "\fITrue when \fBDNS\fP lookups are completed. \fP" +.ti -1c +.RI "unsigned long \fBpingmax\fP" +.br +.RI "\fINumber of seconds between PINGs for this user (set from tag. \fP" .in -1c .SS "Private Attributes" @@ -115,7 +119,7 @@ Holds all information about a user This class stores all information about a use Everything about a connection is stored here primarily, from the user's socket ID (file descriptor) through to the user's nickname and hostname. Use the Find method of the server class to locate a specific user by nickname. .PP -Definition at line 89 of file users.h. +Definition at line 93 of file users.h. .SH "Constructor & Destructor Documentation" .PP .SS "userrec::userrec ()" @@ -154,10 +158,10 @@ References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, .fi .SS "virtual userrec::~\fBuserrec\fP ()\fC [inline, virtual]\fP" .PP -Definition at line 164 of file users.h. +Definition at line 172 of file users.h. .PP .nf -164 { } +172 { } .fi .SH "Member Function Documentation" .PP @@ -308,72 +312,75 @@ References DEBUG, and invites. .PP .SS "char \fBuserrec::awaymsg\fP[512]" .PP -The user's away message. If this string is empty, the user is not marked as away.Definition at line 132 of file users.h. +The user's away message. If this string is empty, the user is not marked as away.Definition at line 136 of file users.h. .PP Referenced by userrec(). .SS "\fBucrec\fP \fBuserrec::chans\fP[MAXCHANS]" .PP -Definition at line 123 of file users.h. +Definition at line 127 of file users.h. .PP Referenced by userrec(). .SS "char \fBuserrec::dhost\fP[256]" .PP -The host displayed to non-opers (used for cloaking etc). This usually matches the value of \fBuserrec::host\fP.Definition at line 111 of file users.h. +The host displayed to non-opers (used for cloaking etc). This usually matches the value of \fBuserrec::host\fP.Definition at line 115 of file users.h. .PP Referenced by GetFullHost(), and userrec(). .SS "bool \fBuserrec::dns_done\fP" .PP -True when \fBDNS\fP lookups are completed. Definition at line 160 of file users.h. +True when \fBDNS\fP lookups are completed. Definition at line 164 of file users.h. .PP Referenced by userrec(). .SS "int \fBuserrec::flood\fP" .PP -Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. Definition at line 143 of file users.h. +Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. Definition at line 147 of file users.h. .PP Referenced by userrec(). .SS "char \fBuserrec::fullname\fP[128]" .PP -The users full name. Definition at line 115 of file users.h. +The users full name. Definition at line 119 of file users.h. .PP Referenced by userrec(). .SS "char \fBuserrec::ident\fP[64]" .PP -The users ident reply. Definition at line 106 of file users.h. +The users ident reply. Definition at line 110 of file users.h. .PP Referenced by GetFullHost(), GetFullRealHost(), and userrec(). .SS "\fBInvitedList\fP \fBuserrec::invites\fP\fC [private]\fP" .PP -A list of channels the user has a pending invite to. Definition at line 95 of file users.h. +A list of channels the user has a pending invite to. Definition at line 99 of file users.h. .PP Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec(). .SS "char \fBuserrec::modes\fP[MAXBUF]" .PP -The user's mode string. This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.Definition at line 121 of file users.h. +The user's mode string. This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.Definition at line 125 of file users.h. .PP Referenced by userrec(). .SS "char \fBuserrec::nick\fP[NICKMAX]" .PP -The users nickname. An invalid nickname indicates an unregistered connection prior to the NICK command.Definition at line 102 of file users.h. +The users nickname. An invalid nickname indicates an unregistered connection prior to the NICK command.Definition at line 106 of file users.h. .PP Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::QuitUser(), and userrec(). .SS "char \fBuserrec::oper\fP[NICKMAX]" .PP -The oper type they logged in as, if they are an oper. This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.Definition at line 156 of file users.h. +The oper type they logged in as, if they are an oper. This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.Definition at line 160 of file users.h. .PP Referenced by userrec(). +.SS "unsigned long \fBuserrec::pingmax\fP" +.PP +Number of seconds between PINGs for this user (set from tag. Definition at line 168 of file users.h. .SS "char \fBuserrec::result\fP[256]" .PP -Stores the result of the last GetFullHost or GetRealHost call. You may use this to increase the speed of use of this class.Definition at line 137 of file users.h. +Stores the result of the last GetFullHost or GetRealHost call. You may use this to increase the speed of use of this class.Definition at line 141 of file users.h. .PP Referenced by GetFullHost(), GetFullRealHost(), and userrec(). .SS "char \fBuserrec::server\fP[256]" .PP -The server the user is connected to. Definition at line 127 of file users.h. +The server the user is connected to. Definition at line 131 of file users.h. .PP Referenced by userrec(). .SS "unsigned long \fBuserrec::timeout\fP" .PP -Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. Definition at line 149 of file users.h. +Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. Definition at line 153 of file users.h. .PP Referenced by userrec(). diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3 index f33f24c81..dac38dea5 100644 --- a/docs/man/man3/users.cpp.3 +++ b/docs/man/man3/users.cpp.3 @@ -1,4 +1,4 @@ -.TH "users.cpp" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "users.cpp" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3 index c9c548862..c515cd5de 100644 --- a/docs/man/man3/users.h.3 +++ b/docs/man/man3/users.h.3 @@ -1,4 +1,4 @@ -.TH "users.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "users.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME @@ -91,10 +91,10 @@ Definition at line 28 of file users.h. .PP .SS "typedef std::vector<\fBConnectClass\fP> \fBClassVector\fP" .PP -Holds a complete list of all allow and deny tags from the configuration file (connection classes). Definition at line 81 of file users.h. +Holds a complete list of all allow and deny tags from the configuration file (connection classes). Definition at line 85 of file users.h. .SS "typedef std::vector<\fBInvited\fP> \fBInvitedList\fP" .PP -Holds a complete list of all channels to which a user has been invited and has not yet joined. Definition at line 75 of file users.h. +Holds a complete list of all channels to which a user has been invited and has not yet joined. Definition at line 79 of file users.h. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code. diff --git a/docs/man/man3/xline.h.3 b/docs/man/man3/xline.h.3 index 738d84d05..d25646cd9 100644 --- a/docs/man/man3/xline.h.3 +++ b/docs/man/man3/xline.h.3 @@ -1,4 +1,4 @@ -.TH "xline.h" 3 "7 Apr 2005" "InspIRCd" \" -*- nroff -*- +.TH "xline.h" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index 1438f3cb2..7d840de4b 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -44,7 +44,7 @@ XLineXLine is the base class for ban lines such as G lines and K lines ZLineZLine class -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html index af71f42fa..d6d2e318f 100644 --- a/docs/module-doc/base_8h-source.html +++ b/docs/module-doc/base_8h-source.html @@ -55,7 +55,7 @@ 00079 00080 #endif 00081 -
Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html index b063e805d..cace50581 100644 --- a/docs/module-doc/base_8h.html +++ b/docs/module-doc/base_8h.html @@ -49,7 +49,7 @@ Definition at line 25 of file base.h. -
Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index d95edbda6..960e756a1 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -204,7 +204,7 @@ 00197 } 00198 return std::string(""); 00199 } -
Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html index 2fac5b2e9..97b081aa4 100644 --- a/docs/module-doc/channels_8cpp.html +++ b/docs/module-doc/channels_8cpp.html @@ -1068,7 +1068,7 @@ Definition at line 84 Definition at line 83 of file channels.cpp. -
Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html index 66c796da2..9b07650e1 100644 --- a/docs/module-doc/channels_8h-source.html +++ b/docs/module-doc/channels_8h-source.html @@ -139,7 +139,7 @@ 00218 00219 #endif 00220 -
Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html index b168d6565..4533c7ad5 100644 --- a/docs/module-doc/channels_8h.html +++ b/docs/module-doc/channels_8h.html @@ -258,7 +258,7 @@ Holds a complete invite list. Definition at line 88 of file channels.h. -
Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html index 66fbe5327..63d13061d 100644 --- a/docs/module-doc/classAdmin-members.html +++ b/docs/module-doc/classAdmin-members.html @@ -13,7 +13,7 @@ NameAdmin NickAdmin ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html index a86dcdd4d..80d4e0528 100644 --- a/docs/module-doc/classAdmin.html +++ b/docs/module-doc/classAdmin.html @@ -157,7 +157,7 @@ Definition at line 124 of
The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html index 855c7f10b..8ded16b35 100644 --- a/docs/module-doc/classBanItem-members.html +++ b/docs/module-doc/classBanItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html index 772b1277b..4433b9418 100644 --- a/docs/module-doc/classBanItem.html +++ b/docs/module-doc/classBanItem.html @@ -22,7 +22,7 @@ A subclass of HostItem designed to h

Definition at line 45 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html index 525b690ae..f44a6fc45 100644 --- a/docs/module-doc/classConfigReader-members.html +++ b/docs/module-doc/classConfigReader-members.html @@ -24,7 +24,7 @@ Verify()ConfigReader ~classbase()classbase [inline] ~ConfigReader()ConfigReader -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 7ece1927f..63eabbd82 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -67,7 +67,7 @@ It may either be instantiated with one parameter or none. Constructing the class

-Definition at line 685 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 683 of file modules.h.

Constructor & Destructor Documentation

@@ -99,7 +99,7 @@ This constructor initialises the ConfigReader class to read the inspircd.conf fi

Definition at line 579 of file modules.cpp.

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

00580 {
 00581         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
@@ -143,7 +143,7 @@ This constructor initialises the ConfigReader class to read a user-specified con
 

Definition at line 598 of file modules.cpp.

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

00599 {
 00600         this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
@@ -186,7 +186,7 @@ This method destroys the ConfigReader class.
 

Definition at line 589 of file modules.cpp.

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

00590 {
 00591         if (this->cache)
@@ -239,7 +239,7 @@ If bail is true, then the program will abort. If bail is false and user points t
 

Definition at line 676 of file modules.cpp.

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

00677 {
 00678         if (bail)
@@ -306,7 +306,7 @@ This method counts the number of times a tag appears in a config file, for use w
 

Definition at line 709 of file modules.cpp.

-References cache. +References cache.

00710 {
 00711         return EnumConf(cache,tag.c_str());
@@ -355,7 +355,7 @@ For example if the tag was <test tag="blah" data="foo"> then this function
 

Definition at line 714 of file modules.cpp.

-References cache. +References cache.

00715 {
 00716         return EnumValues(cache, tag.c_str(), index);
@@ -394,7 +394,7 @@ Valid errors can be found by looking in mod
 

Definition at line 669 of file modules.cpp.

-References error. +References error.

00670 {
 00671         long olderr = this->error;
@@ -451,7 +451,7 @@ This method retrieves a boolean value from the config file. Where multiple copie
 

Definition at line 623 of file modules.cpp.

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

00624 {
 00625         char val[MAXBUF];
@@ -524,7 +524,7 @@ This method retrieves an integer value from the config file. Where multiple copi
 

Definition at line 640 of file modules.cpp.

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

00641 {
 00642         char val[MAXBUF];
@@ -603,7 +603,7 @@ This method retrieves a value from the config file. Where multiple copies of the
 

Definition at line 607 of file modules.cpp.

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

00608 {
 00609         char val[MAXBUF];
@@ -653,7 +653,7 @@ This method is partially implemented and will only return false if the config fi
 

Definition at line 719 of file modules.cpp.

-References readerror. +References readerror.

00720 {
 00721         return this->readerror;
@@ -685,7 +685,7 @@ 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 693 of file modules.h. +Definition at line 691 of file modules.h.

Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader().

@@ -711,7 +711,7 @@ Referenced by ConfigReader(

-Definition at line 698 of file modules.h. +Definition at line 696 of file modules.h.

Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue(). @@ -737,7 +737,7 @@ Referenced by ConfigReader(

-Definition at line 694 of file modules.h. +Definition at line 692 of file modules.h.

Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader(). @@ -765,14 +765,14 @@ Used to store errors.

-Definition at line 697 of file modules.h. +Definition at line 695 of file modules.h.

Referenced by ConfigReader(), and Verify().


The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index cc3585988..fe2d857a5 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -11,11 +11,12 @@ ConnectClass()ConnectClass [inline] floodConnectClass hostConnectClass - passConnectClass + passConnectClass + pingtimeConnectClass registration_timeoutConnectClass typeConnectClass ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index 67b9187fe..4b3679552 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -30,9 +30,12 @@ Inherits classbase. char host [MAXBUF]  Host mask for this line.

-char pass [MAXBUF] +int pingtime - (Optional) Password for this line


+ Number of seconds between pings for this line.


+char pass [MAXBUF] + + (Optional) Password for this line



Detailed Description

Holds information relevent to <connect allow> and <connect deny> tags in the config file. @@ -67,16 +70,17 @@ Definition at line 45 of fi

-Definition at line 64 of file users.h. +Definition at line 67 of file users.h.

-References flood, host, pass, and registration_timeout. +References flood, host, pass, pingtime, and registration_timeout.

-

00065         {
-00066                 registration_timeout = 0;
-00067                 flood = 0;
-00068                 strlcpy(host,"",MAXBUF);
-00069                 strlcpy(pass,"",MAXBUF);
-00070         }
+
00068         {
+00069                 registration_timeout = 0;
+00070                 flood = 0;
+00071                 pingtime = 0;
+00072                 strlcpy(host,"",MAXBUF);
+00073                 strlcpy(pass,"",MAXBUF);
+00074         }
 
@@ -106,7 +110,7 @@ Number of lines in buffer before excess flood is triggered.

Definition at line 56 of file users.h.

-Referenced by ConnectClass(). +Referenced by ConnectClass().

@@ -134,16 +138,16 @@ Host mask for this line.

Definition at line 59 of file users.h.

-Referenced by ConnectClass(). +Referenced by ConnectClass(). -

+

@@ -159,10 +163,38 @@ Referenced by ConnectClass() +

+Definition at line 65 of file users.h. +

+Referenced by ConnectClass(). + +

-
char ConnectClass::pass[MAXBUF] + char ConnectClass::pass[MAXBUF]
+

+ + + + +
+ + +
int ConnectClass::pingtime +
+
+ + + + +Referenced by ConnectClass().
+   + + +

+Number of seconds between pings for this line. +

+

Definition at line 62 of file users.h.

-Referenced by ConnectClass().

@@ -190,7 +222,7 @@ Max time to register the connection in seconds.

Definition at line 53 of file users.h.

-Referenced by ConnectClass(). +Referenced by ConnectClass().

@@ -221,7 +253,7 @@ Definition at line 50 of fi


The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html index 87a31deb7..dfb648263 100644 --- a/docs/module-doc/classDNS-members.html +++ b/docs/module-doc/classDNS-members.html @@ -33,7 +33,7 @@ ReverseLookup(std::string ip)DNS tDNS [private] ~DNS()DNS -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html index 4ae31e5bf..c61f39b8c 100644 --- a/docs/module-doc/classDNS.html +++ b/docs/module-doc/classDNS.html @@ -885,7 +885,7 @@ Definition at line 40 of file
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html index 1fc38092c..38d54642f 100644 --- a/docs/module-doc/classELine-members.html +++ b/docs/module-doc/classELine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html index 155546871..b4462434d 100644 --- a/docs/module-doc/classELine.html +++ b/docs/module-doc/classELine.html @@ -45,7 +45,7 @@ Definition at line 88 of fi
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index f8347d9ea..d3078e486 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index d1860b10d..21be764ec 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -22,7 +22,7 @@ A subclass of HostItem designed to h

Definition at line 53 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 4ada07153..47b03bd61 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 Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index f89b5e606..a5a471541 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -247,7 +247,7 @@ Referenced by ExtMode()
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html index adf9debc0..a3fabf023 100644 --- a/docs/module-doc/classExtensible-members.html +++ b/docs/module-doc/classExtensible-members.html @@ -13,7 +13,7 @@ GetExt(std::string key)Extensible Shrink(std::string key)Extensible ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html index 15857b812..4a0488ed1 100644 --- a/docs/module-doc/classExtensible.html +++ b/docs/module-doc/classExtensible.html @@ -170,7 +170,7 @@ Definition at line 54 of fil
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 42da61751..db829c04c 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -17,7 +17,7 @@ LoadFile(std::string filename)FileReader ~classbase()classbase [inline] ~FileReader()FileReader -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 486a4d4ab..a8b242713 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory.

-Definition at line 774 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 772 of file modules.h.

Constructor & Destructor Documentation

@@ -116,7 +116,7 @@ This method initialises the class with a file loaded into it ready for GetLine a

Definition at line 725 of file modules.cpp.

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

00726 {
 00727         file_cache c;
@@ -194,7 +194,7 @@ Returns true if the file exists This function will return false if the file coul
 

Definition at line 748 of file modules.cpp.

-References fc. +References fc.

00749 {
 00750         if (fc.size() == 0)
@@ -240,7 +240,7 @@ This method returns the number of lines in the read file. If it is 0, no lines h
 

Definition at line 767 of file modules.cpp.

-References fc. +References fc.

00768 {
 00769         return fc.size();
@@ -280,7 +280,7 @@ This method retrieves one line from the text file. If an empty non-NULL string i
 

Definition at line 760 of file modules.cpp.

-References fc. +References fc.

00761 {
 00762         if ((x<0) || (x>fc.size()))
@@ -322,7 +322,7 @@ This method loads a file into the class ready for GetLine and and other methods
 

Definition at line 736 of file modules.cpp.

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

00737 {
 00738         file_cache c;
@@ -354,14 +354,14 @@ References fc, and 
 
 

-Definition at line 776 of file modules.h. +Definition at line 774 of file modules.h.

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


The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html index bc630fbca..4a2e1ed21 100644 --- a/docs/module-doc/classGLine-members.html +++ b/docs/module-doc/classGLine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html index ad6d0ac46..ede8a2113 100644 --- a/docs/module-doc/classGLine.html +++ b/docs/module-doc/classGLine.html @@ -53,7 +53,7 @@ Definition at line 79 of fi
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 119eeacf6..16f52a41d 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index a0698360b..81ca7c339 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -178,7 +178,7 @@ Definition at line 32 of
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index 7275e3124..98d382936 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -14,7 +14,7 @@ set_timeHostItem ~classbase()classbase [inline] ~HostItem()HostItem [inline, virtual] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index 8ca096712..7a02b58d8 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -22,7 +22,7 @@ A subclass of HostItem designed to h

Definition at line 61 of file channels.h.


The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index a6f7712f8..a7e5e43c0 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -10,7 +10,7 @@ channelInvited classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 06d1b61a6..10efd1353 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -52,7 +52,7 @@ Referenced by userrec::Invite
The documentation for this class was generated from the following file:
-
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html index 0810cb873..4d4a0bfd5 100644 --- a/docs/module-doc/classKLine-members.html +++ b/docs/module-doc/classKLine-members.html @@ -15,7 +15,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html index 93f667d2a..4db6c2b0b 100644 --- a/docs/module-doc/classKLine.html +++ b/docs/module-doc/classKLine.html @@ -53,7 +53,7 @@ Definition at line 68 of fi
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html index ecbde9365..5d2b1c080 100644 --- a/docs/module-doc/classModeParameter-members.html +++ b/docs/module-doc/classModeParameter-members.html @@ -12,7 +12,7 @@ modeModeParameter parameterModeParameter ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html index 079eab0cd..f5474f110 100644 --- a/docs/module-doc/classModeParameter.html +++ b/docs/module-doc/classModeParameter.html @@ -110,7 +110,7 @@ Referenced by chanrec::Set
The documentation for this class was generated from the following file:
-
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index ed580f75a..b26175671 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -18,8 +18,8 @@ OnKill(userrec *source, userrec *dest, std::string reason)Module [virtual] OnLoadModule(Module *mod, std::string name)Module [virtual] OnOper(userrec *user)Module [virtual] - OnPacketReceive(char *p)Module [virtual] - OnPacketTransmit(char *p)Module [virtual] + OnPacketReceive(std::string &data, std::string serv)Module [virtual] + OnPacketTransmit(std::string &data, std::string serv)Module [virtual] OnRehash()Module [virtual] OnServerRaw(std::string &raw, bool inbound, userrec *user)Module [virtual] OnUserConnect(userrec *user)Module [virtual] @@ -36,7 +36,7 @@ OnWhois(userrec *source, userrec *dest)Module [virtual] ~classbase()classbase [inline] ~Module()Module [virtual] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 1d3fc1699..37ab96846 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -36,10 +36,10 @@ Inherits classbase. virtual void OnUserPart (userrec *user, chanrec *channel)  Called when a user parts a channel.

-virtual void OnPacketTransmit (char *p) +virtual void OnPacketTransmit (std::string &data, std::string serv)  Called before a packet is transmitted across the irc network between two irc servers.


-virtual void OnPacketReceive (char *p) +virtual void OnPacketReceive (std::string &data, std::string serv)  Called after a packet is received from another irc server.


virtual void OnRehash () @@ -604,10 +604,19 @@ Definition at line 319 void Module::OnPacketReceive (  - char *  - p -  )  - [virtual] + std::string &  + data, + + + + + std::string  + serv + + + + )  + [virtual] @@ -624,7 +633,7 @@ Definition at line 319

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

@@ -640,10 +649,19 @@ Definition at line 313 void Module::OnPacketTransmit (  - char *  - p -  )  - [virtual] + std::string &  + data, + + + + + std::string  + serv + + + + )  + [virtual] @@ -660,7 +678,7 @@ Definition at line 313

Called before a packet is transmitted across the irc network between two irc servers.

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

@@ -1309,7 +1327,7 @@ Definition at line 321


The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index d22e64210..8cb74989c 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -12,7 +12,7 @@ ModuleFactory()ModuleFactory [inline] ~classbase()classbase [inline] ~ModuleFactory()ModuleFactory [inline, virtual] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index f7abc4b3f..7dbfe78c6 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -30,7 +30,7 @@ This is to allow for modules to create many different variants of

-Definition at line 829 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 827 of file modules.h.

Constructor & Destructor Documentation

@@ -58,9 +58,9 @@ Definition at line 829 of

-Definition at line 832 of file modules.h. +Definition at line 830 of file modules.h.

-

00832 { }
+
00830 { }
 
@@ -91,9 +91,9 @@ Definition at line 832 of

-Definition at line 833 of file modules.h. +Definition at line 831 of file modules.h.

-

00833 { }
+
00831 { }
 
@@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html index a9e407220..77c50ed76 100644 --- a/docs/module-doc/classQLine-members.html +++ b/docs/module-doc/classQLine-members.html @@ -16,7 +16,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html index 9a5de4ee5..cdc5880df 100644 --- a/docs/module-doc/classQLine.html +++ b/docs/module-doc/classQLine.html @@ -82,7 +82,7 @@ Definition at line 114 of f
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index b96842b07..8a1365d42 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -45,7 +45,7 @@ Server()Server ~classbase()classbase [inline] ~Server()Server [virtual] -
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index c126dc81a..2efb4741e 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -131,7 +131,7 @@ All modules should instantiate at least one copy of this class, and use its memb

-Definition at line 378 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 376 of file modules.h.

Constructor & Destructor Documentation

@@ -1362,7 +1362,7 @@ Once you call this function, userrec* user will immediately become INVALID. You

Definition at line 399 of file modules.cpp.

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

00400 {
 00401         send_network_quit(user->nick,reason.c_str());
@@ -1916,7 +1916,7 @@ Definition at line 488
 


The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index 7d5e8ee8f..91a734b38 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -15,7 +15,7 @@ RevisionVersion Version(int major, int minor, int revision, int build, int flags)Version ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 46528e46a..92eb3d6a5 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -221,7 +221,7 @@ Definition at line 112 of
The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html index 4f68e11f3..356ae6a0c 100644 --- a/docs/module-doc/classXLine-members.html +++ b/docs/module-doc/classXLine-members.html @@ -14,7 +14,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html index da64d6a00..8e8529931 100644 --- a/docs/module-doc/classXLine.html +++ b/docs/module-doc/classXLine.html @@ -171,7 +171,7 @@ Definition at line 48 of fi
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html index 9637edfe7..587d790e3 100644 --- a/docs/module-doc/classZLine-members.html +++ b/docs/module-doc/classZLine-members.html @@ -16,7 +16,7 @@ set_timeXLine sourceXLine ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html index 7400fcd87..679c6df9f 100644 --- a/docs/module-doc/classZLine.html +++ b/docs/module-doc/classZLine.html @@ -82,7 +82,7 @@ Definition at line 103 of f
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index c114639dc..b72b75074 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -33,7 +33,7 @@ topicsetchanrec ~chanrec()chanrec [inline, virtual] ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index f3090de19..1071ee78e 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -829,7 +829,7 @@ Referenced by chanrec()
The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index f9dae7a73..542a0a763 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -9,7 +9,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index 37ec77e2a..206bad389 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -132,7 +132,7 @@ Referenced by classbase().
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 6671f8a76..9e328eda4 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -19,7 +19,7 @@ total_bytescommand_t use_countcommand_t ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 4a8d75d74..5579a3102 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -227,7 +227,7 @@ Definition at line 43 of
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index f986d3f59..987203298 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -41,7 +41,7 @@ stateconnection TerminateLink(char *targethost)connection ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index ae9342e55..17adc0793 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -1038,7 +1038,7 @@ Definition at line 224
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 915179245..0556fe9fb 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -25,7 +25,7 @@
  S  
  Z  
connection   GLine   ModeParameter   Server   ZLine   
  D  
-
Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html index ae2656666..de7c3ad39 100644 --- a/docs/module-doc/classircd__connector-members.html +++ b/docs/module-doc/classircd__connector-members.html @@ -35,7 +35,7 @@ Shrink(std::string key)Extensible stateircd_connector [private] ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html index 9a8a2802d..9faa9d81c 100644 --- a/docs/module-doc/classircd__connector.html +++ b/docs/module-doc/classircd__connector.html @@ -792,7 +792,7 @@ Definition at line 75
The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index 2076fad17..d44d2d256 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -9,7 +9,7 @@ ageclassbase classbase()classbase [inline] ~classbase()classbase [inline] -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index bf2cde3d4..aac4c3479 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -24,7 +24,7 @@ This declaration is preserved here to maintain documentation only.

Definition at line 167 of file connection.h.


The documentation for this class was generated from the following file: -
Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index 7ceec4d8d..ac224aa7b 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -55,7 +55,7 @@ versionserverrec ~classbase()classbase [inline] ~serverrec()serverrec -
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index d3deb179c..f3abf4cde 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -519,7 +519,7 @@ Referenced by serverrec()
The documentation for this class was generated from the following files:
-
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:30 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 9cb025c22..5023f2f47 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -13,7 +13,7 @@ ucrec()ucrec [inline] ~classbase()classbase [inline] ~ucrec()ucrec [inline, virtual] -
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 0981ed714..58c79339a 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -160,7 +160,7 @@ Referenced by userrec::userre
The documentation for this class was generated from the following file:
-
Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index f30c93eea..b4a7a3d6c 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -48,6 +48,7 @@ nickuserrec npingconnection operuserrec + pingmaxuserrec portconnection RecvPacket(std::deque< std::string > &messages, char *host)connection registeredconnection @@ -63,7 +64,7 @@ userrec()userrec ~classbase()classbase [inline] ~userrec()userrec [inline, virtual] -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 849d914eb..87662d230 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -76,6 +76,9 @@ Inherits connection. bool dns_done  True when DNS lookups are completed.

+unsigned long pingmax + + Number of seconds between PINGs for this user (set from <connect:allow> tag.



Private Attributes

InvitedList invites @@ -88,7 +91,7 @@ Everything about a connection is stored here primarily, from the user's socket I

-Definition at line 89 of file users.h.


Constructor & Destructor Documentation

+Definition at line 93 of file users.h.

Constructor & Destructor Documentation

@@ -118,7 +121,7 @@ Definition at line 89 of fi

Definition at line 28 of file users.cpp.

-References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, timeout, and ucrec::uc_modes. +References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, timeout, and ucrec::uc_modes.

00029 {
 00030         // the PROPER way to do it, AVOID bzero at *ALL* costs
@@ -176,9 +179,9 @@ References awaymsg, 
 
 

-Definition at line 164 of file users.h. +Definition at line 172 of file users.h.

-

00164 {  }
+
00172 {  }
 
@@ -214,7 +217,7 @@ Returns the full displayed host of the user This member function returns the hos

Definition at line 58 of file users.cpp.

-References dhost, ident, nick, and result. +References dhost, ident, nick, and result.

00059 {
 00060         snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
@@ -254,7 +257,7 @@ If any form of hostname cloaking is in operation, e.g. through a module, then th
 

Definition at line 65 of file users.cpp.

-References connection::host, ident, nick, and result. +References connection::host, ident, nick, and result.

00066 {
 00067         snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
@@ -382,7 +385,7 @@ Adds a channel to a users invite list (invites them to a channel).
 

Definition at line 85 of file users.cpp.

-References Invited::channel, and invites. +References Invited::channel, and invites.

00086 {
 00087         Invited i;
@@ -424,7 +427,7 @@ Returns true if a user is invited to a channel.
 

Definition at line 71 of file users.cpp.

-References invites. +References invites.

00072 {
 00073         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
@@ -473,7 +476,7 @@ This member function is called on successfully joining an invite only channel to
 

Definition at line 92 of file users.cpp.

-References DEBUG, and invites. +References DEBUG, and invites.

00093 {
 00094         log(DEBUG,"Removing invites");
@@ -522,7 +525,7 @@ The user's away message.
 

If this string is empty, the user is not marked as away.

-Definition at line 132 of file users.h. +Definition at line 136 of file users.h.

Referenced by userrec(). @@ -548,7 +551,7 @@ Referenced by userrec().

-Definition at line 123 of file users.h. +Definition at line 127 of file users.h.

Referenced by userrec(). @@ -576,7 +579,7 @@ The host displayed to non-opers (used for cloaking etc).

This usually matches the value of userrec::host.

-Definition at line 111 of file users.h. +Definition at line 115 of file users.h.

Referenced by GetFullHost(), and userrec(). @@ -604,7 +607,7 @@ True when DNS lookups are completed.

-Definition at line 160 of file users.h. +Definition at line 164 of file users.h.

Referenced by userrec(). @@ -632,7 +635,7 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi

-Definition at line 143 of file users.h. +Definition at line 147 of file users.h.

Referenced by userrec(). @@ -660,7 +663,7 @@ The users full name.

-Definition at line 115 of file users.h. +Definition at line 119 of file users.h.

Referenced by userrec(). @@ -688,7 +691,7 @@ The users ident reply.

-Definition at line 106 of file users.h. +Definition at line 110 of file users.h.

Referenced by GetFullHost(), GetFullRealHost(), and userrec(). @@ -716,7 +719,7 @@ A list of channels the user has a pending invite to.

-Definition at line 95 of file users.h. +Definition at line 99 of file users.h.

Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec(). @@ -744,7 +747,7 @@ The user's mode string.

This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.

-Definition at line 121 of file users.h. +Definition at line 125 of file users.h.

Referenced by userrec(). @@ -772,7 +775,7 @@ The users nickname.

An invalid nickname indicates an unregistered connection prior to the NICK command.

-Definition at line 102 of file users.h. +Definition at line 106 of file users.h.

Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::QuitUser(), and userrec(). @@ -800,11 +803,37 @@ The oper type they logged in as, if they are an oper.

This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.

-Definition at line 156 of file users.h. +Definition at line 160 of file users.h.

Referenced by userrec(). +

+ + + + +
+ + +
unsigned long userrec::pingmax +
+
+ + + + + +
+   + + +

+Number of seconds between PINGs for this user (set from <connect:allow> tag. +

+ +

+Definition at line 168 of file users.h.

@@ -828,7 +857,7 @@ Stores the result of the last GetFullHost or GetRealHost call.

You may use this to increase the speed of use of this class.

-Definition at line 137 of file users.h. +Definition at line 141 of file users.h.

Referenced by GetFullHost(), GetFullRealHost(), and userrec().

@@ -856,7 +885,7 @@ The server the user is connected to.

-Definition at line 127 of file users.h. +Definition at line 131 of file users.h.

Referenced by userrec(). @@ -884,14 +913,14 @@ Number of seconds this user is given to send USER/NICK If they do not send their

-Definition at line 149 of file users.h. +Definition at line 153 of file users.h.

Referenced by userrec().


The documentation for this class was generated from the following files: -
Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html index 2796b60d8..eda1a826e 100644 --- a/docs/module-doc/commands_8h-source.html +++ b/docs/module-doc/commands_8h-source.html @@ -116,7 +116,7 @@ 00117 bool is_uline(const char* server); 00118 00119 #endif -

Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +

Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html index 09e7aca04..20821c0dc 100644 --- a/docs/module-doc/commands_8h.html +++ b/docs/module-doc/commands_8h.html @@ -3757,7 +3757,7 @@ Referenced by Server::IsUli -
Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 529253b4d..fe1dc1a6c 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -168,7 +168,7 @@ 00300 00301 #endif 00302 -

Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +

Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 5c0e7c65c..e547c3018 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -191,7 +191,7 @@ Definition at line 39 Definition at line 36 of file connection.h. -
Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 5a494dec2..9936f3e99 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -42,7 +42,7 @@ 00051 00052 #endif 00053 -

Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +

Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index dd6873135..59a1acd44 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -17,7 +17,7 @@  A structure that defines a command. More...

-
Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html index bdb67706e..f20248524 100644 --- a/docs/module-doc/dns_8h-source.html +++ b/docs/module-doc/dns_8h-source.html @@ -69,7 +69,7 @@ 00092 }; 00093 00094 #endif -

Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html index 6ef986b05..871e33205 100644 --- a/docs/module-doc/dns_8h.html +++ b/docs/module-doc/dns_8h.html @@ -20,7 +20,7 @@ struct  dns_ip4list -
Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index 7787eb326..399dfaede 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -23,7 +23,7 @@ users.h [code] xline.h [code] -
Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index b65c317a9..211bef36a 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -245,8 +245,9 @@ Here is a list of all class members with links to the classes they belong to:

ExtMode
  • params_when_on : ExtMode
  • PartUserFromChannel() : Server
  • pass -: ConnectClass
  • pingtime -: serverrec
  • port +: ConnectClass
  • pingmax +: userrec
  • pingtime +: ConnectClass, serverrec
  • port : connection, ircd_connector

    - q -

      @@ -345,7 +346,7 @@ Here is a list of all class members with links to the classes they belong to:

      serverrec
    • ~ucrec() : ucrec
    • ~userrec() : userrec
    -
    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html index 4aa12e5c3..b77333087 100644 --- a/docs/module-doc/functions_func.html +++ b/docs/module-doc/functions_func.html @@ -231,7 +231,7 @@ : serverrec
  • ~ucrec() : ucrec
  • ~userrec() : userrec -
    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html index cb0115aac..22a91e569 100644 --- a/docs/module-doc/functions_vars.html +++ b/docs/module-doc/functions_vars.html @@ -132,8 +132,9 @@ : ModeParameter
  • params_when_off : ExtMode
  • params_when_on : ExtMode
  • pass -: ConnectClass
  • pingtime -: serverrec
  • port +: ConnectClass
  • pingmax +: userrec
  • pingtime +: ConnectClass, serverrec
  • port : connection, ircd_connector

    - r -

      @@ -179,7 +180,7 @@
  • -
    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index d5af87be0..a705ecff3 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -332,7 +332,7 @@ Here is a list of all file members with links to the files they belong to:

    zline_make_global() : xline.h
  • zline_set_creation_time() : xline.h -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html index 9622ea633..10e000af8 100644 --- a/docs/module-doc/globals_defs.html +++ b/docs/module-doc/globals_defs.html @@ -91,7 +91,7 @@ : modules.h
  • VF_STATIC : modules.h
  • VF_VENDOR : modules.h -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html index 5bbe5eeab..e718cf0bd 100644 --- a/docs/module-doc/globals_func.html +++ b/docs/module-doc/globals_func.html @@ -210,7 +210,7 @@
  • zline_make_global() : xline.h
  • zline_set_creation_time() : xline.h -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html index 7d5f2a301..3016dde3a 100644 --- a/docs/module-doc/globals_type.html +++ b/docs/module-doc/globals_type.html @@ -26,7 +26,7 @@ : modules.h
  • user_hash : modules.cpp
  • VoidPointer : base.h -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html index f3ed933dd..25851c7d6 100644 --- a/docs/module-doc/globals_vars.html +++ b/docs/module-doc/globals_vars.html @@ -105,7 +105,7 @@ : modules.cpp
  • WHOWAS_MAX : modules.cpp, channels.cpp
  • WHOWAS_STALE : modules.cpp, channels.cpp -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index d0e0061f7..843817f81 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -54,7 +54,7 @@
  • nspace::hash< string >
  • StrHashComp -
    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index 384976574..e080909ab 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -7,7 +7,7 @@

    InspIRCd Documentation

    -


    Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html index 9a90fcde4..ac7d5140f 100644 --- a/docs/module-doc/message_8h-source.html +++ b/docs/module-doc/message_8h-source.html @@ -57,7 +57,7 @@ 00050 void send_network_quit(const char* nick, const char* reason); 00051 00052 #endif -
    Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:24 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html index 09077536a..6b449ac5d 100644 --- a/docs/module-doc/message_8h.html +++ b/docs/module-doc/message_8h.html @@ -735,7 +735,7 @@ Referenced by Server::QuitU -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index 3752ef460..599f647b3 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -53,7 +53,7 @@ 00046 00047 00048 #endif -
    Generated on Thu Apr 7 20:14:20 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html index 42b01b489..dcef62b04 100644 --- a/docs/module-doc/mode_8h.html +++ b/docs/module-doc/mode_8h.html @@ -788,7 +788,7 @@ -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 5079fa4a4..fd9f62d41 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -316,8 +316,8 @@ 00309 void Module::OnUserQuit(userrec* user) { } 00310 void Module::OnUserJoin(userrec* user, chanrec* channel) { } 00311 void Module::OnUserPart(userrec* user, chanrec* channel) { } -00312 void Module::OnPacketTransmit(char *p) { } -00313 void Module::OnPacketReceive(char *p) { } +00312 void Module::OnPacketTransmit(std::string &data, std::string serv) { } +00313 void Module::OnPacketReceive(std::string &data, std::string serv) { } 00314 void Module::OnRehash() { } 00315 void Module::OnServerRaw(std::string &raw, bool inbound, userrec* user) { } 00316 int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; } @@ -783,7 +783,7 @@ 00776 int MODCOUNT = -1; 00777 00778 -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 1874e8024..d1cc3fc2f 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -1894,7 +1894,7 @@ Definition at line 87 o Definition at line 86 of file modules.cpp. -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:26 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 80f93ef15..8c20d74a6 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -137,170 +137,170 @@ 00168 00173 virtual void OnUserPart(userrec* user, chanrec* channel); 00174 -00181 virtual void OnPacketTransmit(char *p); -00182 -00190 virtual void OnPacketReceive(char *p); -00191 -00197 virtual void OnRehash(); -00198 -00207 virtual void OnServerRaw(std::string &raw, bool inbound, userrec* user); -00208 -00218 virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params); -00219 -00233 virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname); -00234 -00235 -00240 virtual void OnOper(userrec* user); -00241 -00250 virtual void OnInfo(userrec* user); -00251 -00256 virtual void OnWhois(userrec* source, userrec* dest); -00257 -00263 virtual int OnUserPreInvite(userrec* source,userrec* dest,chanrec* channel); -00264 -00273 virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text); -00274 -00286 virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text); -00287 -00295 virtual int OnUserPreNick(userrec* user, std::string newnick); -00296 -00304 virtual void OnUserPostNick(userrec* user, std::string oldnick); -00305 -00327 virtual int OnAccessCheck(userrec* source,userrec* dest,chanrec* channel,int access_type); -00328 -00334 virtual string_list OnUserSync(userrec* user); -00335 -00341 virtual string_list OnChannelSync(chanrec* chan); -00342 -00346 virtual void On005Numeric(std::string &output); -00347 -00357 virtual int OnKill(userrec* source, userrec* dest, std::string reason); -00358 -00369 virtual void OnLoadModule(Module* mod,std::string name); -00370 }; -00371 -00372 -00378 class Server : public classbase -00379 { -00380 public: -00384 Server(); -00388 virtual ~Server(); -00389 -00393 virtual void SendOpers(std::string s); -00398 virtual void Log(int level, std::string s); -00403 virtual void Send(int Socket, std::string s); -00408 virtual void SendServ(int Socket, std::string s); -00413 virtual void SendFrom(int Socket, userrec* User, std::string s); -00428 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); -00435 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); -00440 virtual bool CommonChannels(userrec* u1, userrec* u2); -00448 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); -00453 virtual void SendWallops(userrec* User, std::string text); -00454 -00458 virtual bool IsNick(std::string nick); -00462 virtual int CountUsers(chanrec* c); -00466 virtual userrec* FindNick(std::string nick); -00470 virtual chanrec* FindChannel(std::string channel); -00475 virtual std::string ChanMode(userrec* User, chanrec* Chan); -00479 virtual bool IsOnChannel(userrec* User, chanrec* Chan); -00482 virtual std::string GetServerName(); -00485 virtual std::string GetNetworkName(); -00491 virtual Admin GetAdmin(); -00510 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); -00511 -00533 virtual bool AddExtendedListMode(char modechar); -00534 -00552 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); -00553 -00575 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00576 -00589 virtual void SendToModeMask(std::string modes, int flags, std::string text); -00590 -00596 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); -00597 -00603 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); -00604 -00610 virtual void ChangeUserNick(userrec* user, std::string nickname); -00611 -00622 virtual void QuitUser(userrec* user, std::string reason); -00623 -00628 virtual bool MatchText(std::string sliteral, std::string spattern); -00629 -00641 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); -00642 -00648 virtual void ChangeHost(userrec* user, std::string host); -00649 -00655 virtual void ChangeGECOS(userrec* user, std::string gecos); -00656 -00665 virtual bool IsUlined(std::string server); -00666 -00670 virtual chanuserlist GetUsers(chanrec* chan); +00180 virtual void OnPacketTransmit(std::string &data, std::string serv); +00181 +00188 virtual void OnPacketReceive(std::string &data, std::string serv); +00189 +00195 virtual void OnRehash(); +00196 +00205 virtual void OnServerRaw(std::string &raw, bool inbound, userrec* user); +00206 +00216 virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params); +00217 +00231 virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname); +00232 +00233 +00238 virtual void OnOper(userrec* user); +00239 +00248 virtual void OnInfo(userrec* user); +00249 +00254 virtual void OnWhois(userrec* source, userrec* dest); +00255 +00261 virtual int OnUserPreInvite(userrec* source,userrec* dest,chanrec* channel); +00262 +00271 virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text); +00272 +00284 virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text); +00285 +00293 virtual int OnUserPreNick(userrec* user, std::string newnick); +00294 +00302 virtual void OnUserPostNick(userrec* user, std::string oldnick); +00303 +00325 virtual int OnAccessCheck(userrec* source,userrec* dest,chanrec* channel,int access_type); +00326 +00332 virtual string_list OnUserSync(userrec* user); +00333 +00339 virtual string_list OnChannelSync(chanrec* chan); +00340 +00344 virtual void On005Numeric(std::string &output); +00345 +00355 virtual int OnKill(userrec* source, userrec* dest, std::string reason); +00356 +00367 virtual void OnLoadModule(Module* mod,std::string name); +00368 }; +00369 +00370 +00376 class Server : public classbase +00377 { +00378 public: +00382 Server(); +00386 virtual ~Server(); +00387 +00391 virtual void SendOpers(std::string s); +00396 virtual void Log(int level, std::string s); +00401 virtual void Send(int Socket, std::string s); +00406 virtual void SendServ(int Socket, std::string s); +00411 virtual void SendFrom(int Socket, userrec* User, std::string s); +00426 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); +00433 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); +00438 virtual bool CommonChannels(userrec* u1, userrec* u2); +00446 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); +00451 virtual void SendWallops(userrec* User, std::string text); +00452 +00456 virtual bool IsNick(std::string nick); +00460 virtual int CountUsers(chanrec* c); +00464 virtual userrec* FindNick(std::string nick); +00468 virtual chanrec* FindChannel(std::string channel); +00473 virtual std::string ChanMode(userrec* User, chanrec* Chan); +00477 virtual bool IsOnChannel(userrec* User, chanrec* Chan); +00480 virtual std::string GetServerName(); +00483 virtual std::string GetNetworkName(); +00489 virtual Admin GetAdmin(); +00508 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00509 +00531 virtual bool AddExtendedListMode(char modechar); +00532 +00550 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); +00551 +00573 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00574 +00587 virtual void SendToModeMask(std::string modes, int flags, std::string text); +00588 +00594 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); +00595 +00601 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); +00602 +00608 virtual void ChangeUserNick(userrec* user, std::string nickname); +00609 +00620 virtual void QuitUser(userrec* user, std::string reason); +00621 +00626 virtual bool MatchText(std::string sliteral, std::string spattern); +00627 +00639 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); +00640 +00646 virtual void ChangeHost(userrec* user, std::string host); +00647 +00653 virtual void ChangeGECOS(userrec* user, std::string gecos); +00654 +00663 virtual bool IsUlined(std::string server); +00664 +00668 virtual chanuserlist GetUsers(chanrec* chan); +00669 +00670 }; 00671 -00672 }; -00673 -00674 #define CONF_NOT_A_NUMBER 0x000010 -00675 #define CONF_NOT_UNSIGNED 0x000080 -00676 #define CONF_VALUE_NOT_FOUND 0x000100 -00677 #define CONF_FILE_NOT_FOUND 0x000200 -00678 -00685 class ConfigReader : public classbase -00686 { -00687 protected: -00693 std::stringstream *cache; -00694 std::stringstream *errorlog; -00697 bool readerror; -00698 long error; -00699 -00700 public: -00705 ConfigReader(); // default constructor reads ircd.conf -00709 ConfigReader(std::string filename); // read a module-specific config -00713 ~ConfigReader(); -00718 std::string ReadValue(std::string tag, std::string name, int index); -00724 bool ReadFlag(std::string tag, std::string name, int index); -00733 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); -00738 long GetError(); -00745 int Enumerate(std::string tag); -00750 bool Verify(); -00757 void DumpErrors(bool bail,userrec* user); -00758 -00764 int EnumerateValues(std::string tag, int index); -00765 }; +00672 #define CONF_NOT_A_NUMBER 0x000010 +00673 #define CONF_NOT_UNSIGNED 0x000080 +00674 #define CONF_VALUE_NOT_FOUND 0x000100 +00675 #define CONF_FILE_NOT_FOUND 0x000200 +00676 +00683 class ConfigReader : public classbase +00684 { +00685 protected: +00691 std::stringstream *cache; +00692 std::stringstream *errorlog; +00695 bool readerror; +00696 long error; +00697 +00698 public: +00703 ConfigReader(); // default constructor reads ircd.conf +00707 ConfigReader(std::string filename); // read a module-specific config +00711 ~ConfigReader(); +00716 std::string ReadValue(std::string tag, std::string name, int index); +00722 bool ReadFlag(std::string tag, std::string name, int index); +00731 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); +00736 long GetError(); +00743 int Enumerate(std::string tag); +00748 bool Verify(); +00755 void DumpErrors(bool bail,userrec* user); +00756 +00762 int EnumerateValues(std::string tag, int index); +00763 }; +00764 +00765 00766 -00767 -00768 -00774 class FileReader : public classbase -00775 { -00776 file_cache fc; -00777 public: -00782 FileReader(); -00783 -00789 FileReader(std::string filename); -00790 -00794 ~FileReader(); -00795 -00801 void LoadFile(std::string filename); -00802 -00806 bool Exists(); -00807 -00812 std::string GetLine(int x); -00813 -00819 int FileSize(); -00820 }; -00821 -00822 -00829 class ModuleFactory : public classbase -00830 { -00831 public: -00832 ModuleFactory() { } -00833 virtual ~ModuleFactory() { } -00838 virtual Module * CreateModule() = 0; -00839 }; -00840 +00772 class FileReader : public classbase +00773 { +00774 file_cache fc; +00775 public: +00780 FileReader(); +00781 +00787 FileReader(std::string filename); +00788 +00792 ~FileReader(); +00793 +00799 void LoadFile(std::string filename); +00800 +00804 bool Exists(); +00805 +00810 std::string GetLine(int x); +00811 +00817 int FileSize(); +00818 }; +00819 +00820 +00827 class ModuleFactory : public classbase +00828 { +00829 public: +00830 ModuleFactory() { } +00831 virtual ~ModuleFactory() { } +00836 virtual Module * CreateModule() = 0; +00837 }; +00838 +00839 +00840 typedef DLLFactory<ModuleFactory> ircd_module; 00841 -00842 typedef DLLFactory<ModuleFactory> ircd_module; -00843 -00844 #endif -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +00842 #endif +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index 0c3cb75fd..00ca6ca92 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -427,7 +427,7 @@ Definition at line 38 of

    -Definition at line 677 of file modules.h. +Definition at line 675 of file modules.h.

    Referenced by ConfigReader::ConfigReader(). @@ -453,7 +453,7 @@ Referenced by ConfigReader:

    -Definition at line 674 of file modules.h. +Definition at line 672 of file modules.h.

    Referenced by ConfigReader::ReadInteger(). @@ -479,7 +479,7 @@ Referenced by ConfigReader:

    -Definition at line 675 of file modules.h. +Definition at line 673 of file modules.h.

    Referenced by ConfigReader::ReadInteger(). @@ -505,7 +505,7 @@ Referenced by ConfigReader:

    -Definition at line 676 of file modules.h. +Definition at line 674 of file modules.h.

    Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue(). @@ -948,7 +948,7 @@ Referenced by FileReader::F

    -Definition at line 842 of file modules.h. +Definition at line 840 of file modules.h.

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


    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html index eacc175e8..ccb9855f4 100644 --- a/docs/module-doc/namespacenspace.html +++ b/docs/module-doc/namespacenspace.html @@ -15,7 +15,7 @@ struct  nspace.hash< string > -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html index 925faa407..d22b64911 100644 --- a/docs/module-doc/namespaces.html +++ b/docs/module-doc/namespaces.html @@ -9,7 +9,7 @@ nspace std -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html index 75432f2a8..acca4169a 100644 --- a/docs/module-doc/namespacestd.html +++ b/docs/module-doc/namespacestd.html @@ -10,7 +10,7 @@
    -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index 1a690ebdd..ab7e7491a 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -63,7 +63,7 @@ 00056 strlcpy(nickserv,"",NICKMAX); 00057 } 00058 -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index b5ef5a5e7..9332b14b5 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -44,7 +44,7 @@ Definition at line 24 of file servers.cpp. -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 8972bef23..479d82df2 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -61,7 +61,7 @@ 00082 00083 #endif 00084 -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index 97a73164a..75986cb97 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -72,7 +72,7 @@ Definition at line 25 of Definition at line 26 of file servers.h. -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html index 5735a0091..79fed11b0 100644 --- a/docs/module-doc/structInAddr__HashComp-members.html +++ b/docs/module-doc/structInAddr__HashComp-members.html @@ -7,7 +7,7 @@

    InAddr_HashComp Member List

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

    Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html index 366f0ee03..89d1fe7d4 100644 --- a/docs/module-doc/structInAddr__HashComp.html +++ b/docs/module-doc/structInAddr__HashComp.html @@ -65,7 +65,7 @@ Definition at line 159
    The documentation for this struct was generated from the following file: -
    Generated on Thu Apr 7 20:14:25 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:29 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html index ea17c72a8..b560d0dcc 100644 --- a/docs/module-doc/structStrHashComp-members.html +++ b/docs/module-doc/structStrHashComp-members.html @@ -7,7 +7,7 @@

    StrHashComp Member List

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

    Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structStrHashComp.html b/docs/module-doc/structStrHashComp.html index f2d42b2f7..4e31a85d2 100644 --- a/docs/module-doc/structStrHashComp.html +++ b/docs/module-doc/structStrHashComp.html @@ -62,7 +62,7 @@ Definition at line 146
    The documentation for this struct was generated from the following file: -
    Generated on Thu Apr 7 20:14:26 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html index e9cdf6d70..1918864e2 100644 --- a/docs/module-doc/structdns__ip4list-members.html +++ b/docs/module-doc/structdns__ip4list-members.html @@ -8,7 +8,7 @@

    dns_ip4list Member List

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

    Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html index 6cdf0a31f..15c64c2db 100644 --- a/docs/module-doc/structdns__ip4list.html +++ b/docs/module-doc/structdns__ip4list.html @@ -66,7 +66,7 @@ Definition at line 28 of file
    The documentation for this struct was generated from the following file: -
    Generated on Thu Apr 7 20:14:24 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:28 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html index 20361aba1..b4fb934ff 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html @@ -7,7 +7,7 @@

    nspace::hash< in_addr > Member List

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

    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html index b6869fd8a..8c893abfd 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html @@ -55,7 +55,7 @@ Definition at line 119
    The documentation for this struct was generated from the following file: -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html index dc30990da..78bb9da0a 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html @@ -7,7 +7,7 @@

    nspace::hash< string > Member List

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

    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html index 48c6a65b4..b9d55c5e4 100644 --- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html +++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html @@ -57,7 +57,7 @@ Definition at line 132
    The documentation for this struct was generated from the following file: -
    Generated on Thu Apr 7 20:14:27 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:31 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index c528e87c3..84a859eef 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -171,7 +171,7 @@ 00164 } 00165 00166 -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 409351083..bed3b8057 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -70,7 +70,7 @@ Definition at line 24 of Definition at line 26 of file users.cpp. -
    Generated on Thu Apr 7 20:14:22 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 2d8c0ff66..9b5999a51 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -52,77 +52,81 @@ 00053 int registration_timeout; 00056 int flood; 00059 char host[MAXBUF]; -00062 char pass[MAXBUF]; -00063 -00064 ConnectClass() -00065 { -00066 registration_timeout = 0; -00067 flood = 0; -00068 strlcpy(host,"",MAXBUF); -00069 strlcpy(pass,"",MAXBUF); -00070 } -00071 }; -00072 -00075 typedef std::vector<Invited> InvitedList; +00062 int pingtime; +00065 char pass[MAXBUF]; +00066 +00067 ConnectClass() +00068 { +00069 registration_timeout = 0; +00070 flood = 0; +00071 pingtime = 0; +00072 strlcpy(host,"",MAXBUF); +00073 strlcpy(pass,"",MAXBUF); +00074 } +00075 }; 00076 -00077 -00078 -00081 typedef std::vector<ConnectClass> ClassVector; +00079 typedef std::vector<Invited> InvitedList; +00080 +00081 00082 -00089 class userrec : public connection -00090 { -00091 private: -00092 -00095 InvitedList invites; -00096 public: -00097 -00102 char nick[NICKMAX]; -00103 -00106 char ident[64]; -00107 -00111 char dhost[256]; -00112 -00115 char fullname[128]; +00085 typedef std::vector<ConnectClass> ClassVector; +00086 +00093 class userrec : public connection +00094 { +00095 private: +00096 +00099 InvitedList invites; +00100 public: +00101 +00106 char nick[NICKMAX]; +00107 +00110 char ident[64]; +00111 +00115 char dhost[256]; 00116 -00121 char modes[MAXBUF]; -00122 -00123 ucrec chans[MAXCHANS]; -00124 -00127 char server[256]; +00119 char fullname[128]; +00120 +00125 char modes[MAXBUF]; +00126 +00127 ucrec chans[MAXCHANS]; 00128 -00132 char awaymsg[512]; -00133 -00137 char result[256]; -00138 -00143 int flood; -00144 -00149 unsigned long timeout; -00150 -00156 char oper[NICKMAX]; -00157 -00160 bool dns_done; +00131 char server[256]; +00132 +00136 char awaymsg[512]; +00137 +00141 char result[256]; +00142 +00147 int flood; +00148 +00153 unsigned long timeout; +00154 +00160 char oper[NICKMAX]; 00161 -00162 userrec(); -00163 -00164 virtual ~userrec() { } -00165 -00170 virtual char* GetFullHost(); +00164 bool dns_done; +00165 +00168 unsigned long pingmax; +00169 +00170 userrec(); 00171 -00177 virtual char* GetFullRealHost(); -00178 -00181 virtual bool IsInvited(char* channel); -00182 -00185 virtual void InviteTo(char* channel); +00172 virtual ~userrec() { } +00173 +00178 virtual char* GetFullHost(); +00179 +00185 virtual char* GetFullRealHost(); 00186 -00191 virtual void RemoveInvite(char* channel); -00192 -00197 bool HasPermission(char* command); -00198 -00199 }; -00200 -00201 -00202 #endif -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +00189 virtual bool IsInvited(char* channel); +00190 +00193 virtual void InviteTo(char* channel); +00194 +00199 virtual void RemoveInvite(char* channel); +00200 +00205 bool HasPermission(char* command); +00206 +00207 }; +00208 +00209 +00210 #endif +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 947e2a64d..28dc21888 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -214,7 +214,7 @@ Holds a complete list of all allow and deny tags from the configuration file (co

    -Definition at line 81 of file users.h. +Definition at line 85 of file users.h.

    @@ -240,10 +240,10 @@ Holds a complete list of all channels to which a user has been invited and has n

    -Definition at line 75 of file users.h. +Definition at line 79 of file users.h. -


    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index fd67b7564..6a8bf9412 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -123,7 +123,7 @@ 00157 void sync_xlines(serverrec* serv, char* tcp_host); 00158 00159 #endif -
    Generated on Thu Apr 7 20:14:21 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:25 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html index 5bac88ff6..328946ffe 100644 --- a/docs/module-doc/xline_8h.html +++ b/docs/module-doc/xline_8h.html @@ -1075,7 +1075,7 @@ -
    Generated on Thu Apr 7 20:14:23 2005 for InspIRCd by +
    Generated on Sat Apr 9 14:38:27 2005 for InspIRCd by doxygen 1.3.3
    diff --git a/include/modules.h b/include/modules.h index b1f505e29..a040757f6 100644 --- a/include/modules.h +++ b/include/modules.h @@ -173,21 +173,19 @@ class Module : public classbase virtual void OnUserPart(userrec* user, chanrec* channel); /** Called before a packet is transmitted across the irc network between two irc servers. - * 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. */ - virtual void OnPacketTransmit(char *p); + virtual void OnPacketTransmit(std::string &data, std::string serv); /** 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. */ - virtual void OnPacketReceive(char *p); + virtual void OnPacketReceive(std::string &data, std::string serv); /** Called on rehash. * This method is called prior to a /REHASH or when a SIGHUP is received from the operating diff --git a/src/inspircd.cpp b/src/inspircd.cpp index eb014f611..d69aa6a1e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -915,6 +915,10 @@ void NetSendToCommon(userrec* u, char* s) log(DEBUG,"NetSendToCommon: '%s' '%s'",u->nick,s); + std::string msg = buffer; + FOREACH_MOD OnPacketTransmit(msg,s); + strlcpy(buffer,msg.c_str(),MAXBUF); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -938,6 +942,10 @@ void NetSendToAll(char* s) log(DEBUG,"NetSendToAll: '%s'",s); + std::string msg = buffer; + FOREACH_MOD OnPacketTransmit(msg,s); + strlcpy(buffer,msg.c_str(),MAXBUF); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -957,6 +965,10 @@ void NetSendToAllAlive(char* s) log(DEBUG,"NetSendToAllAlive: '%s'",s); + std::string msg = buffer; + FOREACH_MOD OnPacketTransmit(msg,s); + strlcpy(buffer,msg.c_str(),MAXBUF); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -984,6 +996,10 @@ void NetSendToOne(char* target,char* s) log(DEBUG,"NetSendToOne: '%s' '%s'",target,s); + std::string msg = buffer; + FOREACH_MOD OnPacketTransmit(msg,s); + strlcpy(buffer,msg.c_str(),MAXBUF); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -1006,6 +1022,10 @@ void NetSendToAllExcept(const char* target,char* s) log(DEBUG,"NetSendToAllExcept: '%s' '%s'",target,s); + std::string msg = buffer; + FOREACH_MOD OnPacketTransmit(msg,s); + strlcpy(buffer,msg.c_str(),MAXBUF); + for (int j = 0; j < 32; j++) { if (me[j] != NULL) @@ -3806,8 +3826,9 @@ int InspIRCd(void) else NetSendToAllExcept(tcp_host,udp_msg); } - FOREACH_MOD OnPacketReceive(udp_msg); - handle_link_packet(udp_msg, tcp_host, me[x]); + std::string msg = udp_msg; + FOREACH_MOD OnPacketReceive(msg,tcp_host); + strlcpy(udp_msg,msg.c_str(),MAXBUF); } goto label; } diff --git a/src/modules.cpp b/src/modules.cpp index f068dc591..324ab375c 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -309,8 +309,8 @@ void Module::OnUserConnect(userrec* user) { } void Module::OnUserQuit(userrec* user) { } void Module::OnUserJoin(userrec* user, chanrec* channel) { } void Module::OnUserPart(userrec* user, chanrec* channel) { } -void Module::OnPacketTransmit(char *p) { } -void Module::OnPacketReceive(char *p) { } +void Module::OnPacketTransmit(std::string &data, std::string serv) { } +void Module::OnPacketReceive(std::string &data, std::string serv) { } void Module::OnRehash() { } void Module::OnServerRaw(std::string &raw, bool inbound, userrec* user) { } int Module::OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { return 0; }