summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-25 22:01:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-25 22:01:10 +0000
commit4e9f3d169285127e60dc9e0437925c90600bfe05 (patch)
tree1c815d53019e5daab20cf7b535cd5c048c6a29cf
parent325797e2c1013295538e978f9428c51e2bf0ce98 (diff)
Added parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1522 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/man/man3/Admin.32
-rw-r--r--docs/man/man3/BanItem.32
-rw-r--r--docs/man/man3/ConfigReader.32
-rw-r--r--docs/man/man3/ConnectClass.32
-rw-r--r--docs/man/man3/DNS.32
-rw-r--r--docs/man/man3/ELine.32
-rw-r--r--docs/man/man3/Event.32
-rw-r--r--docs/man/man3/ExemptItem.32
-rw-r--r--docs/man/man3/ExtMode.32
-rw-r--r--docs/man/man3/Extensible.344
-rw-r--r--docs/man/man3/FileReader.32
-rw-r--r--docs/man/man3/GLine.32
-rw-r--r--docs/man/man3/HostItem.32
-rw-r--r--docs/man/man3/InviteItem.32
-rw-r--r--docs/man/man3/Invited.32
-rw-r--r--docs/man/man3/KLine.32
-rw-r--r--docs/man/man3/ModeParameter.32
-rw-r--r--docs/man/man3/Module.32
-rw-r--r--docs/man/man3/ModuleFactory.32
-rw-r--r--docs/man/man3/ModuleMessage.32
-rw-r--r--docs/man/man3/QLine.32
-rw-r--r--docs/man/man3/Request.32
-rw-r--r--docs/man/man3/Server.32
-rw-r--r--docs/man/man3/Version.32
-rw-r--r--docs/man/man3/WhoWasUser.32
-rw-r--r--docs/man/man3/XLine.32
-rw-r--r--docs/man/man3/ZLine.32
-rw-r--r--docs/man/man3/base.h.32
-rw-r--r--docs/man/man3/channels.cpp.36
-rw-r--r--docs/man/man3/channels.h.32
-rw-r--r--docs/man/man3/chanrec.32
-rw-r--r--docs/man/man3/classbase.32
-rw-r--r--docs/man/man3/command_t.32
-rw-r--r--docs/man/man3/commands.h.39
-rw-r--r--docs/man/man3/connection.32
-rw-r--r--docs/man/man3/connection.h.310
-rw-r--r--docs/man/man3/ctables.h.32
-rw-r--r--docs/man/man3/dns.h.32
-rw-r--r--docs/man/man3/dns_ip4list.32
-rw-r--r--docs/man/man3/hashcomp.h.32
-rw-r--r--docs/man/man3/irc.32
-rw-r--r--docs/man/man3/irc_InAddr_HashComp.32
-rw-r--r--docs/man/man3/irc_StrHashComp.32
-rw-r--r--docs/man/man3/irc_irc_char_traits.32
-rw-r--r--docs/man/man3/ircd_connector.34
-rw-r--r--docs/man/man3/message.h.32
-rw-r--r--docs/man/man3/mode.h.32
-rw-r--r--docs/man/man3/modules.cpp.32
-rw-r--r--docs/man/man3/modules.h.32
-rw-r--r--docs/man/man3/nspace.32
-rw-r--r--docs/man/man3/nspace_nspace_hash_ in_addr _.32
-rw-r--r--docs/man/man3/nspace_nspace_hash_ string _.32
-rw-r--r--docs/man/man3/serverrec.3797
-rw-r--r--docs/man/man3/servers.cpp.388
-rw-r--r--docs/man/man3/servers.h.32
-rw-r--r--docs/man/man3/std.32
-rw-r--r--docs/man/man3/std_char_traits.32
-rw-r--r--docs/man/man3/ucrec.32
-rw-r--r--docs/man/man3/userrec.32
-rw-r--r--docs/man/man3/users.cpp.32
-rw-r--r--docs/man/man3/users.h.32
-rw-r--r--docs/man/man3/xline.h.32
-rw-r--r--docs/module-doc/annotated.html2
-rw-r--r--docs/module-doc/base_8h-source.html20
-rw-r--r--docs/module-doc/base_8h.html2
-rw-r--r--docs/module-doc/channels_8cpp-source.html2
-rw-r--r--docs/module-doc/channels_8cpp.html10
-rw-r--r--docs/module-doc/channels_8h-source.html2
-rw-r--r--docs/module-doc/channels_8h.html2
-rw-r--r--docs/module-doc/classAdmin-members.html2
-rw-r--r--docs/module-doc/classAdmin.html2
-rw-r--r--docs/module-doc/classBanItem-members.html2
-rw-r--r--docs/module-doc/classBanItem.html2
-rw-r--r--docs/module-doc/classConfigReader-members.html2
-rw-r--r--docs/module-doc/classConfigReader.html2
-rw-r--r--docs/module-doc/classConnectClass-members.html2
-rw-r--r--docs/module-doc/classConnectClass.html2
-rw-r--r--docs/module-doc/classDNS-members.html2
-rw-r--r--docs/module-doc/classDNS.html2
-rw-r--r--docs/module-doc/classELine-members.html2
-rw-r--r--docs/module-doc/classELine.html2
-rw-r--r--docs/module-doc/classEvent-members.html2
-rw-r--r--docs/module-doc/classEvent.html2
-rw-r--r--docs/module-doc/classExemptItem-members.html2
-rw-r--r--docs/module-doc/classExemptItem.html2
-rw-r--r--docs/module-doc/classExtMode-members.html2
-rw-r--r--docs/module-doc/classExtMode.html2
-rw-r--r--docs/module-doc/classExtensible-members.html2
-rw-r--r--docs/module-doc/classExtensible.html29
-rw-r--r--docs/module-doc/classFileReader-members.html2
-rw-r--r--docs/module-doc/classFileReader.html2
-rw-r--r--docs/module-doc/classGLine-members.html2
-rw-r--r--docs/module-doc/classGLine.html2
-rw-r--r--docs/module-doc/classHostItem-members.html2
-rw-r--r--docs/module-doc/classHostItem.html2
-rw-r--r--docs/module-doc/classInviteItem-members.html2
-rw-r--r--docs/module-doc/classInviteItem.html2
-rw-r--r--docs/module-doc/classInvited-members.html2
-rw-r--r--docs/module-doc/classInvited.html2
-rw-r--r--docs/module-doc/classKLine-members.html2
-rw-r--r--docs/module-doc/classKLine.html2
-rw-r--r--docs/module-doc/classModeParameter-members.html2
-rw-r--r--docs/module-doc/classModeParameter.html2
-rw-r--r--docs/module-doc/classModule-members.html2
-rw-r--r--docs/module-doc/classModule.html2
-rw-r--r--docs/module-doc/classModuleFactory-members.html2
-rw-r--r--docs/module-doc/classModuleFactory.html2
-rw-r--r--docs/module-doc/classModuleMessage-members.html2
-rw-r--r--docs/module-doc/classModuleMessage.html2
-rw-r--r--docs/module-doc/classQLine-members.html2
-rw-r--r--docs/module-doc/classQLine.html2
-rw-r--r--docs/module-doc/classRequest-members.html2
-rw-r--r--docs/module-doc/classRequest.html2
-rw-r--r--docs/module-doc/classServer-members.html2
-rw-r--r--docs/module-doc/classServer.html2
-rw-r--r--docs/module-doc/classVersion-members.html2
-rw-r--r--docs/module-doc/classVersion.html2
-rw-r--r--docs/module-doc/classWhoWasUser-members.html2
-rw-r--r--docs/module-doc/classWhoWasUser.html2
-rw-r--r--docs/module-doc/classXLine-members.html2
-rw-r--r--docs/module-doc/classXLine.html2
-rw-r--r--docs/module-doc/classZLine-members.html2
-rw-r--r--docs/module-doc/classZLine.html2
-rw-r--r--docs/module-doc/classchanrec-members.html2
-rw-r--r--docs/module-doc/classchanrec.html2
-rw-r--r--docs/module-doc/classclassbase-members.html2
-rw-r--r--docs/module-doc/classclassbase.html2
-rw-r--r--docs/module-doc/classcommand__t-members.html2
-rw-r--r--docs/module-doc/classcommand__t.html2
-rw-r--r--docs/module-doc/classconnection-members.html2
-rw-r--r--docs/module-doc/classconnection.html10
-rw-r--r--docs/module-doc/classes.html2
-rw-r--r--docs/module-doc/classircd__connector-members.html2
-rw-r--r--docs/module-doc/classircd__connector.html24
-rw-r--r--docs/module-doc/classserverrec-members.html2
-rw-r--r--docs/module-doc/classserverrec.html843
-rw-r--r--docs/module-doc/classstd_1_1char__traits.html2
-rw-r--r--docs/module-doc/classucrec-members.html2
-rw-r--r--docs/module-doc/classucrec.html2
-rw-r--r--docs/module-doc/classuserrec-members.html2
-rw-r--r--docs/module-doc/classuserrec.html2
-rw-r--r--docs/module-doc/commands_8h-source.html6
-rw-r--r--docs/module-doc/commands_8h.html45
-rw-r--r--docs/module-doc/connection_8h-source.html2
-rw-r--r--docs/module-doc/connection_8h.html12
-rw-r--r--docs/module-doc/ctables_8h-source.html2
-rw-r--r--docs/module-doc/ctables_8h.html2
-rw-r--r--docs/module-doc/dns_8h-source.html2
-rw-r--r--docs/module-doc/dns_8h.html2
-rw-r--r--docs/module-doc/files.html2
-rw-r--r--docs/module-doc/functions.html2
-rw-r--r--docs/module-doc/functions_func.html2
-rw-r--r--docs/module-doc/functions_vars.html2
-rw-r--r--docs/module-doc/globals.html23
-rw-r--r--docs/module-doc/globals_defs.html2
-rw-r--r--docs/module-doc/globals_func.html16
-rw-r--r--docs/module-doc/globals_type.html2
-rw-r--r--docs/module-doc/globals_vars.html12
-rw-r--r--docs/module-doc/graph_legend.html2
-rw-r--r--docs/module-doc/hashcomp_8h-source.html2
-rw-r--r--docs/module-doc/hashcomp_8h.html2
-rw-r--r--docs/module-doc/hierarchy.html2
-rw-r--r--docs/module-doc/inherits.html2
-rw-r--r--docs/module-doc/main.html2
-rw-r--r--docs/module-doc/message_8h-source.html2
-rw-r--r--docs/module-doc/message_8h.html2
-rw-r--r--docs/module-doc/mode_8h-source.html2
-rw-r--r--docs/module-doc/mode_8h.html2
-rw-r--r--docs/module-doc/modules_8cpp-source.html2
-rw-r--r--docs/module-doc/modules_8cpp.html4
-rw-r--r--docs/module-doc/modules_8h-source.html2
-rw-r--r--docs/module-doc/modules_8h.html4
-rw-r--r--docs/module-doc/namespaceirc.html2
-rw-r--r--docs/module-doc/namespacemembers.html2
-rw-r--r--docs/module-doc/namespacemembers_type.html2
-rw-r--r--docs/module-doc/namespacenspace.html2
-rw-r--r--docs/module-doc/namespaces.html2
-rw-r--r--docs/module-doc/namespacestd.html2
-rw-r--r--docs/module-doc/servers_8cpp-source.html885
-rw-r--r--docs/module-doc/servers_8cpp.html172
-rw-r--r--docs/module-doc/servers_8h-source.html2
-rw-r--r--docs/module-doc/servers_8h.html2
-rw-r--r--docs/module-doc/structdns__ip4list-members.html2
-rw-r--r--docs/module-doc/structdns__ip4list.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits-members.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html2
-rw-r--r--docs/module-doc/users_8cpp-source.html2
-rw-r--r--docs/module-doc/users_8cpp.html2
-rw-r--r--docs/module-doc/users_8h-source.html2
-rw-r--r--docs/module-doc/users_8h.html2
-rw-r--r--docs/module-doc/xline_8h-source.html2
-rw-r--r--docs/module-doc/xline_8h.html2
-rw-r--r--include/base.h19
-rw-r--r--include/channels.h19
-rw-r--r--include/connection.h37
203 files changed, 2003 insertions, 1499 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3
index 416575798..18bd6a944 100644
--- a/docs/man/man3/Admin.3
+++ b/docs/man/man3/Admin.3
@@ -1,4 +1,4 @@
-.TH "Admin" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Admin" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3
index 1df522d83..a2e234890 100644
--- a/docs/man/man3/BanItem.3
+++ b/docs/man/man3/BanItem.3
@@ -1,4 +1,4 @@
-.TH "BanItem" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "BanItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3
index db2f5d282..3d7241239 100644
--- a/docs/man/man3/ConfigReader.3
+++ b/docs/man/man3/ConfigReader.3
@@ -1,4 +1,4 @@
-.TH "ConfigReader" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConfigReader" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ConnectClass.3 b/docs/man/man3/ConnectClass.3
index 23662d063..6ac15ba75 100644
--- a/docs/man/man3/ConnectClass.3
+++ b/docs/man/man3/ConnectClass.3
@@ -1,4 +1,4 @@
-.TH "ConnectClass" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConnectClass" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index f5b6d1c9d..294c788b1 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3
index b68821320..df7d4f4a7 100644
--- a/docs/man/man3/ELine.3
+++ b/docs/man/man3/ELine.3
@@ -1,4 +1,4 @@
-.TH "ELine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ELine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3
index 66edc1d3d..d546cadcc 100644
--- a/docs/man/man3/Event.3
+++ b/docs/man/man3/Event.3
@@ -1,4 +1,4 @@
-.TH "Event" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Event" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3
index aa5258002..1f1827758 100644
--- a/docs/man/man3/ExemptItem.3
+++ b/docs/man/man3/ExemptItem.3
@@ -1,4 +1,4 @@
-.TH "ExemptItem" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExemptItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3
index 236e8cd8a..d6135fc14 100644
--- a/docs/man/man3/ExtMode.3
+++ b/docs/man/man3/ExtMode.3
@@ -1,4 +1,4 @@
-.TH "ExtMode" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExtMode" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3
index d36912f60..2018cd126 100644
--- a/docs/man/man3/Extensible.3
+++ b/docs/man/man3/Extensible.3
@@ -1,4 +1,4 @@
-.TH "Extensible" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Extensible" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -49,13 +49,49 @@ Definition at line 50 of file base.h.
.PP
.SS "bool Extensible::Extend (std::string key, char * p)"
.PP
-Extend an Extensible class. You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, \fBExtensible::Extend\fP will return false in this case. On successful extension, Extend returns true.
+Extend an Extensible class. \fBParameters:\fP
+.RS 4
+\fIkey\fP The key parameter is an arbitary string which identifies the extension data
+.br
+\fIp\fP This parameter is a pointer to any data you wish to associate with the object
+.RE
+.PP
+You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, \fBExtensible::Extend\fP will return false in this case.
+.PP
+\fBReturns:\fP
+.RS 4
+Returns true on success, false if otherwise
+.RE
+.PP
+
.SS "char* Extensible::GetExt (std::string key)"
.PP
-Get an extension item. You must provide a key name, which is case sensitive. If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.
+Get an extension item. \fBParameters:\fP
+.RS 4
+\fIkey\fP The key parameter is an arbitary string which identifies the extension data
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.
+.RE
+.PP
+
.SS "bool Extensible::Shrink (std::string key)"
.PP
-Shrink an Extensible class. You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false. Returns true on success.
+Shrink an Extensible class. \fBParameters:\fP
+.RS 4
+\fIkey\fP The key parameter is an arbitary string which identifies the extension data
+.RE
+.PP
+You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false.
+.PP
+\fBReturns:\fP
+.RS 4
+Returns true on success.
+.RE
+.PP
+
.SH "Member Data Documentation"
.PP
.SS "std::map<std::string,char*> \fBExtensible::Extension_Items\fP\fC [private]\fP"
diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3
index f791a880e..cc8235c1a 100644
--- a/docs/man/man3/FileReader.3
+++ b/docs/man/man3/FileReader.3
@@ -1,4 +1,4 @@
-.TH "FileReader" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "FileReader" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/GLine.3 b/docs/man/man3/GLine.3
index 8a8523190..34bb1379c 100644
--- a/docs/man/man3/GLine.3
+++ b/docs/man/man3/GLine.3
@@ -1,4 +1,4 @@
-.TH "GLine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "GLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3
index 7d151b18d..a63fe8ca3 100644
--- a/docs/man/man3/HostItem.3
+++ b/docs/man/man3/HostItem.3
@@ -1,4 +1,4 @@
-.TH "HostItem" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "HostItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3
index a38f1bd5f..43b4cb657 100644
--- a/docs/man/man3/InviteItem.3
+++ b/docs/man/man3/InviteItem.3
@@ -1,4 +1,4 @@
-.TH "InviteItem" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "InviteItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3
index 87fb6a718..d5f91d73f 100644
--- a/docs/man/man3/Invited.3
+++ b/docs/man/man3/Invited.3
@@ -1,4 +1,4 @@
-.TH "Invited" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Invited" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3
index 076be1032..53785dc8c 100644
--- a/docs/man/man3/KLine.3
+++ b/docs/man/man3/KLine.3
@@ -1,4 +1,4 @@
-.TH "KLine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "KLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3
index bd6f50b0e..c690c33c5 100644
--- a/docs/man/man3/ModeParameter.3
+++ b/docs/man/man3/ModeParameter.3
@@ -1,4 +1,4 @@
-.TH "ModeParameter" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModeParameter" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3
index eab4669bb..2169fd28b 100644
--- a/docs/man/man3/Module.3
+++ b/docs/man/man3/Module.3
@@ -1,4 +1,4 @@
-.TH "Module" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Module" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3
index 779bd0e86..46e42232e 100644
--- a/docs/man/man3/ModuleFactory.3
+++ b/docs/man/man3/ModuleFactory.3
@@ -1,4 +1,4 @@
-.TH "ModuleFactory" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleFactory" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModuleMessage.3 b/docs/man/man3/ModuleMessage.3
index 4d4080144..fe20514cf 100644
--- a/docs/man/man3/ModuleMessage.3
+++ b/docs/man/man3/ModuleMessage.3
@@ -1,4 +1,4 @@
-.TH "ModuleMessage" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleMessage" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3
index 9e71ad7a0..af16527a4 100644
--- a/docs/man/man3/QLine.3
+++ b/docs/man/man3/QLine.3
@@ -1,4 +1,4 @@
-.TH "QLine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "QLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3
index f836f2662..84b7c3f8f 100644
--- a/docs/man/man3/Request.3
+++ b/docs/man/man3/Request.3
@@ -1,4 +1,4 @@
-.TH "Request" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Request" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3
index 87891e19e..db0f29ac6 100644
--- a/docs/man/man3/Server.3
+++ b/docs/man/man3/Server.3
@@ -1,4 +1,4 @@
-.TH "Server" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Server" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3
index aeea8964f..448ab5904 100644
--- a/docs/man/man3/Version.3
+++ b/docs/man/man3/Version.3
@@ -1,4 +1,4 @@
-.TH "Version" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Version" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/WhoWasUser.3 b/docs/man/man3/WhoWasUser.3
index 8e60d5b21..acda325ea 100644
--- a/docs/man/man3/WhoWasUser.3
+++ b/docs/man/man3/WhoWasUser.3
@@ -1,4 +1,4 @@
-.TH "WhoWasUser" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "WhoWasUser" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3
index 3745f1f06..dfec61ad4 100644
--- a/docs/man/man3/XLine.3
+++ b/docs/man/man3/XLine.3
@@ -1,4 +1,4 @@
-.TH "XLine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "XLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3
index 9a0d1a77a..958a51291 100644
--- a/docs/man/man3/ZLine.3
+++ b/docs/man/man3/ZLine.3
@@ -1,4 +1,4 @@
-.TH "ZLine" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ZLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/base.h.3 b/docs/man/man3/base.h.3
index cab63c1bb..2451eaec9 100644
--- a/docs/man/man3/base.h.3
+++ b/docs/man/man3/base.h.3
@@ -1,4 +1,4 @@
-.TH "base.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "base.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3
index dfcb792ac..ce1ab31a4 100644
--- a/docs/man/man3/channels.cpp.3
+++ b/docs/man/man3/channels.cpp.3
@@ -1,4 +1,4 @@
-.TH "channels.cpp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -259,6 +259,8 @@ Definition at line 83 of file channels.cpp.
.SS "\fBserverrec\fP* \fBme\fP[32]"
.PP
Definition at line 97 of file channels.cpp.
+.PP
+Referenced by IsRoutable().
.SS "int \fBMODCOUNT\fP = -1"
.PP
Definition at line 1016 of file modules.cpp.
@@ -317,7 +319,7 @@ Definition at line 81 of file channels.cpp.
.PP
Definition at line 101 of file channels.cpp.
.PP
-Referenced by serverrec::serverrec(), and userrec::userrec().
+Referenced by serverrec::FlushWriteBuffers(), serverrec::serverrec(), and userrec::userrec().
.SS "int \fBWHOWAS_MAX\fP"
.PP
Definition at line 79 of file channels.cpp.
diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3
index 66b0c8044..34f89005e 100644
--- a/docs/man/man3/channels.h.3
+++ b/docs/man/man3/channels.h.3
@@ -1,4 +1,4 @@
-.TH "channels.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3
index 69ac8c35d..6042f7166 100644
--- a/docs/man/man3/chanrec.3
+++ b/docs/man/man3/chanrec.3
@@ -1,4 +1,4 @@
-.TH "chanrec" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "chanrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3
index bdadeea07..ef6d05980 100644
--- a/docs/man/man3/classbase.3
+++ b/docs/man/man3/classbase.3
@@ -1,4 +1,4 @@
-.TH "classbase" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "classbase" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3
index 17e768025..6ead6ef21 100644
--- a/docs/man/man3/command_t.3
+++ b/docs/man/man3/command_t.3
@@ -1,4 +1,4 @@
-.TH "command_t" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "command_t" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3
index 5b95d45a8..f39d57305 100644
--- a/docs/man/man3/commands.h.3
+++ b/docs/man/man3/commands.h.3
@@ -1,4 +1,4 @@
-.TH "commands.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "commands.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -262,9 +262,16 @@ commands.h \-
.RI "long \fBduration\fP (const char *str)"
.br
.RI "\fIOther useful functions. \fP"
+.ti -1c
+.RI "void \fBConnectServer\fP (char *servermask, \fBuserrec\fP *user)"
+.br
+.RI "\fI\fBServer\fP connect creation. \fP"
.in -1c
.SH "Function Documentation"
.PP
+.SS "void ConnectServer (char * servermask, \fBuserrec\fP * user)"
+.PP
+\fBServer\fP connect creation.
.SS "long duration (const char * str)"
.PP
Other useful functions. Referenced by Server::AddELine(), Server::AddGLine(), Server::AddKLine(), Server::AddQLine(), Server::AddZLine(), and Server::CalcDuration().
diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3
index e492e0b8b..00f6667fe 100644
--- a/docs/man/man3/connection.3
+++ b/docs/man/man3/connection.3
@@ -1,4 +1,4 @@
-.TH "connection" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection" 3 "25 May 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 b8ddeddf6..bb39452b8 100644
--- a/docs/man/man3/connection.h.3
+++ b/docs/man/man3/connection.h.3
@@ -1,4 +1,4 @@
-.TH "connection.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -81,23 +81,21 @@ connection.h \-
.SS "#define STATE_CONNECTED 1"
.PP
Definition at line 36 of file connection.h.
-.PP
-Referenced by serverrec::MeshCookie().
.SS "#define STATE_DISCONNECTED 0"
.PP
Definition at line 35 of file connection.h.
.PP
-Referenced by serverrec::BeginLink(), serverrec::FlushWriteBuffers(), serverrec::MeshCookie(), serverrec::RecvPacket(), and serverrec::SendPacket().
+Referenced by serverrec::BeginLink(), serverrec::FlushWriteBuffers(), IsRoutable(), serverrec::MeshCookie(), serverrec::RecvPacket(), and serverrec::SendPacket().
.SS "#define STATE_NOAUTH_INBOUND 3"
.PP
Definition at line 38 of file connection.h.
.PP
-Referenced by serverrec::AddIncoming().
+Referenced by serverrec::AddIncoming(), and serverrec::FlushWriteBuffers().
.SS "#define STATE_NOAUTH_OUTBOUND 4"
.PP
Definition at line 39 of file connection.h.
.PP
-Referenced by serverrec::BeginLink(), and serverrec::MeshCookie().
+Referenced by serverrec::BeginLink(), serverrec::FlushWriteBuffers(), and serverrec::MeshCookie().
.SS "#define STATE_SERVICES 5"
.PP
Definition at line 40 of file connection.h.
diff --git a/docs/man/man3/ctables.h.3 b/docs/man/man3/ctables.h.3
index c13d28638..82f623cc7 100644
--- a/docs/man/man3/ctables.h.3
+++ b/docs/man/man3/ctables.h.3
@@ -1,4 +1,4 @@
-.TH "ctables.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ctables.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns.h.3 b/docs/man/man3/dns.h.3
index a570c881a..89c841b4a 100644
--- a/docs/man/man3/dns.h.3
+++ b/docs/man/man3/dns.h.3
@@ -1,4 +1,4 @@
-.TH "dns.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns_ip4list.3 b/docs/man/man3/dns_ip4list.3
index 00ed1737e..799018e42 100644
--- a/docs/man/man3/dns_ip4list.3
+++ b/docs/man/man3/dns_ip4list.3
@@ -1,4 +1,4 @@
-.TH "dns_ip4list" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns_ip4list" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/hashcomp.h.3 b/docs/man/man3/hashcomp.h.3
index 6fe823fe7..5736183a8 100644
--- a/docs/man/man3/hashcomp.h.3
+++ b/docs/man/man3/hashcomp.h.3
@@ -1,4 +1,4 @@
-.TH "hashcomp.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "hashcomp.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc.3 b/docs/man/man3/irc.3
index 2431dfda3..1d972fbd5 100644
--- a/docs/man/man3/irc.3
+++ b/docs/man/man3/irc.3
@@ -1,4 +1,4 @@
-.TH "irc" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_InAddr_HashComp.3 b/docs/man/man3/irc_InAddr_HashComp.3
index cf5d69b5a..64b936da9 100644
--- a/docs/man/man3/irc_InAddr_HashComp.3
+++ b/docs/man/man3/irc_InAddr_HashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::InAddr_HashComp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::InAddr_HashComp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_StrHashComp.3 b/docs/man/man3/irc_StrHashComp.3
index 316b5ee4e..b77547f8f 100644
--- a/docs/man/man3/irc_StrHashComp.3
+++ b/docs/man/man3/irc_StrHashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::StrHashComp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::StrHashComp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_irc_char_traits.3 b/docs/man/man3/irc_irc_char_traits.3
index 037a35707..403416ac6 100644
--- a/docs/man/man3/irc_irc_char_traits.3
+++ b/docs/man/man3/irc_irc_char_traits.3
@@ -1,4 +1,4 @@
-.TH "irc::irc_char_traits" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::irc_char_traits" 3 "25 May 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 aae366a68..a4a0b6011 100644
--- a/docs/man/man3/ircd_connector.3
+++ b/docs/man/man3/ircd_connector.3
@@ -1,4 +1,4 @@
-.TH "ircd_connector" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ircd_connector" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -257,7 +257,7 @@ Return the servername on this established connection. Referenced by serverrec::S
Get the port number being used for this connection If the connection is outbound this will be the remote port otherwise it will be the local port, so it can always be gautanteed as open at the address given in \fBGetServerIP()\fP.
.SS "int ircd_connector::GetState ()"
.PP
-Get the state flags for this connection. Referenced by serverrec::SendPacket().
+Get the state flags for this connection. Referenced by IsRoutable(), and serverrec::SendPacket().
.SS "std::string ircd_connector::GetVersionString ()"
.PP
This method returns the version string of the remote server. If the server has no version string an empty string is returned.
diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3
index 9d9feb812..e5330d038 100644
--- a/docs/man/man3/message.h.3
+++ b/docs/man/man3/message.h.3
@@ -1,4 +1,4 @@
-.TH "message.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "message.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3
index fdf3e5628..58435b0aa 100644
--- a/docs/man/man3/mode.h.3
+++ b/docs/man/man3/mode.h.3
@@ -1,4 +1,4 @@
-.TH "mode.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "mode.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3
index 1048e84e1..c0861bcfb 100644
--- a/docs/man/man3/modules.cpp.3
+++ b/docs/man/man3/modules.cpp.3
@@ -1,4 +1,4 @@
-.TH "modules.cpp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.cpp" 3 "25 May 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 d33285313..25b175296 100644
--- a/docs/man/man3/modules.h.3
+++ b/docs/man/man3/modules.h.3
@@ -1,4 +1,4 @@
-.TH "modules.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3
index ef0f57177..372e1adfe 100644
--- a/docs/man/man3/nspace.3
+++ b/docs/man/man3/nspace.3
@@ -1,4 +1,4 @@
-.TH "nspace" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 b/docs/man/man3/nspace_nspace_hash_ in_addr _.3
index 3cb96ec0c..7b40764d7 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 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< in_addr >" 3 "25 May 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 4821ed0a5..b27f352d0 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 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< string >" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/serverrec.3 b/docs/man/man3/serverrec.3
index 128d70f37..756987d57 100644
--- a/docs/man/man3/serverrec.3
+++ b/docs/man/man3/serverrec.3
@@ -1,4 +1,4 @@
-.TH "serverrec" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "serverrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -122,468 +122,507 @@ A class that defines the local server or a remote server. Definition at line 30
.PP
.SS "serverrec::serverrec ()"
.PP
-Constructor. Definition at line 42 of file servers.cpp.
+Constructor. Definition at line 46 of file servers.cpp.
.PP
References connectors, connection::fd, hops_away, jupiter, connection::lastping, name, nickserv, opercount, pingtime, connection::signon, sync_soon, TIME, usercount, usercount_i, and version.
.PP
.nf
-43 {
-44 strlcpy(name,'',256);
-45 pingtime = 0;
-46 lastping = TIME;
-47 usercount_i = usercount = opercount = version = 0;
-48 hops_away = 1;
-49 signon = TIME;
-50 jupiter = false;
-51 fd = 0;
-52 sync_soon = false;
-53 strlcpy(nickserv,'',NICKMAX);
-54 connectors.clear();
-55 }
+47 {
+48 strlcpy(name,'',256);
+49 pingtime = 0;
+50 lastping = TIME;
+51 usercount_i = usercount = opercount = version = 0;
+52 hops_away = 1;
+53 signon = TIME;
+54 jupiter = false;
+55 fd = 0;
+56 sync_soon = false;
+57 strlcpy(nickserv,'',NICKMAX);
+58 connectors.clear();
+59 }
.fi
.SS "serverrec::serverrec (char * n, long ver, bool jupe)"
.PP
-Constructor which initialises some of the main variables. Definition at line 62 of file servers.cpp.
+Constructor which initialises some of the main variables. Definition at line 66 of file servers.cpp.
.PP
References connectors, connection::fd, hops_away, jupiter, connection::lastping, name, nickserv, opercount, connection::signon, sync_soon, TIME, usercount, usercount_i, and version.
.PP
.nf
-63 {
-64 strlcpy(name,n,256);
-65 lastping = TIME;
-66 usercount_i = usercount = opercount = 0;
-67 version = ver;
-68 hops_away = 1;
-69 signon = TIME;
-70 jupiter = jupe;
-71 fd = 0;
-72 sync_soon = false;
-73 strlcpy(nickserv,'',NICKMAX);
-74 connectors.clear();
-75 }
+67 {
+68 strlcpy(name,n,256);
+69 lastping = TIME;
+70 usercount_i = usercount = opercount = 0;
+71 version = ver;
+72 hops_away = 1;
+73 signon = TIME;
+74 jupiter = jupe;
+75 fd = 0;
+76 sync_soon = false;
+77 strlcpy(nickserv,'',NICKMAX);
+78 connectors.clear();
+79 }
.fi
.SS "serverrec::~\fBserverrec\fP ()"
.PP
-Destructor. Definition at line 58 of file servers.cpp.
+Destructor. Definition at line 62 of file servers.cpp.
.PP
.nf
-59 {
-60 }
+63 {
+64 }
.fi
.SH "Member Function Documentation"
.PP
.SS "bool serverrec::AddIncoming (int fd, char * targethost, int sourceport)"
.PP
-Add an incoming connection to the connection pool. (reserved for core use) Definition at line 207 of file servers.cpp.
+Add an incoming connection to the connection pool. (reserved for core use) Definition at line 212 of file servers.cpp.
.PP
References connectors, DEBUG, ircd_connector::SetDescriptor(), ircd_connector::SetHostAndPort(), ircd_connector::SetServerName(), ircd_connector::SetState(), and STATE_NOAUTH_INBOUND.
.PP
.nf
-208 {
-209 ircd_connector connector;
-210
-211 // targethost has been turned into an ip...
-212 // we dont want this as the server name.
-213 connector.SetServerName(targethost);
-214 connector.SetDescriptor(newfd);
-215 connector.SetState(STATE_NOAUTH_INBOUND);
-216 int flags = fcntl(newfd, F_GETFL, 0);
-217 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
-218 int sendbuf = 32768;
-219 int recvbuf = 32768;
-220 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(const void *)&sendbuf,sizeof(sendbuf));
-221 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(const void *)&recvbuf,sizeof(sendbuf));
-222 connector.SetHostAndPort(targethost, sourceport);
-223 connector.SetState(STATE_NOAUTH_INBOUND);
-224 log(DEBUG,'serverrec::AddIncoming() Added connection: %s:%d',targethost,sourceport);
-225 this->connectors.push_back(connector);
-226 return true;
-227 }
+213 {
+214 ircd_connector connector;
+215
+216 // targethost has been turned into an ip...
+217 // we dont want this as the server name.
+218 connector.SetServerName(targethost);
+219 connector.SetDescriptor(newfd);
+220 connector.SetState(STATE_NOAUTH_INBOUND);
+221 int flags = fcntl(newfd, F_GETFL, 0);
+222 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
+223 int sendbuf = 32768;
+224 int recvbuf = 32768;
+225 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(const void *)&sendbuf,sizeof(sendbuf));
+226 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(const void *)&recvbuf,sizeof(sendbuf));
+227 connector.SetHostAndPort(targethost, sourceport);
+228 connector.SetState(STATE_NOAUTH_INBOUND);
+229 log(DEBUG,'serverrec::AddIncoming() Added connection: %s:%d',targethost,sourceport);
+230 this->connectors.push_back(connector);
+231 return true;
+232 }
.fi
.SS "bool serverrec::BeginLink (char * targethost, int port, char * password, char * servername, int myport)"
.PP
-Begin an outbound link to another ircd at targethost. Definition at line 138 of file servers.cpp.
+Begin an outbound link to another ircd at targethost. Definition at line 142 of file servers.cpp.
.PP
References connectors, connection::fd, FindHost(), ircd_connector::MakeOutboundConnection(), SendPacket(), ircd_connector::SetHostAndPort(), ircd_connector::SetServerName(), ircd_connector::SetState(), STATE_DISCONNECTED, and STATE_NOAUTH_OUTBOUND.
.PP
.nf
-139 {
-140 char connect[MAXBUF];
-141
-142 ircd_connector connector;
-143 ircd_connector *cn = this->FindHost(servername);
-144
+143 {
+144 char connect[MAXBUF];
145
-146 if (cn)
-147 {
-148 WriteOpers('CONNECT aborted: Server %s already exists',servername);
-149 return false;
-150 }
-151
-152
-153 if (this->fd)
-154 {
-155 if (connector.MakeOutboundConnection(targethost,newport))
-156 {
-157 // targethost has been turned into an ip...
-158 // we dont want this as the server name.
-159 connector.SetServerName(servername);
-160 snprintf(connect,MAXBUF,'S %s %s %lu %s :%s',getservername().c_str(),password,(unsigned long)myport,GetRevision().c_str(),getserverdesc().c_str());
-161 connector.SetState(STATE_NOAUTH_OUTBOUND);
-162 connector.SetHostAndPort(targethost, newport);
-163 this->connectors.push_back(connector);
-164 return this->SendPacket(connect, servername);
-165 }
-166 else
-167 {
-168 connector.SetState(STATE_DISCONNECTED);
-169 WriteOpers('Could not create outbound connection to %s:%d',targethost,newport);
-170 }
-171 }
-172 return false;
-173 }
+146 ircd_connector connector;
+147 ircd_connector *cn = this->FindHost(servername);
+148
+149
+150 if (cn)
+151 {
+152 WriteOpers('CONNECT aborted: Server %s already exists',servername);
+153 return false;
+154 }
+155
+156
+157 if (this->fd)
+158 {
+159 if (connector.MakeOutboundConnection(targethost,newport))
+160 {
+161 // targethost has been turned into an ip...
+162 // we dont want this as the server name.
+163 connector.SetServerName(servername);
+164 snprintf(connect,MAXBUF,'S %s %s %lu %s :%s',getservername().c_str(),password,(unsigned long)myport,GetRevision().c_str(),getserverdesc().c_str());
+165 connector.SetState(STATE_NOAUTH_OUTBOUND);
+166 connector.SetHostAndPort(targethost, newport);
+167 this->connectors.push_back(connector);
+168 // this packet isn't actually sent until the socket connects -- the STATE_NOAUTH_OUTBOUND state
+169 // queues outbound data until the socket is polled as writeable (e.g. the connection is established)
+170 return this->SendPacket(connect, servername);
+171 }
+172 else
+173 {
+174 connector.SetState(STATE_DISCONNECTED);
+175 WriteOpers('Could not create outbound connection to %s:%d',targethost,newport);
+176 }
+177 }
+178 return false;
+179 }
.fi
.SS "bool serverrec::CreateListener (char * host, int p)"
.PP
-Create a listening socket on 'host' using port number 'p'. Definition at line 77 of file servers.cpp.
+Create a listening socket on 'host' using port number 'p'. Definition at line 81 of file servers.cpp.
.PP
References connection::fd, MaxConn, and connection::port.
.PP
.nf
-78 {
-79 sockaddr_in host_address;
-80 int flags;
-81 in_addr addy;
-82 int on = 0;
-83 struct linger linger = { 0 };
-84
-85 this->port = p;
-86
-87 fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
-88 if (fd <= 0)
-89 {
-90 return false;
-91 }
-92
-93 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(const char*)&on,sizeof(on));
-94 linger.l_onoff = 1;
-95 linger.l_linger = 1;
-96 setsockopt(fd,SOL_SOCKET,SO_LINGER,(const char*)&linger,sizeof(linger));
-97
-98 // attempt to increase socket sendq and recvq as high as its possible
-99 // to get them on linux.
-100 int sendbuf = 32768;
-101 int recvbuf = 32768;
-102 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(const void *)&sendbuf,sizeof(sendbuf));
-103 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(const void *)&recvbuf,sizeof(sendbuf));
-104
-105 memset((void*)&host_address, 0, sizeof(host_address));
-106
-107 host_address.sin_family = AF_INET;
+82 {
+83 sockaddr_in host_address;
+84 int flags;
+85 in_addr addy;
+86 int on = 0;
+87 struct linger linger = { 0 };
+88
+89 this->port = p;
+90
+91 fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+92 if (fd <= 0)
+93 {
+94 return false;
+95 }
+96
+97 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(const char*)&on,sizeof(on));
+98 linger.l_onoff = 1;
+99 linger.l_linger = 1;
+100 setsockopt(fd,SOL_SOCKET,SO_LINGER,(const char*)&linger,sizeof(linger));
+101
+102 // attempt to increase socket sendq and recvq as high as its possible
+103 // to get them on linux.
+104 int sendbuf = 32768;
+105 int recvbuf = 32768;
+106 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(const void *)&sendbuf,sizeof(sendbuf));
+107 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(const void *)&recvbuf,sizeof(sendbuf));
108
-109 if (!strcmp(newhost,''))
-110 {
-111 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
-112 }
-113 else
+109 memset((void*)&host_address, 0, sizeof(host_address));
+110
+111 host_address.sin_family = AF_INET;
+112
+113 if (!strcmp(newhost,''))
114 {
-115 inet_aton(newhost,&addy);
-116 host_address.sin_addr = addy;
-117 }
-118
-119 host_address.sin_port = htons(p);
-120
-121 if (bind(fd,(sockaddr*)&host_address,sizeof(host_address))<0)
-122 {
-123 return false;
-124 }
-125
-126 // make the socket non-blocking
-127 flags = fcntl(fd, F_GETFL, 0);
-128 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
+115 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
+116 }
+117 else
+118 {
+119 inet_aton(newhost,&addy);
+120 host_address.sin_addr = addy;
+121 }
+122
+123 host_address.sin_port = htons(p);
+124
+125 if (bind(fd,(sockaddr*)&host_address,sizeof(host_address))<0)
+126 {
+127 return false;
+128 }
129
-130 this->port = p;
-131
-132 listen(this->fd, MaxConn);
+130 // make the socket non-blocking
+131 flags = fcntl(fd, F_GETFL, 0);
+132 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
133
-134 return true;
-135 }
+134 this->port = p;
+135
+136 listen(this->fd, MaxConn);
+137
+138 return true;
+139 }
.fi
.SS "\fBircd_connector\fP * serverrec::FindHost (std::string host)"
.PP
-Find the \fBircd_connector\fP oject related to a certain servername given in 'host'. Definition at line 237 of file servers.cpp.
+Find the \fBircd_connector\fP oject related to a certain servername given in 'host'. Definition at line 242 of file servers.cpp.
.PP
References connectors.
.PP
-Referenced by BeginLink(), and SendPacket().
+Referenced by BeginLink(), IsRoutable(), and SendPacket().
.PP
.nf
-238 {
-239 for (int i = 0; i < this->connectors.size(); i++)
-240 {
-241 if (this->connectors[i].GetServerName() == findhost)
-242 {
-243 return &this->connectors[i];
-244 }
-245 }
-246 return NULL;
-247 }
+243 {
+244 for (int i = 0; i < this->connectors.size(); i++)
+245 {
+246 if (this->connectors[i].GetServerName() == findhost)
+247 {
+248 return &this->connectors[i];
+249 }
+250 }
+251 return NULL;
+252 }
.fi
.SS "void serverrec::FlushWriteBuffers ()"
.PP
-Flushes all data waiting to be written for all of this server's connections. Definition at line 249 of file servers.cpp.
+Flushes all data waiting to be written for all of this server's connections. Definition at line 284 of file servers.cpp.
.PP
-References connectors, and STATE_DISCONNECTED.
+References connectors, has_been_netsplit, IsRoutable(), STATE_DISCONNECTED, STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND, and TIME.
.PP
.nf
-250 {
-251 for (int i = 0; i < this->connectors.size(); i++)
-252 {
-253 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
-254 {
-255 if (!this->connectors[i].CheckPing())
-256 {
-257 WriteOpers('*** Lost single connection to %s: Ping timeout',this->connectors[i].GetServerName().c_str());
-258 this->connectors[i].CloseConnection();
-259 this->connectors[i].SetState(STATE_DISCONNECTED);
-260 }
-261 }
-262 if (this->connectors[i].HasBufferedOutput())
-263 {
-264 if (!this->connectors[i].FlushWriteBuf())
-265 {
-266 // if we're here the write() caused an error, we cannot proceed
-267 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',this->connectors[i].GetServerName().c_str(),this->connectors[i].GetWriteError().c_str());
-268 this->connectors[i].CloseConnection();
-269 this->connectors[i].SetState(STATE_DISCONNECTED);
-270 }
-271 }
-272 }
-273 }
+285 {
+286 for (int i = 0; i < this->connectors.size(); i++)
+287 {
+288 // don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!
+289 if ((this->connectors[i].GetState() == STATE_NOAUTH_OUTBOUND) && (TIME > this->connectors[i].age+30))
+290 {
+291 // however if we reach this timer its connected timed out :)
+292 WriteOpers('*** Connection to %s timed out',this->connectors[i].GetServerName().c_str());
+293 DoSplit(this->connectors[i].GetServerName().c_str());
+294 return;
+295 }
+296 else if ((this->connectors[i].GetState() == STATE_NOAUTH_INBOUND) && (TIME > this->connectors[i].age+30))
+297 {
+298 WriteOpers('*** Connection from %s timed out',this->connectors[i].GetServerName().c_str());
+299 DoSplit(this->connectors[i].GetServerName().c_str());
+300 return;
+301 }
+302 else if (this->connectors[i].GetState() != STATE_DISCONNECTED)
+303 {
+304 if (!this->connectors[i].CheckPing())
+305 {
+306 WriteOpers('*** Lost single connection to %s: Ping timeout',this->connectors[i].GetServerName().c_str());
+307 this->connectors[i].CloseConnection();
+308 this->connectors[i].SetState(STATE_DISCONNECTED);
+309 if (!IsRoutable(this->connectors[i].GetServerName()))
+310 {
+311 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+312 DoSplit(this->connectors[i].GetServerName().c_str());
+313 }
+314 has_been_netsplit = true;
+315 }
+316 }
+317 if (this->connectors[i].HasBufferedOutput())
+318 {
+319 if (!this->connectors[i].FlushWriteBuf())
+320 {
+321 // if we're here the write() caused an error, we cannot proceed
+322 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',this->connectors[i].GetServerName().c_str(),this->connectors[i].GetWriteError().c_str());
+323 this->connectors[i].CloseConnection();
+324 this->connectors[i].SetState(STATE_DISCONNECTED);
+325 if (!IsRoutable(this->connectors[i].GetServerName()))
+326 {
+327 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+328 DoSplit(this->connectors[i].GetServerName().c_str());
+329 }
+330 has_been_netsplit = true;
+331 }
+332 }
+333 }
+334 }
.fi
.SS "bool serverrec::MeshCookie (char * targethost, int port, unsigned long cookie, char * servername)"
.PP
-Begin an outbound mesh link to another ircd on a network you are already an authenticated member of. Definition at line 176 of file servers.cpp.
+Begin an outbound mesh link to another ircd on a network you are already an authenticated member of. Definition at line 182 of file servers.cpp.
.PP
-References connectors, connection::fd, ircd_connector::MakeOutboundConnection(), SendPacket(), ircd_connector::SetHostAndPort(), ircd_connector::SetServerName(), ircd_connector::SetState(), STATE_CONNECTED, STATE_DISCONNECTED, and STATE_NOAUTH_OUTBOUND.
+References connectors, connection::fd, ircd_connector::MakeOutboundConnection(), SendPacket(), ircd_connector::SetHostAndPort(), ircd_connector::SetServerName(), ircd_connector::SetState(), STATE_DISCONNECTED, and STATE_NOAUTH_OUTBOUND.
.PP
.nf
-177 {
-178 char connect[MAXBUF];
-179
-180 ircd_connector connector;
-181
-182 WriteOpers('Establishing meshed link to %s:%d',servername,newport);
-183
-184 if (this->fd)
-185 {
-186 if (connector.MakeOutboundConnection(targethost,newport))
-187 {
-188 // targethost has been turned into an ip...
-189 // we dont want this as the server name.
-190 connector.SetServerName(servername);
-191 snprintf(connect,MAXBUF,'- %lu %s :%s',cookie,getservername().c_str(),getserverdesc().c_str());
-192 connector.SetState(STATE_NOAUTH_OUTBOUND);
-193 connector.SetHostAndPort(targethost, newport);
-194 connector.SetState(STATE_CONNECTED);
-195 this->connectors.push_back(connector);
-196 return this->SendPacket(connect, servername);
-197 }
-198 else
-199 {
-200 connector.SetState(STATE_DISCONNECTED);
-201 WriteOpers('Could not create outbound connection to %s:%d',targethost,newport);
+183 {
+184 char connect[MAXBUF];
+185
+186 ircd_connector connector;
+187
+188 WriteOpers('Establishing meshed link to %s:%d',servername,newport);
+189
+190 if (this->fd)
+191 {
+192 if (connector.MakeOutboundConnection(targethost,newport))
+193 {
+194 // targethost has been turned into an ip...
+195 // we dont want this as the server name.
+196 connector.SetServerName(servername);
+197 snprintf(connect,MAXBUF,'- %lu %s :%s',cookie,getservername().c_str(),getserverdesc().c_str());
+198 connector.SetState(STATE_NOAUTH_OUTBOUND);
+199 connector.SetHostAndPort(targethost, newport);
+200 this->connectors.push_back(connector);
+201 return this->SendPacket(connect, servername);
202 }
-203 }
-204 return false;
-205 }
+203 else
+204 {
+205 connector.SetState(STATE_DISCONNECTED);
+206 WriteOpers('Could not create outbound connection to %s:%d',targethost,newport);
+207 }
+208 }
+209 return false;
+210 }
.fi
.SS "bool serverrec::RecvPacket (std::deque< std::string > & messages, char * host, std::deque< std::string > & sums)"
.PP
-Returns the next available packet and returns true if data is available. Writes the servername the data came from to 'host'. If no data is available this function returns false. This function will automatically close broken links and reroute pathways, generating split messages on the network. Definition at line 370 of file servers.cpp.
+Returns the next available packet and returns true if data is available. Writes the servername the data came from to 'host'. If no data is available this function returns false. This function will automatically close broken links and reroute pathways, generating split messages on the network. Definition at line 431 of file servers.cpp.
.PP
-References already_have_sum(), connectors, DEBUG, and STATE_DISCONNECTED.
+References already_have_sum(), connectors, DEBUG, has_been_netsplit, IsRoutable(), and STATE_DISCONNECTED.
.PP
.nf
-371 {
-372 char data[65536];
-373 memset(data, 0, 65536);
-374 for (int i = 0; i < this->connectors.size(); i++)
-375 {
-376 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
-377 {
-378 // returns false if the packet could not be sent (e.g. target host down)
-379 int rcvsize = 0;
-380
-381 // check if theres any data on this socket
-382 // if not, continue onwards to the next.
-383 pollfd polls;
-384 polls.fd = this->connectors[i].GetDescriptor();
-385 polls.events = POLLIN;
-386 int ret = poll(&polls,1,1);
-387 if (ret <= 0) continue;
-388
-389 rcvsize = recv(this->connectors[i].GetDescriptor(),data,65000,0);
-390 data[rcvsize] = '\0';
-391 if (rcvsize == -1)
-392 {
-393 if (errno != EAGAIN)
-394 {
-395 log(DEBUG,'recv() failed for serverrec::RecvPacket(): %s',strerror(errno));
-396 log(DEBUG,'Disabling connector: %s',this->connectors[i].GetServerName().c_str());
-397 this->connectors[i].CloseConnection();
-398 this->connectors[i].SetState(STATE_DISCONNECTED);
-399 }
-400 }
-401 int pushed = 0;
-402 if (rcvsize > 0)
-403 {
-404 if (!this->connectors[i].AddBuffer(data))
-405 {
-406 WriteOpers('*** Read buffer for %s exceeds maximum, closing connection!',this->connectors[i].GetServerName().c_str());
-407 this->connectors[i].CloseConnection();
-408 this->connectors[i].SetState(STATE_DISCONNECTED);
-409 }
-410 if (this->connectors[i].BufferIsComplete())
-411 {
-412 this->connectors[i].ResetPing();
-413 while (this->connectors[i].BufferIsComplete())
-414 {
-415 std::string text = this->connectors[i].GetBuffer();
-416 if (text != '')
-417 {
-418 if ((text[0] == ':') && (text.find(' ') != std::string::npos))
-419 {
-420 std::string orig = text;
-421 log(DEBUG,'Original: %s',text.c_str());
-422 std::string sum = text.substr(1,text.find(' ')-1);
-423 text = text.substr(text.find(' ')+1,text.length());
-424 std::string possible_token = text.substr(1,text.find(' ')-1);
-425 if (possible_token.length() > 1)
-426 {
-427 sums.push_back('*');
-428 text = orig;
-429 log(DEBUG,'Non-mesh, non-tokenized string passed up the chain');
-430 }
-431 else
-432 {
-433 log(DEBUG,'Packet sum: '%s'',sum.c_str());
-434 if ((already_have_sum(sum)) && (sum != '*'))
-435 {
-436 // we don't accept dupes
-437 continue;
-438 }
-439 sums.push_back(sum.c_str());
-440 }
-441 }
-442 else sums.push_back('*');
-443 messages.push_back(text.c_str());
-444 strlcpy(recvhost,this->connectors[i].GetServerName().c_str(),160);
-445 log(DEBUG,'serverrec::RecvPacket() %d:%s->%s',pushed++,recvhost,text.c_str());
-446 }
-447 }
-448 return true;
-449 }
-450 }
-451 }
-452 }
-453 // nothing new yet -- message and host will be undefined
-454 return false;
-455 }
+432 {
+433 char data[65536];
+434 memset(data, 0, 65536);
+435 for (int i = 0; i < this->connectors.size(); i++)
+436 {
+437 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
+438 {
+439 // returns false if the packet could not be sent (e.g. target host down)
+440 int rcvsize = 0;
+441
+442 // check if theres any data on this socket
+443 // if not, continue onwards to the next.
+444 pollfd polls;
+445 polls.fd = this->connectors[i].GetDescriptor();
+446 polls.events = POLLIN;
+447 int ret = poll(&polls,1,1);
+448 if (ret <= 0) continue;
+449
+450 rcvsize = recv(this->connectors[i].GetDescriptor(),data,65000,0);
+451 data[rcvsize] = '\0';
+452 if (rcvsize == -1)
+453 {
+454 if (errno != EAGAIN)
+455 {
+456 log(DEBUG,'recv() failed for serverrec::RecvPacket(): %s',strerror(errno));
+457 log(DEBUG,'Disabling connector: %s',this->connectors[i].GetServerName().c_str());
+458 this->connectors[i].CloseConnection();
+459 this->connectors[i].SetState(STATE_DISCONNECTED);
+460 if (!IsRoutable(this->connectors[i].GetServerName()))
+461 {
+462 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+463 DoSplit(this->connectors[i].GetServerName().c_str());
+464 }
+465 has_been_netsplit = true;
+466 }
+467 }
+468 int pushed = 0;
+469 if (rcvsize > 0)
+470 {
+471 if (!this->connectors[i].AddBuffer(data))
+472 {
+473 WriteOpers('*** Read buffer for %s exceeds maximum, closing connection!',this->connectors[i].GetServerName().c_str());
+474 this->connectors[i].CloseConnection();
+475 this->connectors[i].SetState(STATE_DISCONNECTED);
+476 if (!IsRoutable(this->connectors[i].GetServerName()))
+477 {
+478 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+479 DoSplit(this->connectors[i].GetServerName().c_str());
+480 }
+481 has_been_netsplit = true;
+482 }
+483 if (this->connectors[i].BufferIsComplete())
+484 {
+485 this->connectors[i].ResetPing();
+486 while (this->connectors[i].BufferIsComplete())
+487 {
+488 std::string text = this->connectors[i].GetBuffer();
+489 if (text != '')
+490 {
+491 if ((text[0] == ':') && (text.find(' ') != std::string::npos))
+492 {
+493 std::string orig = text;
+494 log(DEBUG,'Original: %s',text.c_str());
+495 std::string sum = text.substr(1,text.find(' ')-1);
+496 text = text.substr(text.find(' ')+1,text.length());
+497 std::string possible_token = text.substr(1,text.find(' ')-1);
+498 if (possible_token.length() > 1)
+499 {
+500 sums.push_back('*');
+501 text = orig;
+502 log(DEBUG,'Non-mesh, non-tokenized string passed up the chain');
+503 }
+504 else
+505 {
+506 log(DEBUG,'Packet sum: '%s'',sum.c_str());
+507 if ((already_have_sum(sum)) && (sum != '*'))
+508 {
+509 // we don't accept dupes
+510 continue;
+511 }
+512 sums.push_back(sum.c_str());
+513 }
+514 }
+515 else sums.push_back('*');
+516 messages.push_back(text.c_str());
+517 strlcpy(recvhost,this->connectors[i].GetServerName().c_str(),160);
+518 log(DEBUG,'serverrec::RecvPacket() %d:%s->%s',pushed++,recvhost,text.c_str());
+519 }
+520 }
+521 return true;
+522 }
+523 }
+524 }
+525 }
+526 // nothing new yet -- message and host will be undefined
+527 return false;
+528 }
.fi
.SS "bool serverrec::SendPacket (char * message, const char * host)"
.PP
-Send a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. Definition at line 275 of file servers.cpp.
+Send a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. Definition at line 336 of file servers.cpp.
.PP
References ircd_connector::AddWriteBuf(), ircd_connector::CloseConnection(), connectors, DEBUG, FindHost(), ircd_connector::FlushWriteBuf(), ircd_connector::GetServerName(), ircd_connector::GetState(), ircd_connector::GetWriteError(), ircd_connector::SetState(), and STATE_DISCONNECTED.
.PP
Referenced by BeginLink(), and MeshCookie().
.PP
.nf
-276 {
-277 if ((!message) || (!sendhost))
-278 return true;
-279
-280 ircd_connector* cn = this->FindHost(sendhost);
-281
-282 if (!strchr(message,'\n'))
-283 {
-284 strlcat(message,'\n',MAXBUF);
-285 }
-286
-287 if (cn)
-288 {
-289 log(DEBUG,'main: serverrec::SendPacket() sent '%s' to %s',message,cn->GetServerName().c_str());
-290
-291 if (cn->GetState() == STATE_DISCONNECTED)
-292 {
-293 // fix: can only route one hop to avoid a loop
-294 if (strncmp(message,'R ',2))
-295 {
-296 log(DEBUG,'Not a double reroute');
-297 // this route is down, we must re-route the packet through an available point in the mesh.
-298 for (int k = 0; k < this->connectors.size(); k++)
-299 {
-300 log(DEBUG,'Check connector %d: %s',k,this->connectors[k].GetServerName().c_str());
-301 // search for another point in the mesh which can 'reach' where we want to go
-302 for (int m = 0; m < this->connectors[k].routes.size(); m++)
-303 {
-304 if (!strcasecmp(this->connectors[k].routes[m].c_str(),sendhost))
-305 {
-306 log(DEBUG,'Found alternative route for packet: %s',this->connectors[k].GetServerName().c_str());
-307 char buffer[MAXBUF];
-308 snprintf(buffer,MAXBUF,'R %s %s',sendhost,message);
-309 this->SendPacket(buffer,this->connectors[k].GetServerName().c_str());
-310 return true;
-311 }
-312 }
-313 }
-314 }
-315 char buffer[MAXBUF];
-316 snprintf(buffer,MAXBUF,'& %s',sendhost);
-317 WriteOpers('*** All connections to %s lost.',sendhost);
-318 NetSendToAllExcept(sendhost,buffer);
-319 DoSplit(sendhost);
-320 return false;
-321 }
-322
-323 // returns false if the packet could not be sent (e.g. target host down)
-324 if (!cn->AddWriteBuf(message))
-325 {
-326 // if we're here, there was an error pending, and the send cannot proceed
-327 log(DEBUG,'cn->AddWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
-328 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
-329 cn->CloseConnection();
-330 cn->SetState(STATE_DISCONNECTED);
-331 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
-332 // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)
-333 return this->SendPacket(message,sendhost);
-334 }
-335 if (!cn->FlushWriteBuf())
-336 {
-337 // if we're here the write() caused an error, we cannot proceed
-338 log(DEBUG,'cn->FlushWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
-339 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
-340 cn->CloseConnection();
-341 cn->SetState(STATE_DISCONNECTED);
-342 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
-343 // retry the packet along a new route so either arrival OR failure are gauranteed
-344 return this->SendPacket(message,sendhost);
-345 }
-346 return true;
-347 }
-348 }
+337 {
+338 if ((!message) || (!sendhost))
+339 return true;
+340
+341 ircd_connector* cn = this->FindHost(sendhost);
+342
+343 if (!strchr(message,'\n'))
+344 {
+345 strlcat(message,'\n',MAXBUF);
+346 }
+347
+348 if (cn)
+349 {
+350 log(DEBUG,'main: serverrec::SendPacket() sent '%s' to %s',message,cn->GetServerName().c_str());
+351
+352 if (cn->GetState() == STATE_DISCONNECTED)
+353 {
+354 // fix: can only route one hop to avoid a loop
+355 if (strncmp(message,'R ',2))
+356 {
+357 log(DEBUG,'Not a double reroute');
+358 // this route is down, we must re-route the packet through an available point in the mesh.
+359 for (int k = 0; k < this->connectors.size(); k++)
+360 {
+361 log(DEBUG,'Check connector %d: %s',k,this->connectors[k].GetServerName().c_str());
+362 // search for another point in the mesh which can 'reach' where we want to go
+363 for (int m = 0; m < this->connectors[k].routes.size(); m++)
+364 {
+365 if (!strcasecmp(this->connectors[k].routes[m].c_str(),sendhost))
+366 {
+367 log(DEBUG,'Found alternative route for packet: %s',this->connectors[k].GetServerName().c_str());
+368 char buffer[MAXBUF];
+369 snprintf(buffer,MAXBUF,'R %s %s',sendhost,message);
+370 this->SendPacket(buffer,this->connectors[k].GetServerName().c_str());
+371 return true;
+372 }
+373 }
+374 }
+375 }
+376 char buffer[MAXBUF];
+377 snprintf(buffer,MAXBUF,'& %s',sendhost);
+378 WriteOpers('*** All connections to %s lost.',sendhost);
+379 NetSendToAllExcept(sendhost,buffer);
+380 DoSplit(sendhost);
+381 return false;
+382 }
+383
+384 // returns false if the packet could not be sent (e.g. target host down)
+385 if (!cn->AddWriteBuf(message))
+386 {
+387 // if we're here, there was an error pending, and the send cannot proceed
+388 log(DEBUG,'cn->AddWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
+389 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
+390 cn->CloseConnection();
+391 cn->SetState(STATE_DISCONNECTED);
+392 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
+393 // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)
+394 return this->SendPacket(message,sendhost);
+395 }
+396 if (!cn->FlushWriteBuf())
+397 {
+398 // if we're here the write() caused an error, we cannot proceed
+399 log(DEBUG,'cn->FlushWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
+400 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
+401 cn->CloseConnection();
+402 cn->SetState(STATE_DISCONNECTED);
+403 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
+404 // retry the packet along a new route so either arrival OR failure are gauranteed
+405 return this->SendPacket(message,sendhost);
+406 }
+407 return true;
+408 }
+409 }
.fi
.SS "void serverrec::TerminateLink (char * targethost)"
.PP
-Terminate a link to 'targethost' by calling the \fBircd_connector::CloseConnection\fP method. Definition at line 229 of file servers.cpp.
+Terminate a link to 'targethost' by calling the \fBircd_connector::CloseConnection\fP method. Definition at line 234 of file servers.cpp.
.PP
.nf
-230 {
-231 // this locates the targethost in the serverrec::connectors vector of the class,
-232 // and terminates it by sending it an SQUIT token and closing its descriptor.
-233 // TerminateLink with a null string causes a terminate of ALL links
-234 }
+235 {
+236 // this locates the targethost in the serverrec::connectors vector of the class,
+237 // and terminates it by sending it an SQUIT token and closing its descriptor.
+238 // TerminateLink with a null string causes a terminate of ALL links
+239 }
.fi
.SH "Member Data Documentation"
.PP
@@ -591,7 +630,7 @@ Terminate a link to 'targethost' by calling the \fBircd_connector::CloseConnecti
.PP
With a serverrec, this is a list of all established server connections. Definition at line 81 of file servers.h.
.PP
-Referenced by AddIncoming(), BeginLink(), FindHost(), FlushWriteBuffers(), MeshCookie(), RecvPacket(), SendPacket(), and serverrec().
+Referenced by AddIncoming(), BeginLink(), FindHost(), FlushWriteBuffers(), IsRoutable(), MeshCookie(), RecvPacket(), SendPacket(), and serverrec().
.SS "char \fBserverrec::description\fP[MAXBUF]"
.PP
Description of the server. Definition at line 61 of file servers.h.
diff --git a/docs/man/man3/servers.cpp.3 b/docs/man/man3/servers.cpp.3
index 02500d311..bedaea1c4 100644
--- a/docs/man/man3/servers.cpp.3
+++ b/docs/man/man3/servers.cpp.3
@@ -1,4 +1,4 @@
-.TH "servers.cpp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -45,6 +45,9 @@ servers.cpp \-
.in +1c
.ti -1c
+.RI "bool \fBIsRoutable\fP (std::string servername)"
+.br
+.ti -1c
.RI "bool \fBalready_have_sum\fP (std::string sum)"
.br
.in -1c
@@ -58,6 +61,12 @@ servers.cpp \-
.RI "int \fBMaxConn\fP"
.br
.ti -1c
+.RI "\fBserverrec\fP * \fBme\fP [32]"
+.br
+.ti -1c
+.RI "bool \fBhas_been_netsplit\fP"
+.br
+.ti -1c
.RI "std::deque< std::string > \fBxsums\fP"
.br
.in -1c
@@ -65,42 +74,85 @@ servers.cpp \-
.PP
.SS "bool already_have_sum (std::string sum)"
.PP
-Definition at line 350 of file servers.cpp.
+Definition at line 411 of file servers.cpp.
.PP
References xsums.
.PP
Referenced by serverrec::RecvPacket().
.PP
.nf
-351 {
-352 for (int i = 0; i < xsums.size(); i++)
-353 {
-354 if (xsums[i] == sum)
-355 {
-356 return true;
-357 }
-358 }
-359 if (xsums.size() >= 128)
-360 {
-361 xsums.pop_front();
-362 }
-363 xsums.push_back(sum);
-364 return false;
-365 }
+412 {
+413 for (int i = 0; i < xsums.size(); i++)
+414 {
+415 if (xsums[i] == sum)
+416 {
+417 return true;
+418 }
+419 }
+420 if (xsums.size() >= 128)
+421 {
+422 xsums.pop_front();
+423 }
+424 xsums.push_back(sum);
+425 return false;
+426 }
+.fi
+.SS "bool IsRoutable (std::string servername)"
+.PP
+Definition at line 256 of file servers.cpp.
+.PP
+References serverrec::connectors, serverrec::FindHost(), ircd_connector::GetState(), me, and STATE_DISCONNECTED.
+.PP
+Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().
+.PP
+.nf
+257 {
+258 for (int x = 0; x < 32; x++) if (me[x])
+259 {
+260 ircd_connector* cn = me[x]->FindHost(servername.c_str());
+261 if (cn)
+262 {
+263 if (cn->GetState() == STATE_DISCONNECTED)
+264 {
+265 for (int k = 0; k < me[x]->connectors.size(); k++)
+266 {
+267 for (int m = 0; m < me[x]->connectors[k].routes.size(); m++)
+268 {
+269 if (!strcasecmp(me[x]->connectors[k].routes[m].c_str(),servername.c_str()))
+270 {
+271 return true;
+272 }
+273 }
+274 }
+275 return false;
+276 }
+277 else return true;
+278 }
+279 }
+280 return false;
+281 }
.fi
.SH "Variable Documentation"
.PP
+.SS "bool \fBhas_been_netsplit\fP"
+.PP
+Definition at line 42 of file servers.cpp.
+.PP
+Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().
.SS "int \fBMaxConn\fP"
.PP
Definition at line 38 of file servers.cpp.
.PP
Referenced by serverrec::CreateListener().
+.SS "\fBserverrec\fP* \fBme\fP[32]"
+.PP
+Definition at line 40 of file servers.cpp.
.SS "time_t \fBTIME\fP"
.PP
Definition at line 37 of file servers.cpp.
.SS "std::deque<std::string> \fBxsums\fP"
.PP
-Definition at line 40 of file servers.cpp.
+Definition at line 44 of file servers.cpp.
.PP
Referenced by already_have_sum().
.SH "Author"
diff --git a/docs/man/man3/servers.h.3 b/docs/man/man3/servers.h.3
index 19096a747..7a695dac2 100644
--- a/docs/man/man3/servers.h.3
+++ b/docs/man/man3/servers.h.3
@@ -1,4 +1,4 @@
-.TH "servers.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3
index 3299bba05..2f3412140 100644
--- a/docs/man/man3/std.3
+++ b/docs/man/man3/std.3
@@ -1,4 +1,4 @@
-.TH "std" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "std" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std_char_traits.3 b/docs/man/man3/std_char_traits.3
index b53703016..055db1ba0 100644
--- a/docs/man/man3/std_char_traits.3
+++ b/docs/man/man3/std_char_traits.3
@@ -1,4 +1,4 @@
-.TH "std::char_traits" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "std::char_traits" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3
index 7a868658d..e39d6505b 100644
--- a/docs/man/man3/ucrec.3
+++ b/docs/man/man3/ucrec.3
@@ -1,4 +1,4 @@
-.TH "ucrec" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ucrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3
index 427011fd8..5baa46954 100644
--- a/docs/man/man3/userrec.3
+++ b/docs/man/man3/userrec.3
@@ -1,4 +1,4 @@
-.TH "userrec" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "userrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3
index e8d42c52b..4afce53e5 100644
--- a/docs/man/man3/users.cpp.3
+++ b/docs/man/man3/users.cpp.3
@@ -1,4 +1,4 @@
-.TH "users.cpp" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.cpp" 3 "25 May 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 99912b9fe..3edfe95da 100644
--- a/docs/man/man3/users.h.3
+++ b/docs/man/man3/users.h.3
@@ -1,4 +1,4 @@
-.TH "users.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/xline.h.3 b/docs/man/man3/xline.h.3
index 3320bdcb6..d7fe8de4d 100644
--- a/docs/man/man3/xline.h.3
+++ b/docs/man/man3/xline.h.3
@@ -1,4 +1,4 @@
-.TH "xline.h" 3 "24 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "xline.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html
index 0a0622e75..151070ef4 100644
--- a/docs/module-doc/annotated.html
+++ b/docs/module-doc/annotated.html
@@ -49,7 +49,7 @@
<tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr>
<tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index c9c396f9d..7800ecbef 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -46,16 +46,16 @@
00055
00056 <span class="keyword">public</span>:
00057
-00064 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a0">Extend</a>(std::string key, <span class="keywordtype">char</span>* p);
-00065
-00071 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a1">Shrink</a>(std::string key);
-00072
-00077 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#a2">GetExt</a>(std::string key);
-00078 };
-00079
-00080 <span class="preprocessor">#endif</span>
-00081 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+00069 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a0">Extend</a>(std::string key, <span class="keywordtype">char</span>* p);
+00070
+00080 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a1">Shrink</a>(std::string key);
+00081
+00088 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#a2">GetExt</a>(std::string key);
+00089 };
+00090
+00091 <span class="preprocessor">#endif</span>
+00092 <span class="preprocessor"></span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index 0e7108ff0..d891c134e 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -61,7 +61,7 @@ This graph shows which files directly or indirectly include this file:<p><center
Definition at line <a class="el" href="base_8h-source.html#l00025">25</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:12 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:16 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index 0d5733feb..8ddbf78c2 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -229,7 +229,7 @@
00222 {
00223 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#o2">internal_userlist</a>;
00224 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index aefb0e58e..edcf07053 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -578,7 +578,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a34">me</a>[32]
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
</table>
</td>
</tr>
@@ -593,7 +593,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a>
<p>
<p>
-Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td>
+Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>. </td>
</tr>
</table>
<a name="a1" doxytag="channels.cpp::MODCOUNT"></a><p>
@@ -1009,7 +1011,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a>
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00101">101</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="channels.cpp::WHOWAS_MAX"></a><p>
@@ -1060,7 +1062,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a>
Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:29 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index d705ff120..c2b154170 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -146,7 +146,7 @@
00238
00239 <span class="preprocessor">#endif</span>
00240 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index a9e550bcc..42ec4d956 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -433,7 +433,7 @@ Holds a complete invite list.
Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:33 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:25 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 13330b1fb..331432bba 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classAdmin.html#o0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classAdmin.html#o2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:29 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:54 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 3f2929f5f..b66e3d7cc 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -163,7 +163,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:29 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:54 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index 7fa50962d..798efb76d 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:31 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:55 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index ce1134122..8c060c6a0 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00052">52</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:31 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:55 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 50dfb9871..607436a2b 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -24,7 +24,7 @@
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a8">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:43 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:02 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 12a432ec7..613a02068 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -778,7 +778,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00819">ConfigReader(
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:43 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:02 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index bda02a7cf..3d5a25556 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o6">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:45 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:03 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html
index 0257db570..0913bce2d 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -355,7 +355,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:03 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html
index 866b52f0c..066814717 100644
--- a/docs/module-doc/classDNS-members.html
+++ b/docs/module-doc/classDNS-members.html
@@ -33,7 +33,7 @@
<tr class="memlist"><td><a class="el" href="classDNS.html#a8">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#r2">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#a2">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html
index d5f448884..d6f0f3093 100644
--- a/docs/module-doc/classDNS.html
+++ b/docs/module-doc/classDNS.html
@@ -891,7 +891,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html
index b160a75b9..2f5df8195 100644
--- a/docs/module-doc/classELine-members.html
+++ b/docs/module-doc/classELine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:53 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:07 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html
index 379a397c3..53ba096df 100644
--- a/docs/module-doc/classELine.html
+++ b/docs/module-doc/classELine.html
@@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:07 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html
index 9db6b9ec7..879140601 100644
--- a/docs/module-doc/classEvent-members.html
+++ b/docs/module-doc/classEvent-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classEvent.html#a4">Send</a>()</td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classEvent.html#p1">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:08 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html
index 00ca01ea3..3cf224015 100644
--- a/docs/module-doc/classEvent.html
+++ b/docs/module-doc/classEvent.html
@@ -356,7 +356,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00285">GetSource()</
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:08 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index fcb3b5941..0346953a1 100644
--- a/docs/module-doc/classExemptItem-members.html
+++ b/docs/module-doc/classExemptItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:57 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:09 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html
index c8f2a76b9..81ac0d79a 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:09 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index 7a77906be..5f80b4599 100644
--- a/docs/module-doc/classExtMode-members.html
+++ b/docs/module-doc/classExtMode-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classExtMode.html#o2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtMode.html#o1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:01 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html
index 14e8177ac..3c60e86ca 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -253,7 +253,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:01 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index b1b4d8bd6..31023dce7 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:59 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:11 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html
index 8e3371ba5..393ef362b 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -86,7 +86,15 @@ Definition at line <a class="el" href="base_8h-source.html#l00050">50</a> of fil
<p>
Extend an Extensible class.
<p>
-You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, <a class="el" href="classExtensible.html#a0">Extensible::Extend</a> will return false in this case. On successful extension, Extend returns true. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data </td></tr>
+ <tr><td valign=top><em>p</em>&nbsp;</td><td>This parameter is a pointer to any data you wish to associate with the object</td></tr>
+ </table>
+</dl>
+You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, <a class="el" href="classExtensible.html#a0">Extensible::Extend</a> will return false in this case.<p>
+<dl compact><dt><b>Returns:</b></dt><dd>Returns true on success, false if otherwise</dd></dl>
+ </td>
</tr>
</table>
<a name="a2" doxytag="Extensible::GetExt"></a><p>
@@ -117,7 +125,13 @@ You must provide a key to store the data as, and a void* to the data (typedef Vo
<p>
Get an extension item.
<p>
-You must provide a key name, which is case sensitive. If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.</dd></dl>
+ </td>
</tr>
</table>
<a name="a1" doxytag="Extensible::Shrink"></a><p>
@@ -148,7 +162,14 @@ You must provide a key name, which is case sensitive. If you provide a non-exist
<p>
Shrink an Extensible class.
<p>
-You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false. Returns true on success. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data</td></tr>
+ </table>
+</dl>
+You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false.<p>
+<dl compact><dt><b>Returns:</b></dt><dd>Returns true on success.</dd></dl>
+ </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
@@ -180,7 +201,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of fil
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:59 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:11 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index 9cc785b5b..2118f1601 100644
--- a/docs/module-doc/classFileReader-members.html
+++ b/docs/module-doc/classFileReader-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:03 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html
index c8688bd2f..0a4a586d9 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -367,7 +367,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00988">Exists()</a>,
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:03 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html
index 8d1913346..3c7d1564d 100644
--- a/docs/module-doc/classGLine-members.html
+++ b/docs/module-doc/classGLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:06 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html
index 1d017d2e4..bde170d01 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:06 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index 6edb9175b..4b7fa095b 100644
--- a/docs/module-doc/classHostItem-members.html
+++ b/docs/module-doc/classHostItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:08 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:15 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html
index 77389e5d9..9bafe429b 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -185,7 +185,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00039">39</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:07 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:15 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index d9845965c..ff6fb14c6 100644
--- a/docs/module-doc/classInviteItem-members.html
+++ b/docs/module-doc/classInviteItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:11 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:17 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html
index f4b445ab3..a6971fbd0 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00068">68</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:11 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:17 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 5c24252c7..c46224f90 100644
--- a/docs/module-doc/classInvited-members.html
+++ b/docs/module-doc/classInvited-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classInvited.html#o0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:09 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:16 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html
index 86dd2a2de..c7862516d 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -58,7 +58,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00109">userrec::Invite
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:09 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:16 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 18020f5b5..c3114c5a9 100644
--- a/docs/module-doc/classKLine-members.html
+++ b/docs/module-doc/classKLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:17 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:21 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html
index 96bca5fc8..077984a7e 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:17 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:21 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index b2bc706b6..a844d0c28 100644
--- a/docs/module-doc/classModeParameter-members.html
+++ b/docs/module-doc/classModeParameter-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:19 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:22 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html
index fa1b317cd..4a9caf313 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -116,7 +116,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00144">chanrec::Set
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:19 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:22 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html
index 644a0423d..a11935236 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -65,7 +65,7 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a18">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:22 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html
index 0403b27ad..ba07ed41e 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -2781,7 +2781,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:22 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index 953c59428..e21c7094a 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:24 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index ea7ba7be9..579ab7a69 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -136,7 +136,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:24 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html
index 6ec1bc00a..1eb686549 100644
--- a/docs/module-doc/classModuleMessage-members.html
+++ b/docs/module-doc/classModuleMessage-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleMessage.html#a0">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:25 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:25 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html
index da075371a..37a3e2c5e 100644
--- a/docs/module-doc/classModuleMessage.html
+++ b/docs/module-doc/classModuleMessage.html
@@ -67,7 +67,7 @@ Implemented in <a class="el" href="classRequest.html#a4">Request</a>, and <a cla
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:25 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:25 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html
index 2a1dd1db2..6ea682d00 100644
--- a/docs/module-doc/classQLine-members.html
+++ b/docs/module-doc/classQLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:28 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:27 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html
index 931722a3f..c214f8ad9 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:28 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:27 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html
index db48b74fd..7cc9d31eb 100644
--- a/docs/module-doc/classRequest-members.html
+++ b/docs/module-doc/classRequest-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classRequest.html#a4">Send</a>()</td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classRequest.html#p1">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:30 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:28 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html
index 82da97903..5896842fd 100644
--- a/docs/module-doc/classRequest.html
+++ b/docs/module-doc/classRequest.html
@@ -362,7 +362,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00256">GetSource()</
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:30 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:28 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html
index 63c37a2bf..9e8157598 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -70,7 +70,7 @@
<tr class="memlist"><td><a class="el" href="classServer.html#a39">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:30 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index 35044dac0..bac80198f 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -3253,7 +3253,7 @@ References <a class="el" href="users_8cpp-source.html#l00224">userrec::ClearBuff
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:30 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html
index 5aa753749..255b8eac6 100644
--- a/docs/module-doc/classVersion-members.html
+++ b/docs/module-doc/classVersion-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classVersion.html#o2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:49 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index 74697af5a..438c9bf99 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -227,7 +227,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html
index 448545914..f921681a4 100644
--- a/docs/module-doc/classWhoWasUser-members.html
+++ b/docs/module-doc/classWhoWasUser-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o0">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o5">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o6">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html
index c36b0662c..731ea427c 100644
--- a/docs/module-doc/classWhoWasUser.html
+++ b/docs/module-doc/classWhoWasUser.html
@@ -205,7 +205,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00335">335</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index ef40a92bc..ab0f86341 100644
--- a/docs/module-doc/classXLine-members.html
+++ b/docs/module-doc/classXLine-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:53 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:41 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 164493759..e4f9f29e7 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -180,7 +180,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:41 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index 383065ee5..9e35412e8 100644
--- a/docs/module-doc/classZLine-members.html
+++ b/docs/module-doc/classZLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index b407cf4c6..2127fb1d9 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index 35411d7df..d7417d6d4 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -33,7 +33,7 @@
<tr class="memlist"><td><a class="el" href="classchanrec.html#o5">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classchanrec.html#a9">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index e44480b41..27b3373df 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -896,7 +896,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index 526b1989c..0ffcc5106 100644
--- a/docs/module-doc/classclassbase-members.html
+++ b/docs/module-doc/classclassbase-members.html
@@ -9,7 +9,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:38 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:59 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index c4a92ad4e..524bdad33 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -150,7 +150,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>.
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:59 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html
index a17af276c..85159b26f 100644
--- a/docs/module-doc/classcommand__t-members.html
+++ b/docs/module-doc/classcommand__t-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:41 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:00 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html
index 31be9ae77..d80962041 100644
--- a/docs/module-doc/classcommand__t.html
+++ b/docs/module-doc/classcommand__t.html
@@ -235,7 +235,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:41 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:00 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html
index da1039151..d6e51a9b9 100644
--- a/docs/module-doc/classconnection-members.html
+++ b/docs/module-doc/classconnection-members.html
@@ -27,7 +27,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:49 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html
index 59d9ff2dd..464af6729 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -246,7 +246,7 @@ File descriptor of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00266">266</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>, <a class="el" href="modules_8cpp-source.html#l00916">ConfigReader::DumpErrors()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00074">userrec::ReadData()</a>, <a class="el" href="modules_8cpp-source.html#l00462">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>, <a class="el" href="modules_8cpp-source.html#l00916">ConfigReader::DumpErrors()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00074">userrec::ReadData()</a>, <a class="el" href="modules_8cpp-source.html#l00462">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o7" doxytag="connection::haspassed"></a><p>
@@ -386,7 +386,7 @@ Time the connection was last pinged.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00308">308</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o13" doxytag="connection::nping"></a><p>
@@ -442,7 +442,7 @@ For a serverrec this is the current listening port of the serverrec object.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00300">300</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="connection::registered"></a><p>
@@ -498,12 +498,12 @@ Time the connection was created, set in the constructor.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00312">312</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html
index 4660246ac..fc63ba5a3 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -26,7 +26,7 @@
</td><td><a class="el" href="classModeParameter.html">ModeParameter</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classServer.html">Server</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;Z&nbsp;&nbsp;</div></td></tr></table>
</td></tr><tr><td><a class="el" href="classconnection.html">connection</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classGLine.html">GLine</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModule.html">Module</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classserverrec.html">serverrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classZLine.html">ZLine</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;D&nbsp;&nbsp;</div></td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;H&nbsp;&nbsp;</div></td></tr></table>
-</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html
index f11fa4e85..c38be9e10 100644
--- a/docs/module-doc/classircd__connector-members.html
+++ b/docs/module-doc/classircd__connector-members.html
@@ -55,7 +55,7 @@
<tr class="memlist"><td><a class="el" href="classircd__connector.html#r5">version</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#r7">WriteError</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:15 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:20 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html
index 052631803..e57bf5159 100644
--- a/docs/module-doc/classircd__connector.html
+++ b/docs/module-doc/classircd__connector.html
@@ -256,7 +256,7 @@ Adds data to the connection's sendQ to be flushed later Fails if there is an err
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="ircd_connector::BufferIsComplete"></a><p>
@@ -378,7 +378,7 @@ Close the connection by calling close() on its file descriptor This function cal
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a22" doxytag="ircd_connector::FlushWriteBuf"></a><p>
@@ -410,7 +410,7 @@ Flushes as much of the data from the buffer as possible, and advances the queue
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a18" doxytag="ircd_connector::GetBuffer"></a><p>
@@ -562,7 +562,7 @@ Return the servername on this established connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a11" doxytag="ircd_connector::GetServerPort"></a><p>
@@ -624,7 +624,7 @@ Get the state flags for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="ircd_connector::GetVersionString"></a><p>
@@ -686,7 +686,7 @@ Gets the error string for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a25" doxytag="ircd_connector::HasBufferedOutput"></a><p>
@@ -758,7 +758,7 @@ Create an outbound connection to a listening socket.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a27" doxytag="ircd_connector::ResetPing"></a><p>
@@ -852,7 +852,7 @@ Set the file descriptor for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>. </td>
</tr>
</table>
<a name="d0" doxytag="ircd_connector::SetHostAddress"></a><p>
@@ -934,7 +934,7 @@ Set both the host and the port in one operation for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="ircd_connector::SetServerName"></a><p>
@@ -967,7 +967,7 @@ Set the server name of this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a12" doxytag="ircd_connector::SetServerPort"></a><p>
@@ -1031,7 +1031,7 @@ Set the state flags for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a19" doxytag="ircd_connector::SetVersionString"></a><p>
@@ -1464,7 +1464,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00094">94</a>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:15 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:19 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html
index b11b9cdf4..8a98d990b 100644
--- a/docs/module-doc/classserverrec-members.html
+++ b/docs/module-doc/classserverrec-members.html
@@ -51,7 +51,7 @@
<tr class="memlist"><td><a class="el" href="classserverrec.html#o6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:39 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:33 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html
index 3d7dc51ec..9ebee0578 100644
--- a/docs/module-doc/classserverrec.html
+++ b/docs/module-doc/classserverrec.html
@@ -131,23 +131,23 @@ Constructor.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00042">42</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00046">46</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00308">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00312">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
-<div class="fragment"><pre>00043 {
-00044 strlcpy(name,<span class="stringliteral">""</span>,256);
-00045 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
-00046 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00047 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
-00048 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00049 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00050 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00052 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00053 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
-00054 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00055 }
+<div class="fragment"><pre>00047 {
+00048 strlcpy(name,<span class="stringliteral">""</span>,256);
+00049 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
+00050 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00051 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
+00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
+00055 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00057 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
+00058 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00059 }
</pre></div> </td>
</tr>
</table>
@@ -196,23 +196,23 @@ Constructor which initialises some of the main variables.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00062">62</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00066">66</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00308">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00312">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
-<div class="fragment"><pre>00063 {
-00064 strlcpy(name,n,256);
-00065 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00066 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
-00067 <a class="code" href="classserverrec.html#o6">version</a> = ver;
-00068 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00069 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00070 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
-00071 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00072 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00073 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
-00074 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00075 }
+<div class="fragment"><pre>00067 {
+00068 strlcpy(name,n,256);
+00069 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00070 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
+00071 <a class="code" href="classserverrec.html#o6">version</a> = ver;
+00072 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00073 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00074 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
+00075 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00076 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00077 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
+00078 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00079 }
</pre></div> </td>
</tr>
</table>
@@ -245,10 +245,10 @@ Destructor.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00058">58</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00062">62</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-<div class="fragment"><pre>00059 {
-00060 }
+<div class="fragment"><pre>00063 {
+00064 }
</pre></div> </td>
</tr>
</table>
@@ -298,30 +298,30 @@ Add an incoming connection to the connection pool.
<p>
(reserved for core use)
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00207">207</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00212">212</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="classircd__connector.html#a5">ircd_connector::SetDescriptor()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00038">STATE_NOAUTH_INBOUND</a>.
<p>
-<div class="fragment"><pre>00208 {
-00209 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00210
-00211 <span class="comment">// targethost has been turned into an ip...</span>
-00212 <span class="comment">// we dont want this as the server name.</span>
-00213 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
-00214 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
-00215 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
-00216 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
-00217 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
-00218 <span class="keywordtype">int</span> sendbuf = 32768;
-00219 <span class="keywordtype">int</span> recvbuf = 32768;
-00220 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00221 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00222 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
-00223 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
-00224 log(DEBUG,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
-00225 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00227 }
+<div class="fragment"><pre>00213 {
+00214 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00215
+00216 <span class="comment">// targethost has been turned into an ip...</span>
+00217 <span class="comment">// we dont want this as the server name.</span>
+00218 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
+00219 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
+00220 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
+00221 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
+00222 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
+00223 <span class="keywordtype">int</span> sendbuf = 32768;
+00224 <span class="keywordtype">int</span> recvbuf = 32768;
+00225 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00226 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
+00227 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
+00228 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
+00229 log(DEBUG,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
+00230 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00232 }
</pre></div> </td>
</tr>
</table>
@@ -382,45 +382,47 @@ Begin an outbound link to another ircd at targethost.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00138">138</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00142">142</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
<p>
-<div class="fragment"><pre>00139 {
-00140 <span class="keywordtype">char</span> connect[MAXBUF];
-00141
-00142 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00143 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
-00144
+<div class="fragment"><pre>00143 {
+00144 <span class="keywordtype">char</span> connect[MAXBUF];
00145
-00146 <span class="keywordflow">if</span> (cn)
-00147 {
-00148 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
-00149 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00150 }
-00151
-00152
-00153 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00154 {
-00155 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00156 {
-00157 <span class="comment">// targethost has been turned into an ip...</span>
-00158 <span class="comment">// we dont want this as the server name.</span>
-00159 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00160 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
-00161 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
-00162 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00163 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00164 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00165 }
-00166 <span class="keywordflow">else</span>
-00167 {
-00168 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00169 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
-00170 }
-00171 }
-00172 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00173 }
+00146 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00147 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
+00148
+00149
+00150 <span class="keywordflow">if</span> (cn)
+00151 {
+00152 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
+00153 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00154 }
+00155
+00156
+00157 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00158 {
+00159 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00160 {
+00161 <span class="comment">// targethost has been turned into an ip...</span>
+00162 <span class="comment">// we dont want this as the server name.</span>
+00163 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00164 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
+00165 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
+00166 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00167 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00168 <span class="comment">// this packet isn't actually sent until the socket connects -- the STATE_NOAUTH_OUTBOUND state</span>
+00169 <span class="comment">// queues outbound data until the socket is polled as writeable (e.g. the connection is established)</span>
+00170 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
+00171 }
+00172 <span class="keywordflow">else</span>
+00173 {
+00174 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00175 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
</pre></div> </td>
</tr>
</table>
@@ -463,68 +465,68 @@ Create a listening socket on 'host' using port number 'p'.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00077">77</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00081">81</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00038">MaxConn</a>, and <a class="el" href="connection_8h-source.html#l00300">connection::port</a>.
<p>
-<div class="fragment"><pre>00078 {
-00079 sockaddr_in host_address;
-00080 <span class="keywordtype">int</span> flags;
-00081 in_addr addy;
-00082 <span class="keywordtype">int</span> on = 0;
-00083 <span class="keyword">struct </span>linger linger = { 0 };
-00084
-00085 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00086
-00087 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
-00088 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
-00089 {
-00090 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00091 }
-00092
-00093 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
-00094 linger.l_onoff = 1;
-00095 linger.l_linger = 1;
-00096 setsockopt(fd,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
-00097
-00098 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
-00099 <span class="comment">// to get them on linux.</span>
-00100 <span class="keywordtype">int</span> sendbuf = 32768;
-00101 <span class="keywordtype">int</span> recvbuf = 32768;
-00102 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00103 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00104
-00105 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
-00106
-00107 host_address.sin_family = AF_INET;
+<div class="fragment"><pre>00082 {
+00083 sockaddr_in host_address;
+00084 <span class="keywordtype">int</span> flags;
+00085 in_addr addy;
+00086 <span class="keywordtype">int</span> on = 0;
+00087 <span class="keyword">struct </span>linger linger = { 0 };
+00088
+00089 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00090
+00091 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+00092 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
+00093 {
+00094 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00095 }
+00096
+00097 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
+00098 linger.l_onoff = 1;
+00099 linger.l_linger = 1;
+00100 setsockopt(fd,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
+00101
+00102 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
+00103 <span class="comment">// to get them on linux.</span>
+00104 <span class="keywordtype">int</span> sendbuf = 32768;
+00105 <span class="keywordtype">int</span> recvbuf = 32768;
+00106 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00107 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
00108
-00109 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
-00110 {
-00111 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
-00112 }
-00113 <span class="keywordflow">else</span>
+00109 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
+00110
+00111 host_address.sin_family = AF_INET;
+00112
+00113 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
00114 {
-00115 inet_aton(newhost,&amp;addy);
-00116 host_address.sin_addr = addy;
-00117 }
-00118
-00119 host_address.sin_port = htons(p);
-00120
-00121 <span class="keywordflow">if</span> (bind(fd,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
-00122 {
-00123 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00124 }
-00125
-00126 <span class="comment">// make the socket non-blocking</span>
-00127 flags = fcntl(fd, F_GETFL, 0);
-00128 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
+00115 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
+00116 }
+00117 <span class="keywordflow">else</span>
+00118 {
+00119 inet_aton(newhost,&amp;addy);
+00120 host_address.sin_addr = addy;
+00121 }
+00122
+00123 host_address.sin_port = htons(p);
+00124
+00125 <span class="keywordflow">if</span> (bind(fd,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
+00126 {
+00127 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00128 }
00129
-00130 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00131
-00132 listen(this-&gt;fd, MaxConn);
+00130 <span class="comment">// make the socket non-blocking</span>
+00131 flags = fcntl(fd, F_GETFL, 0);
+00132 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
00133
-00134 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00135 }
+00134 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00135
+00136 listen(this-&gt;fd, MaxConn);
+00137
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
</pre></div> </td>
</tr>
</table>
@@ -558,22 +560,22 @@ Find the <a class="el" href="classircd__connector.html">ircd_connector</a> oject
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00237">237</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00242">242</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>.
-<p>
-<div class="fragment"><pre>00238 {
-00239 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00240 {
-00241 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
-00242 {
-00243 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
-00244 }
-00245 }
-00246 <span class="keywordflow">return</span> NULL;
-00247 }
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>.
+<p>
+<div class="fragment"><pre>00243 {
+00244 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00245 {
+00246 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
+00247 {
+00248 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
+00249 }
+00250 }
+00251 <span class="keywordflow">return</span> NULL;
+00252 }
</pre></div> </td>
</tr>
</table>
@@ -606,34 +608,60 @@ Flushes all data waiting to be written for all of this server's connections.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00249">249</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-<div class="fragment"><pre>00250 {
-00251 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00252 {
-00253 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00254 {
-00255 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CheckPing())
-00256 {
-00257 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00258 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00259 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00260 }
-00261 }
-00262 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].HasBufferedOutput())
-00263 {
-00264 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].FlushWriteBuf())
-00265 {
-00266 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00267 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetWriteError().c_str());
-00268 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00269 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00270 }
-00271 }
-00272 }
-00273 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00284">284</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="servers_8cpp-source.html#l00042">has_been_netsplit</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, <a class="el" href="connection_8h-source.html#l00038">STATE_NOAUTH_INBOUND</a>, <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>, and <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>.
+<p>
+<div class="fragment"><pre>00285 {
+00286 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00287 {
+00288 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00289 <span class="keywordflow">if</span> ((this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() == <a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].age+30))
+00290 {
+00291 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00292 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00294 <span class="keywordflow">return</span>;
+00295 }
+00296 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetState() == <a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;connectors[i].age+30))
+00297 {
+00298 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00299 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00300 <span class="keywordflow">return</span>;
+00301 }
+00302 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00303 {
+00304 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 this-&gt;connectors[i].CloseConnection();
+00308 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00309 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00310 {
+00311 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00312 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00313 }
+00314 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00315 }
+00316 }
+00317 <span class="keywordflow">if</span> (this-&gt;connectors[i].HasBufferedOutput())
+00318 {
+00319 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00320 {
+00321 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00322 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;connectors[i].GetWriteError().c_str());
+00323 this-&gt;connectors[i].CloseConnection();
+00324 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00325 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00326 {
+00327 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00328 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00329 }
+00330 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00331 }
+00332 }
+00333 }
+00334 }
</pre></div> </td>
</tr>
</table>
@@ -688,39 +716,38 @@ Begin an outbound mesh link to another ircd on a network you are already an auth
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00176">176</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00036">STATE_CONNECTED</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
-<p>
-<div class="fragment"><pre>00177 {
-00178 <span class="keywordtype">char</span> connect[MAXBUF];
-00179
-00180 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00181
-00182 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
-00183
-00184 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00185 {
-00186 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00187 {
-00188 <span class="comment">// targethost has been turned into an ip...</span>
-00189 <span class="comment">// we dont want this as the server name.</span>
-00190 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00191 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
-00192 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
-00193 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00194 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_CONNECTED);
-00195 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00196 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00197 }
-00198 <span class="keywordflow">else</span>
-00199 {
-00200 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00201 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+Definition at line <a class="el" href="servers_8cpp-source.html#l00182">182</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
+<p>
+<div class="fragment"><pre>00183 {
+00184 <span class="keywordtype">char</span> connect[MAXBUF];
+00185
+00186 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00187
+00188 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
+00189
+00190 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00191 {
+00192 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00193 {
+00194 <span class="comment">// targethost has been turned into an ip...</span>
+00195 <span class="comment">// we dont want this as the server name.</span>
+00196 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00197 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
+00198 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
+00199 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00200 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00201 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
00202 }
-00203 }
-00204 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00205 }
+00203 <span class="keywordflow">else</span>
+00204 {
+00205 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00206 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00207 }
+00208 }
+00209 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00210 }
</pre></div> </td>
</tr>
</table>
@@ -769,95 +796,107 @@ Returns the next available packet and returns true if data is available.
<p>
Writes the servername the data came from to 'host'. If no data is available this function returns false. This function will automatically close broken links and reroute pathways, generating split messages on the network.
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00370">370</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8cpp-source.html#l00350">already_have_sum()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-<div class="fragment"><pre>00371 {
-00372 <span class="keywordtype">char</span> data[65536];
-00373 memset(data, 0, 65536);
-00374 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00375 {
-00376 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00377 {
-00378 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00379 <span class="keywordtype">int</span> rcvsize = 0;
-00380
-00381 <span class="comment">// check if theres any data on this socket</span>
-00382 <span class="comment">// if not, continue onwards to the next.</span>
-00383 pollfd polls;
-00384 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
-00385 polls.events = POLLIN;
-00386 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
-00387 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
-00388
-00389 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
-00390 data[rcvsize] = <span class="charliteral">'\0'</span>;
-00391 <span class="keywordflow">if</span> (rcvsize == -1)
-00392 {
-00393 <span class="keywordflow">if</span> (errno != EAGAIN)
-00394 {
-00395 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
-00396 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00397 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00398 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00399 }
-00400 }
-00401 <span class="keywordtype">int</span> pushed = 0;
-00402 <span class="keywordflow">if</span> (rcvsize &gt; 0)
-00403 {
-00404 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
-00405 {
-00406 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00407 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00408 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00409 }
-00410 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00411 {
-00412 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
-00413 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00414 {
-00415 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
-00416 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
-00417 {
-00418 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
-00419 {
-00420 std::string orig = text;
-00421 log(DEBUG,<span class="stringliteral">"Original: %s"</span>,text.c_str());
-00422 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00423 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
-00424 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00425 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
-00426 {
-00427 sums.push_back(<span class="stringliteral">"*"</span>);
-00428 text = orig;
-00429 log(DEBUG,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
-00430 }
-00431 <span class="keywordflow">else</span>
-00432 {
-00433 log(DEBUG,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
-00434 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
-00435 {
-00436 <span class="comment">// we don't accept dupes</span>
-00437 <span class="keywordflow">continue</span>;
-00438 }
-00439 sums.push_back(sum.c_str());
-00440 }
-00441 }
-00442 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
-00443 messages.push_back(text.c_str());
-00444 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
-00445 log(DEBUG,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
-00446 }
-00447 }
-00448 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00449 }
-00450 }
-00451 }
-00452 }
-00453 <span class="comment">// nothing new yet -- message and host will be undefined</span>
-00454 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00455 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00431">431</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8cpp-source.html#l00411">already_have_sum()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00042">has_been_netsplit</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+<div class="fragment"><pre>00432 {
+00433 <span class="keywordtype">char</span> data[65536];
+00434 memset(data, 0, 65536);
+00435 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00436 {
+00437 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00438 {
+00439 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00440 <span class="keywordtype">int</span> rcvsize = 0;
+00441
+00442 <span class="comment">// check if theres any data on this socket</span>
+00443 <span class="comment">// if not, continue onwards to the next.</span>
+00444 pollfd polls;
+00445 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00446 polls.events = POLLIN;
+00447 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00448 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00449
+00450 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00451 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00452 <span class="keywordflow">if</span> (rcvsize == -1)
+00453 {
+00454 <span class="keywordflow">if</span> (errno != EAGAIN)
+00455 {
+00456 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00457 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00458 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00459 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00460 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00461 {
+00462 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00463 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00464 }
+00465 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00466 }
+00467 }
+00468 <span class="keywordtype">int</span> pushed = 0;
+00469 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00470 {
+00471 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00472 {
+00473 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00474 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00475 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00476 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00477 {
+00478 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00479 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00480 }
+00481 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00482 }
+00483 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00484 {
+00485 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00486 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00487 {
+00488 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00489 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00490 {
+00491 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00492 {
+00493 std::string orig = text;
+00494 log(DEBUG,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00495 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00496 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00497 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00498 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00499 {
+00500 sums.push_back(<span class="stringliteral">"*"</span>);
+00501 text = orig;
+00502 log(DEBUG,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00503 }
+00504 <span class="keywordflow">else</span>
+00505 {
+00506 log(DEBUG,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00507 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
+00508 {
+00509 <span class="comment">// we don't accept dupes</span>
+00510 <span class="keywordflow">continue</span>;
+00511 }
+00512 sums.push_back(sum.c_str());
+00513 }
+00514 }
+00515 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00516 messages.push_back(text.c_str());
+00517 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00518 log(DEBUG,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
+00519 }
+00520 }
+00521 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00522 }
+00523 }
+00524 }
+00525 }
+00526 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00527 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00528 }
</pre></div> </td>
</tr>
</table>
@@ -900,85 +939,85 @@ Send a message to a server by name, if the server is unavailable directly route
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00275">275</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="classircd__connector.html#a21">ircd_connector::AddWriteBuf()</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector::CloseConnection()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="classircd__connector.html#a22">ircd_connector::FlushWriteBuf()</a>, <a class="el" href="classircd__connector.html#a2">ircd_connector::GetServerName()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="classircd__connector.html#a24">ircd_connector::GetWriteError()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">MeshCookie()</a>.
-<p>
-<div class="fragment"><pre>00276 {
-00277 <span class="keywordflow">if</span> ((!message) || (!sendhost))
-00278 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00279
-00280 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
-00281
-00282 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
-00283 {
-00284 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
-00285 }
-00286
-00287 <span class="keywordflow">if</span> (cn)
-00288 {
-00289 log(DEBUG,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00290
-00291 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00292 {
-00293 <span class="comment">// fix: can only route one hop to avoid a loop</span>
-00294 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
-00295 {
-00296 log(DEBUG,<span class="stringliteral">"Not a double reroute"</span>);
-00297 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
-00298 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
-00299 {
-00300 log(DEBUG,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
-00301 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
-00302 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
-00303 {
-00304 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
-00305 {
-00306 log(DEBUG,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
-00307 <span class="keywordtype">char</span> buffer[MAXBUF];
-00308 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
-00309 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
-00310 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00311 }
-00312 }
-00313 }
-00314 }
-00315 <span class="keywordtype">char</span> buffer[MAXBUF];
-00316 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
-00317 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
-00318 NetSendToAllExcept(sendhost,buffer);
-00319 DoSplit(sendhost);
-00320 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00321 }
-00322
-00323 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00324 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
-00325 {
-00326 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
-00327 log(DEBUG,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00328 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00329 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00330 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00331 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00332 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
-00333 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00334 }
-00335 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
-00336 {
-00337 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00338 log(DEBUG,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00339 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00340 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00341 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00342 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00343 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
-00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00345 }
-00346 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00347 }
-00348 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00336">336</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="classircd__connector.html#a21">ircd_connector::AddWriteBuf()</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector::CloseConnection()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="classircd__connector.html#a22">ircd_connector::FlushWriteBuf()</a>, <a class="el" href="classircd__connector.html#a2">ircd_connector::GetServerName()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="classircd__connector.html#a24">ircd_connector::GetWriteError()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">MeshCookie()</a>.
+<p>
+<div class="fragment"><pre>00337 {
+00338 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00339 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00340
+00341 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00342
+00343 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00344 {
+00345 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00346 }
+00347
+00348 <span class="keywordflow">if</span> (cn)
+00349 {
+00350 log(DEBUG,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00351
+00352 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00353 {
+00354 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00355 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00356 {
+00357 log(DEBUG,<span class="stringliteral">"Not a double reroute"</span>);
+00358 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00359 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00360 {
+00361 log(DEBUG,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
+00362 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00363 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00364 {
+00365 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00366 {
+00367 log(DEBUG,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
+00368 <span class="keywordtype">char</span> buffer[MAXBUF];
+00369 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00370 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00371 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00372 }
+00373 }
+00374 }
+00375 }
+00376 <span class="keywordtype">char</span> buffer[MAXBUF];
+00377 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00378 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00379 NetSendToAllExcept(sendhost,buffer);
+00380 DoSplit(sendhost);
+00381 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00382 }
+00383
+00384 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00385 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00386 {
+00387 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00388 log(DEBUG,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00389 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00390 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00391 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00392 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00393 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00394 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00395 }
+00396 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00397 {
+00398 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00399 log(DEBUG,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00400 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00401 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00402 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00403 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00404 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00405 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00406 }
+00407 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00408 }
+00409 }
</pre></div> </td>
</tr>
</table>
@@ -1012,13 +1051,13 @@ Terminate a link to 'targethost' by calling the <a class="el" href="classircd__c
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00229">229</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00234">234</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-<div class="fragment"><pre>00230 {
-00231 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
-00232 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
-00233 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
-00234 }
+<div class="fragment"><pre>00235 {
+00236 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
+00237 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
+00238 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
+00239 }
</pre></div> </td>
</tr>
</table>
@@ -1048,7 +1087,7 @@ With a serverrec, this is a list of all established server connections.
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00081">81</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="servers_8cpp-source.html#l00249">FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00176">MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00370">RecvPacket()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="servers_8cpp-source.html#l00284">FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="servers_8cpp-source.html#l00182">MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00431">RecvPacket()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="serverrec::description"></a><p>
@@ -1102,7 +1141,7 @@ number of hops away (for quick access)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00051">51</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o7" doxytag="serverrec::jupiter"></a><p>
@@ -1130,7 +1169,7 @@ is a JUPE server (faked to enforce a server ban)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00057">57</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="serverrec::name"></a><p>
@@ -1158,7 +1197,7 @@ server name
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00036">36</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="serverrec::nickserv"></a><p>
@@ -1186,7 +1225,7 @@ Holds nickserv's name on U:lined (services) servers (this is a kludge for ircser
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00065">65</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="serverrec::opercount"></a><p>
@@ -1214,7 +1253,7 @@ opers on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00048">48</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="serverrec::pingtime"></a><p>
@@ -1242,7 +1281,7 @@ last ping response (ms)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00039">39</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o10" doxytag="serverrec::sync_soon"></a><p>
@@ -1268,7 +1307,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00067">67</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="serverrec::usercount"></a><p>
@@ -1296,7 +1335,7 @@ non-invisible users on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00045">45</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="serverrec::usercount_i"></a><p>
@@ -1324,7 +1363,7 @@ invisible users on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00042">42</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="serverrec::version"></a><p>
@@ -1352,12 +1391,12 @@ ircd version
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00054">54</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:39 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:33 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html
index 279a40c74..1b64993d3 100644
--- a/docs/module-doc/classstd_1_1char__traits.html
+++ b/docs/module-doc/classstd_1_1char__traits.html
@@ -14,7 +14,7 @@
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html
index a83284aac..510955861 100644
--- a/docs/module-doc/classucrec-members.html
+++ b/docs/module-doc/classucrec-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:41 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:34 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html
index fe543e2b9..4eac5b3c9 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -167,7 +167,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userre
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:41 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:34 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html
index f4da154bd..083d529d1 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -70,7 +70,7 @@
<tr class="memlist"><td><a class="el" href="classuserrec.html#o20">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:38 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 257dd3b50..d20705941 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -1747,7 +1747,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00292">GetWriteError()
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:38 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index 827dbc081..65c396fd0 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -118,8 +118,10 @@
00119
00122 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a76">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);
00123
-00124 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+00126 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a77">ConnectServer</a>(<span class="keywordtype">char</span>* servermask, <a class="code" href="classuserrec.html">userrec</a>* user);
+00127
+00128 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html
index d2475883b..4e06fd4ba 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -190,8 +190,51 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a76">duration</a> (const char *str)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Other useful functions. </em> <a href="#a76"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a77">ConnectServer</a> (char *servermask, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classServer.html">Server</a> connect creation. </em> <a href="#a77"></a><em><br><br></td></tr>
</table>
<hr><h2>Function Documentation</h2>
+<a name="a77" doxytag="commands.h::ConnectServer"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void ConnectServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>servermask</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classServer.html">Server</a> connect creation.
+<p>
+ </td>
+ </tr>
+</table>
<a name="a76" doxytag="commands.h::duration"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -3996,7 +4039,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00422">Server::IsUli
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:27 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index 1767f150f..39d8ccda8 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -178,7 +178,7 @@
00326
00327
00328 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html
index 2d718b681..f2435bae1 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -85,9 +85,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
-<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="connection.h::STATE_DISCONNECTED"></a><p>
@@ -113,7 +111,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00176">serverrec::Me
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00035">35</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00249">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="connection.h::STATE_NOAUTH_INBOUND"></a><p>
@@ -139,7 +137,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::Be
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00038">38</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, and <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="connection.h::STATE_NOAUTH_OUTBOUND"></a><p>
@@ -165,7 +163,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::Ad
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00039">39</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a5" doxytag="connection.h::STATE_SERVICES"></a><p>
@@ -245,7 +243,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a>
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:42 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index c4687a31a..14393ac42 100644
--- a/docs/module-doc/ctables_8h-source.html
+++ b/docs/module-doc/ctables_8h-source.html
@@ -42,7 +42,7 @@
00051
00052 <span class="preprocessor">#endif</span>
00053 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html
index d0145641c..e2f6f9203 100644
--- a/docs/module-doc/ctables_8h.html
+++ b/docs/module-doc/ctables_8h.html
@@ -31,7 +31,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A structure that defines a command. </em> <a href="classcommand__t.html#_details">More...</a><em><br><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:30 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
index 4fd4dd82c..0ddbd6d62 100644
--- a/docs/module-doc/dns_8h-source.html
+++ b/docs/module-doc/dns_8h-source.html
@@ -70,7 +70,7 @@
00093 };
00094
00095 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html
index 50e0dd7e1..b88eec89e 100644
--- a/docs/module-doc/dns_8h.html
+++ b/docs/module-doc/dns_8h.html
@@ -23,7 +23,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:30 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html
index a80461590..ecd979b80 100644
--- a/docs/module-doc/files.html
+++ b/docs/module-doc/files.html
@@ -24,7 +24,7 @@
<tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html
index 050119272..b864f3fdc 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -442,7 +442,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html
index 68de60d5c..242f14db0 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -321,7 +321,7 @@
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html
index 984002521..55366fd85 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -189,7 +189,7 @@
</h3><ul>
<li>WriteError
: <a class="el" href="classuserrec.html#o20">userrec</a>, <a class="el" href="classircd__connector.html#r7">ircd_connector</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html
index 3284639d7..6d0fcd19c 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -37,7 +37,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick
: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode()
: <a class="el" href="mode_8h.html#a9">mode.h</a><li>already_have_sum()
-: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>apply_lines()
+: <a class="el" href="servers_8cpp.html#a6">servers.cpp</a><li>apply_lines()
: <a class="el" href="xline_8h.html#a17">xline.h</a><li>auth_cookies
: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a></ul>
<h3><a name="index_b">- b -</a>
@@ -76,7 +76,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_NOT_UNSIGNED
: <a class="el" href="modules_8h.html#a28">modules.h</a><li>CONF_VALUE_NOT_FOUND
: <a class="el" href="modules_8h.html#a29">modules.h</a><li>config_f
-: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a><li>createcommand()
+: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a><li>ConnectServer()
+: <a class="el" href="commands_8h.html#a77">commands.h</a><li>createcommand()
: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum()
: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus()
: <a class="el" href="message_8h.html#a13">message.h</a><li>custom_mode_params
@@ -154,9 +155,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list()
: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule()
: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers()
-: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m()
-: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_M()
-: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_map()
+: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_M()
+: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_m()
+: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map()
: <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode()
: <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules()
: <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd()
@@ -199,7 +200,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="commands_8h.html#a18">commands.h</a><li>handle_whois()
: <a class="el" href="commands_8h.html#a16">commands.h</a><li>handle_whowas()
: <a class="el" href="commands_8h.html#a32">commands.h</a><li>handle_zline()
-: <a class="el" href="commands_8h.html#a44">commands.h</a><li>has_channel()
+: <a class="el" href="commands_8h.html#a44">commands.h</a><li>has_been_netsplit
+: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>has_channel()
: <a class="el" href="message_8h.html#a14">message.h</a><li>hasumode()
: <a class="el" href="message_8h.html#a7">message.h</a></ul>
<h3><a name="index_i">- i -</a>
@@ -211,7 +213,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8h.html#a34">modules.h</a><li>is_uline()
: <a class="el" href="commands_8h.html#a75">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#a10">message.h</a><li>isnick()
-: <a class="el" href="message_8h.html#a11">message.h</a></ul>
+: <a class="el" href="message_8h.html#a11">message.h</a><li>IsRoutable()
+: <a class="el" href="servers_8cpp.html#a5">servers.cpp</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>LINK_ACTIVE
@@ -230,7 +233,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="xline_8h.html#a13">xline.h</a><li>MaxConn
: <a class="el" href="servers_8cpp.html#a1">servers.cpp</a><li>MaxWhoResults
: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
-: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>merge_mode()
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>merge_mode()
: <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2()
: <a class="el" href="mode_8h.html#a14">mode.h</a><li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>ModeDefined()
@@ -342,13 +345,13 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
-: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a></ul>
+: <a class="el" href="servers_8cpp.html#a4">servers.cpp</a></ul>
<h3><a name="index_z">- z -</a>
</h3><ul>
<li>zline_make_global()
: <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#a25">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html
index c0ed1a88e..15e49f273 100644
--- a/docs/module-doc/globals_defs.html
+++ b/docs/module-doc/globals_defs.html
@@ -98,7 +98,7 @@
: <a class="el" href="modules_8h.html#a22">modules.h</a><li>VF_STATIC
: <a class="el" href="modules_8h.html#a20">modules.h</a><li>VF_VENDOR
: <a class="el" href="modules_8h.html#a21">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html
index cf17c00b5..e42b21055 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -21,7 +21,7 @@
: <a class="el" href="xline_8h.html#a2">xline.h</a><li>add_zline()
: <a class="el" href="xline_8h.html#a3">xline.h</a><li>allowed_umode()
: <a class="el" href="mode_8h.html#a9">mode.h</a><li>already_have_sum()
-: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>apply_lines()
+: <a class="el" href="servers_8cpp.html#a6">servers.cpp</a><li>apply_lines()
: <a class="el" href="xline_8h.html#a17">xline.h</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
@@ -37,7 +37,8 @@
: <a class="el" href="message_8h.html#a1">message.h</a><li>CleanAndResolve()
: <a class="el" href="message_8h.html#a5">message.h</a><li>cmode()
: <a class="el" href="message_8h.html#a12">message.h</a><li>common_channels()
-: <a class="el" href="message_8h.html#a0">message.h</a><li>createcommand()
+: <a class="el" href="message_8h.html#a0">message.h</a><li>ConnectServer()
+: <a class="el" href="commands_8h.html#a77">commands.h</a><li>createcommand()
: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum()
: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus()
: <a class="el" href="message_8h.html#a13">message.h</a></ul>
@@ -98,9 +99,9 @@
: <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list()
: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule()
: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers()
-: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m()
-: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_M()
-: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_map()
+: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_M()
+: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_m()
+: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map()
: <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode()
: <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules()
: <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd()
@@ -151,7 +152,8 @@
<li>is_uline()
: <a class="el" href="commands_8h.html#a75">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#a10">message.h</a><li>isnick()
-: <a class="el" href="message_8h.html#a11">message.h</a></ul>
+: <a class="el" href="message_8h.html#a11">message.h</a><li>IsRoutable()
+: <a class="el" href="servers_8cpp.html#a5">servers.cpp</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>matches_exception()
@@ -213,7 +215,7 @@
<li>zline_make_global()
: <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#a25">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html
index d3bf5b35b..609ef339b 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -27,7 +27,7 @@
: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>VoidPointer
: <a class="el" href="base_8h.html#a0">base.h</a><li>whowas_hash
: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html
index e3b1e0065..f0a3c6e2c 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -6,7 +6,7 @@
<!-- Generated by Doxygen 1.3.3 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindexHL" href="globals.html">File&nbsp;Members</a></div>
<div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div>
-<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_x">x</a></div>
+<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_x">x</a></div>
<p>
@@ -47,6 +47,10 @@
<li>factory
: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_ref_table
: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a></ul>
+<h3><a name="index_h">- h -</a>
+</h3><ul>
+<li>has_been_netsplit
+: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
<li>IP
@@ -62,7 +66,7 @@
<li>MaxConn
: <a class="el" href="servers_8cpp.html#a1">servers.cpp</a><li>MaxWhoResults
: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
-: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>MODCOUNT
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names
: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>modules
: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd
@@ -106,8 +110,8 @@
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
-: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+: <a class="el" href="servers_8cpp.html#a4">servers.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html
index a97d98270..bf316ee57 100644
--- a/docs/module-doc/graph_legend.html
+++ b/docs/module-doc/graph_legend.html
@@ -67,7 +67,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
<li>
A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:44 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html
index 12ddc30d8..8132b0e3f 100644
--- a/docs/module-doc/hashcomp_8h-source.html
+++ b/docs/module-doc/hashcomp_8h-source.html
@@ -107,7 +107,7 @@
00130 }
00131
00132 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html
index 8d7cfa156..1d940bdaa 100644
--- a/docs/module-doc/hashcomp_8h.html
+++ b/docs/module-doc/hashcomp_8h.html
@@ -54,7 +54,7 @@ This graph shows which files directly or indirectly include this file:<p><center
Definition at line <a class="el" href="hashcomp_8h-source.html#l00044">44</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:31 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html
index 7ca7a6ee1..8c30f602e 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -65,7 +65,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<li><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>
<li><a class="el" href="classWhoWasUser.html">WhoWasUser</a>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html
index 9079b86bb..305e492be 100644
--- a/docs/module-doc/inherits.html
+++ b/docs/module-doc/inherits.html
@@ -78,7 +78,7 @@
<area href="classWhoWasUser.html" shape="rect" coords="9,8,113,34" alt="">
</map></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:33:02 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:46 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html
index f62060115..200a06996 100644
--- a/docs/module-doc/main.html
+++ b/docs/module-doc/main.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindexHL" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>InspIRCd Documentation</h1>
<p>
-<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html
index 74bbb3cfa..4996f2667 100644
--- a/docs/module-doc/message_8h-source.html
+++ b/docs/module-doc/message_8h-source.html
@@ -55,7 +55,7 @@
00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a17">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason);
00049
00050 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:03 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html
index 667050117..9ef3319b9 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -694,7 +694,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00525">Server::IsNic
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:33 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 8ad0eae9b..9cbedc087 100644
--- a/docs/module-doc/mode_8h-source.html
+++ b/docs/module-doc/mode_8h-source.html
@@ -53,7 +53,7 @@
00046
00047
00048 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:03 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html
index 3cb474367..080920ce0 100644
--- a/docs/module-doc/mode_8h.html
+++ b/docs/module-doc/mode_8h.html
@@ -802,7 +802,7 @@ This graph shows which files directly or indirectly include this file:<p><center
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:34 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index 8492f387e..f2abf36c5 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -1023,7 +1023,7 @@
<a name="l01016"></a><a class="code" href="modules_8cpp.html#a0">01016</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1;
01017
01018
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index f1dbc24f0..57b8d97cb 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -1349,7 +1349,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a34">me</a>[32]
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
</table>
</td>
</tr>
@@ -1895,7 +1895,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> o
Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:08 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index 94b07f708..daed91b45 100644
--- a/docs/module-doc/modules_8h-source.html
+++ b/docs/module-doc/modules_8h-source.html
@@ -450,7 +450,7 @@
<a name="l01307"></a><a class="code" href="modules_8h.html#a34">01307</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#a34">ircd_module</a>;
01308
01309 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html
index 12c36a8ff..8207364c9 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -558,7 +558,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00863">ConfigReader:
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00023">23</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::AddExtendedMode()</a>, <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00138">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00175">chanrec::IsCustomModeSet()</a>, <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>, <a class="el" href="users_8cpp-source.html#l00116">userrec::RemoveInvite()</a>, <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>, <a class="el" href="channels_8cpp-source.html#l00119">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00144">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00284">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::AddExtendedMode()</a>, <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00138">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00175">chanrec::IsCustomModeSet()</a>, <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>, <a class="el" href="users_8cpp-source.html#l00116">userrec::RemoveInvite()</a>, <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>, <a class="el" href="channels_8cpp-source.html#l00119">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00144">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00284">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.h::DEFAULT"></a><p>
@@ -1135,7 +1135,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00437">Server::AddCo
Referenced by <a class="el" href="modules_8cpp-source.html#l00442">Server::SendMode()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:11 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html
index 10e0e126a..31a33dc6b 100644
--- a/docs/module-doc/namespaceirc.html
+++ b/docs/module-doc/namespaceirc.html
@@ -55,7 +55,7 @@ This typedef declares <a class="el" href="namespaceirc.html#a0">irc::string</a>
Definition at line <a class="el" href="hashcomp_8h-source.html#l00129">129</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html
index 2e90e9ba5..9bed16d14 100644
--- a/docs/module-doc/namespacemembers.html
+++ b/docs/module-doc/namespacemembers.html
@@ -11,7 +11,7 @@
Here is a list of all namespace members with links to the namespace documentation for each member:<ul>
<li>string
: <a class="el" href="namespaceirc.html#a0">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html
index 79aaac483..ee7150f5f 100644
--- a/docs/module-doc/namespacemembers_type.html
+++ b/docs/module-doc/namespacemembers_type.html
@@ -11,7 +11,7 @@
<ul>
<li>string
: <a class="el" href="namespaceirc.html#a0">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html
index cff039cf0..174d65dd7 100644
--- a/docs/module-doc/namespacenspace.html
+++ b/docs/module-doc/namespacenspace.html
@@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace.hash&lt; string &gt;</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html
index 8e4d3d677..13f8765a0 100644
--- a/docs/module-doc/namespaces.html
+++ b/docs/module-doc/namespaces.html
@@ -10,7 +10,7 @@
<tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html
index aff42accb..8c9c81579 100644
--- a/docs/module-doc/namespacestd.html
+++ b/docs/module-doc/namespacestd.html
@@ -10,7 +10,7 @@
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html
index 306245ef0..4e57b19f7 100644
--- a/docs/module-doc/servers_8cpp-source.html
+++ b/docs/module-doc/servers_8cpp-source.html
@@ -44,424 +44,497 @@
<a name="l00037"></a><a class="code" href="servers_8cpp.html#a0">00037</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
<a name="l00038"></a><a class="code" href="servers_8cpp.html#a1">00038</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="servers_8cpp.html#a1">MaxConn</a>;
00039
-<a name="l00040"></a><a class="code" href="servers_8cpp.html#a2">00040</a> std::deque&lt;std::string&gt; <a class="code" href="servers_8cpp.html#a2">xsums</a>;
+<a name="l00040"></a><a class="code" href="servers_8cpp.html#a2">00040</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a34">me</a>[32];
00041
-<a name="l00042"></a><a class="code" href="classserverrec.html#a0">00042</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
-00043 {
-00044 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256);
-00045 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
-00046 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00047 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
-00048 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00049 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00050 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00052 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00053 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
-00054 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00055 }
-00056
-00057
-<a name="l00058"></a><a class="code" href="classserverrec.html#a2">00058</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
-00059 {
-00060 }
-00061
-<a name="l00062"></a><a class="code" href="classserverrec.html#a1">00062</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe)
+<a name="l00042"></a><a class="code" href="servers_8cpp.html#a3">00042</a> <span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a>;
+00043
+<a name="l00044"></a><a class="code" href="servers_8cpp.html#a4">00044</a> std::deque&lt;std::string&gt; <a class="code" href="servers_8cpp.html#a4">xsums</a>;
+00045
+<a name="l00046"></a><a class="code" href="classserverrec.html#a0">00046</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
+00047 {
+00048 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256);
+00049 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
+00050 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00051 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
+00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
+00055 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00057 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
+00058 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00059 }
+00060
+00061
+<a name="l00062"></a><a class="code" href="classserverrec.html#a2">00062</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
00063 {
-00064 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256);
-00065 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00066 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
-00067 <a class="code" href="classserverrec.html#o6">version</a> = ver;
-00068 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00069 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00070 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
-00071 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00072 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00073 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
-00074 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00075 }
-00076
-<a name="l00077"></a><a class="code" href="classserverrec.html#a3">00077</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a3">serverrec::CreateListener</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> p)
-00078 {
-00079 sockaddr_in host_address;
-00080 <span class="keywordtype">int</span> flags;
-00081 in_addr addy;
-00082 <span class="keywordtype">int</span> on = 0;
-00083 <span class="keyword">struct </span>linger linger = { 0 };
-00084
-00085 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00086
-00087 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
-00088 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
-00089 {
-00090 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00091 }
-00092
-00093 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
-00094 linger.l_onoff = 1;
-00095 linger.l_linger = 1;
-00096 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
-00097
-00098 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
-00099 <span class="comment">// to get them on linux.</span>
-00100 <span class="keywordtype">int</span> sendbuf = 32768;
-00101 <span class="keywordtype">int</span> recvbuf = 32768;
-00102 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00103 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00104
-00105 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
-00106
-00107 host_address.sin_family = AF_INET;
+00064 }
+00065
+<a name="l00066"></a><a class="code" href="classserverrec.html#a1">00066</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe)
+00067 {
+00068 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256);
+00069 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00070 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
+00071 <a class="code" href="classserverrec.html#o6">version</a> = ver;
+00072 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00073 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00074 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
+00075 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00076 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00077 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
+00078 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00079 }
+00080
+<a name="l00081"></a><a class="code" href="classserverrec.html#a3">00081</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a3">serverrec::CreateListener</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> p)
+00082 {
+00083 sockaddr_in host_address;
+00084 <span class="keywordtype">int</span> flags;
+00085 in_addr addy;
+00086 <span class="keywordtype">int</span> on = 0;
+00087 <span class="keyword">struct </span>linger linger = { 0 };
+00088
+00089 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00090
+00091 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+00092 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
+00093 {
+00094 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00095 }
+00096
+00097 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
+00098 linger.l_onoff = 1;
+00099 linger.l_linger = 1;
+00100 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
+00101
+00102 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
+00103 <span class="comment">// to get them on linux.</span>
+00104 <span class="keywordtype">int</span> sendbuf = 32768;
+00105 <span class="keywordtype">int</span> recvbuf = 32768;
+00106 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00107 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
00108
-00109 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
-00110 {
-00111 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
-00112 }
-00113 <span class="keywordflow">else</span>
+00109 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
+00110
+00111 host_address.sin_family = AF_INET;
+00112
+00113 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
00114 {
-00115 inet_aton(newhost,&amp;addy);
-00116 host_address.sin_addr = addy;
-00117 }
-00118
-00119 host_address.sin_port = htons(p);
-00120
-00121 <span class="keywordflow">if</span> (bind(<a class="code" href="classconnection.html#o0">fd</a>,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
-00122 {
-00123 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00124 }
-00125
-00126 <span class="comment">// make the socket non-blocking</span>
-00127 flags = fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_GETFL, 0);
-00128 fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_SETFL, flags | O_NONBLOCK);
+00115 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
+00116 }
+00117 <span class="keywordflow">else</span>
+00118 {
+00119 inet_aton(newhost,&amp;addy);
+00120 host_address.sin_addr = addy;
+00121 }
+00122
+00123 host_address.sin_port = htons(p);
+00124
+00125 <span class="keywordflow">if</span> (bind(<a class="code" href="classconnection.html#o0">fd</a>,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
+00126 {
+00127 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00128 }
00129
-00130 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00131
-00132 listen(this-&gt;fd, <a class="code" href="servers_8cpp.html#a1">MaxConn</a>);
+00130 <span class="comment">// make the socket non-blocking</span>
+00131 flags = fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_GETFL, 0);
+00132 fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_SETFL, flags | O_NONBLOCK);
00133
-00134 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00135 }
-00136
+00134 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00135
+00136 listen(this-&gt;fd, <a class="code" href="servers_8cpp.html#a1">MaxConn</a>);
00137
-<a name="l00138"></a><a class="code" href="classserverrec.html#a4">00138</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a4">serverrec::BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport)
-00139 {
-00140 <span class="keywordtype">char</span> connect[MAXBUF];
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
+00140
00141
-00142 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00143 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
-00144
+<a name="l00142"></a><a class="code" href="classserverrec.html#a4">00142</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a4">serverrec::BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport)
+00143 {
+00144 <span class="keywordtype">char</span> connect[MAXBUF];
00145
-00146 <span class="keywordflow">if</span> (cn)
-00147 {
-00148 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
-00149 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00150 }
-00151
-00152
-00153 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00154 {
-00155 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00156 {
-00157 <span class="comment">// targethost has been turned into an ip...</span>
-00158 <span class="comment">// we dont want this as the server name.</span>
-00159 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00160 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
-00161 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
-00162 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00163 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00164 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00165 }
-00166 <span class="keywordflow">else</span>
-00167 {
-00168 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00169 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
-00170 }
-00171 }
-00172 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00173 }
-00174
-00175
-<a name="l00176"></a><a class="code" href="classserverrec.html#a5">00176</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a5">serverrec::MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername)
-00177 {
-00178 <span class="keywordtype">char</span> connect[MAXBUF];
-00179
-00180 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00146 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00147 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
+00148
+00149
+00150 <span class="keywordflow">if</span> (cn)
+00151 {
+00152 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
+00153 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00154 }
+00155
+00156
+00157 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00158 {
+00159 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00160 {
+00161 <span class="comment">// targethost has been turned into an ip...</span>
+00162 <span class="comment">// we dont want this as the server name.</span>
+00163 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00164 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
+00165 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
+00166 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00167 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00168 <span class="comment">// this packet isn't actually sent until the socket connects -- the STATE_NOAUTH_OUTBOUND state</span>
+00169 <span class="comment">// queues outbound data until the socket is polled as writeable (e.g. the connection is established)</span>
+00170 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
+00171 }
+00172 <span class="keywordflow">else</span>
+00173 {
+00174 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00175 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
+00180
00181
-00182 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
-00183
-00184 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00185 {
-00186 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00187 {
-00188 <span class="comment">// targethost has been turned into an ip...</span>
-00189 <span class="comment">// we dont want this as the server name.</span>
-00190 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00191 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
-00192 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
-00193 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00194 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a1">STATE_CONNECTED</a>);
-00195 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00196 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00197 }
-00198 <span class="keywordflow">else</span>
-00199 {
-00200 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00201 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+<a name="l00182"></a><a class="code" href="classserverrec.html#a5">00182</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a5">serverrec::MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername)
+00183 {
+00184 <span class="keywordtype">char</span> connect[MAXBUF];
+00185
+00186 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00187
+00188 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
+00189
+00190 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00191 {
+00192 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00193 {
+00194 <span class="comment">// targethost has been turned into an ip...</span>
+00195 <span class="comment">// we dont want this as the server name.</span>
+00196 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00197 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
+00198 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
+00199 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00200 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00201 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
00202 }
-00203 }
-00204 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00205 }
-00206
-<a name="l00207"></a><a class="code" href="classserverrec.html#a10">00207</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a10">serverrec::AddIncoming</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport)
-00208 {
-00209 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00210
-00211 <span class="comment">// targethost has been turned into an ip...</span>
-00212 <span class="comment">// we dont want this as the server name.</span>
-00213 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
-00214 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
-00215 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
-00216 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
-00217 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
-00218 <span class="keywordtype">int</span> sendbuf = 32768;
-00219 <span class="keywordtype">int</span> recvbuf = 32768;
-00220 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00221 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00222 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
-00223 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
-00224 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
-00225 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00227 }
-00228
-<a name="l00229"></a><a class="code" href="classserverrec.html#a6">00229</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a6">serverrec::TerminateLink</a>(<span class="keywordtype">char</span>* targethost)
-00230 {
-00231 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
-00232 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
-00233 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
-00234 }
-00235
-00236 <span class="comment">// Returns a pointer to the connector for 'host'</span>
-<a name="l00237"></a><a class="code" href="classserverrec.html#a9">00237</a> <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classserverrec.html#a9">serverrec::FindHost</a>(std::string findhost)
-00238 {
-00239 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00240 {
-00241 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
-00242 {
-00243 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
-00244 }
-00245 }
-00246 <span class="keywordflow">return</span> NULL;
-00247 }
-00248
-<a name="l00249"></a><a class="code" href="classserverrec.html#a11">00249</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a11">serverrec::FlushWriteBuffers</a>()
-00250 {
-00251 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00252 {
-00253 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00254 {
-00255 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CheckPing())
-00256 {
-00257 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00258 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00259 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00260 }
-00261 }
-00262 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].HasBufferedOutput())
-00263 {
-00264 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].FlushWriteBuf())
-00265 {
-00266 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00267 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetWriteError().c_str());
-00268 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00269 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00270 }
-00271 }
-00272 }
-00273 }
-00274
-<a name="l00275"></a><a class="code" href="classserverrec.html#a7">00275</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a7">serverrec::SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* sendhost)
-00276 {
-00277 <span class="keywordflow">if</span> ((!message) || (!sendhost))
-00278 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00279
-00280 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
-00281
-00282 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
-00283 {
-00284 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
-00285 }
-00286
-00287 <span class="keywordflow">if</span> (cn)
-00288 {
-00289 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00290
-00291 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00292 {
-00293 <span class="comment">// fix: can only route one hop to avoid a loop</span>
-00294 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
-00295 {
-00296 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Not a double reroute"</span>);
-00297 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
-00298 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
-00299 {
-00300 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
-00301 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
-00302 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
-00303 {
-00304 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
-00305 {
-00306 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
-00307 <span class="keywordtype">char</span> buffer[MAXBUF];
-00308 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
-00309 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
-00310 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00311 }
-00312 }
+00203 <span class="keywordflow">else</span>
+00204 {
+00205 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00206 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00207 }
+00208 }
+00209 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00210 }
+00211
+<a name="l00212"></a><a class="code" href="classserverrec.html#a10">00212</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a10">serverrec::AddIncoming</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport)
+00213 {
+00214 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00215
+00216 <span class="comment">// targethost has been turned into an ip...</span>
+00217 <span class="comment">// we dont want this as the server name.</span>
+00218 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
+00219 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
+00220 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
+00221 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
+00222 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
+00223 <span class="keywordtype">int</span> sendbuf = 32768;
+00224 <span class="keywordtype">int</span> recvbuf = 32768;
+00225 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00226 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
+00227 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
+00228 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
+00229 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
+00230 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00232 }
+00233
+<a name="l00234"></a><a class="code" href="classserverrec.html#a6">00234</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a6">serverrec::TerminateLink</a>(<span class="keywordtype">char</span>* targethost)
+00235 {
+00236 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
+00237 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
+00238 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
+00239 }
+00240
+00241 <span class="comment">// Returns a pointer to the connector for 'host'</span>
+<a name="l00242"></a><a class="code" href="classserverrec.html#a9">00242</a> <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classserverrec.html#a9">serverrec::FindHost</a>(std::string findhost)
+00243 {
+00244 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00245 {
+00246 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
+00247 {
+00248 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
+00249 }
+00250 }
+00251 <span class="keywordflow">return</span> NULL;
+00252 }
+00253
+00254
+00255 <span class="comment">// Checks to see if we can still reach a server at all (e.g. is it in ANY routing table?)</span>
+<a name="l00256"></a><a class="code" href="servers_8cpp.html#a5">00256</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(std::string servername)
+00257 {
+00258 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++) <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00259 {
+00260 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername.c_str());
+00261 <span class="keywordflow">if</span> (cn)
+00262 {
+00263 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00264 {
+00265 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00266 {
+00267 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00268 {
+00269 <span class="keywordflow">if</span> (!strcasecmp(<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;connectors[k].routes[m].c_str(),servername.c_str()))
+00270 {
+00271 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00272 }
+00273 }
+00274 }
+00275 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00276 }
+00277 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00278 }
+00279 }
+00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00281 }
+00282
+00283
+<a name="l00284"></a><a class="code" href="classserverrec.html#a11">00284</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a11">serverrec::FlushWriteBuffers</a>()
+00285 {
+00286 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00287 {
+00288 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00289 <span class="keywordflow">if</span> ((this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() == <a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].age+30))
+00290 {
+00291 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00292 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00294 <span class="keywordflow">return</span>;
+00295 }
+00296 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetState() == <a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;connectors[i].age+30))
+00297 {
+00298 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00299 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00300 <span class="keywordflow">return</span>;
+00301 }
+00302 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00303 {
+00304 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 this-&gt;connectors[i].CloseConnection();
+00308 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00309 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00310 {
+00311 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00312 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
00313 }
-00314 }
-00315 <span class="keywordtype">char</span> buffer[MAXBUF];
-00316 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
-00317 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
-00318 NetSendToAllExcept(sendhost,buffer);
-00319 DoSplit(sendhost);
-00320 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00321 }
-00322
-00323 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00324 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
-00325 {
-00326 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
-00327 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00328 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00329 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00330 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00331 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00332 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
-00333 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00334 }
-00335 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
-00336 {
-00337 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00338 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00339 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00340 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00341 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00342 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00343 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
-00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00345 }
-00346 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00347 }
-00348 }
-00349
-<a name="l00350"></a><a class="code" href="servers_8cpp.html#a3">00350</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(std::string sum)
-00351 {
-00352 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a2">xsums</a>.size(); i++)
-00353 {
-00354 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>[i] == sum)
-00355 {
-00356 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00357 }
-00358 }
-00359 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>.size() &gt;= 128)
-00360 {
-00361 <a class="code" href="servers_8cpp.html#a2">xsums</a>.pop_front();
-00362 }
-00363 <a class="code" href="servers_8cpp.html#a2">xsums</a>.push_back(sum);
-00364 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00365 }
-00366
-00367 <span class="comment">// receives a packet from any where there is data waiting, first come, first served</span>
-00368 <span class="comment">// fills the message and host values with the host where the data came from.</span>
-00369
-<a name="l00370"></a><a class="code" href="classserverrec.html#a8">00370</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a8">serverrec::RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* recvhost,std::deque&lt;std::string&gt; &amp;sums)
-00371 {
-00372 <span class="keywordtype">char</span> data[65536];
-00373 memset(data, 0, 65536);
-00374 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00375 {
-00376 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00377 {
-00378 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00379 <span class="keywordtype">int</span> rcvsize = 0;
-00380
-00381 <span class="comment">// check if theres any data on this socket</span>
-00382 <span class="comment">// if not, continue onwards to the next.</span>
-00383 pollfd polls;
-00384 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
-00385 polls.events = POLLIN;
-00386 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
-00387 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
-00388
-00389 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
-00390 data[rcvsize] = <span class="charliteral">'\0'</span>;
-00391 <span class="keywordflow">if</span> (rcvsize == -1)
-00392 {
-00393 <span class="keywordflow">if</span> (errno != EAGAIN)
-00394 {
-00395 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
-00396 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00397 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00398 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00399 }
-00400 }
-00401 <span class="keywordtype">int</span> pushed = 0;
-00402 <span class="keywordflow">if</span> (rcvsize &gt; 0)
-00403 {
-00404 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
-00405 {
-00406 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00407 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00408 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00409 }
-00410 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00411 {
-00412 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
-00413 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00414 {
-00415 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
-00416 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
-00417 {
-00418 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
-00419 {
-00420 std::string orig = text;
-00421 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Original: %s"</span>,text.c_str());
-00422 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00423 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
-00424 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00425 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
-00426 {
-00427 sums.push_back(<span class="stringliteral">"*"</span>);
-00428 text = orig;
-00429 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
-00430 }
-00431 <span class="keywordflow">else</span>
-00432 {
-00433 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
-00434 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
-00435 {
-00436 <span class="comment">// we don't accept dupes</span>
-00437 <span class="keywordflow">continue</span>;
-00438 }
-00439 sums.push_back(sum.c_str());
-00440 }
-00441 }
-00442 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
-00443 messages.push_back(text.c_str());
-00444 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
-00445 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
-00446 }
-00447 }
-00448 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00449 }
-00450 }
-00451 }
-00452 }
-00453 <span class="comment">// nothing new yet -- message and host will be undefined</span>
-00454 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00455 }
-00456
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+00314 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00315 }
+00316 }
+00317 <span class="keywordflow">if</span> (this-&gt;connectors[i].HasBufferedOutput())
+00318 {
+00319 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00320 {
+00321 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00322 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;connectors[i].GetWriteError().c_str());
+00323 this-&gt;connectors[i].CloseConnection();
+00324 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00325 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00326 {
+00327 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00328 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00329 }
+00330 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00331 }
+00332 }
+00333 }
+00334 }
+00335
+<a name="l00336"></a><a class="code" href="classserverrec.html#a7">00336</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a7">serverrec::SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* sendhost)
+00337 {
+00338 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00339 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00340
+00341 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00342
+00343 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00344 {
+00345 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00346 }
+00347
+00348 <span class="keywordflow">if</span> (cn)
+00349 {
+00350 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00351
+00352 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00353 {
+00354 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00355 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00356 {
+00357 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Not a double reroute"</span>);
+00358 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00359 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00360 {
+00361 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
+00362 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00363 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00364 {
+00365 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00366 {
+00367 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
+00368 <span class="keywordtype">char</span> buffer[MAXBUF];
+00369 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00370 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00371 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00372 }
+00373 }
+00374 }
+00375 }
+00376 <span class="keywordtype">char</span> buffer[MAXBUF];
+00377 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00378 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00379 NetSendToAllExcept(sendhost,buffer);
+00380 DoSplit(sendhost);
+00381 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00382 }
+00383
+00384 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00385 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00386 {
+00387 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00388 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00389 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00390 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00391 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00392 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00393 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00394 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00395 }
+00396 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00397 {
+00398 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00399 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00400 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00401 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00402 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00403 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00404 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00405 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00406 }
+00407 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00408 }
+00409 }
+00410
+<a name="l00411"></a><a class="code" href="servers_8cpp.html#a6">00411</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(std::string sum)
+00412 {
+00413 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a4">xsums</a>.size(); i++)
+00414 {
+00415 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00416 {
+00417 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00418 }
+00419 }
+00420 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00421 {
+00422 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00423 }
+00424 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00425 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00426 }
+00427
+00428 <span class="comment">// receives a packet from any where there is data waiting, first come, first served</span>
+00429 <span class="comment">// fills the message and host values with the host where the data came from.</span>
+00430
+<a name="l00431"></a><a class="code" href="classserverrec.html#a8">00431</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a8">serverrec::RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* recvhost,std::deque&lt;std::string&gt; &amp;sums)
+00432 {
+00433 <span class="keywordtype">char</span> data[65536];
+00434 memset(data, 0, 65536);
+00435 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00436 {
+00437 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00438 {
+00439 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00440 <span class="keywordtype">int</span> rcvsize = 0;
+00441
+00442 <span class="comment">// check if theres any data on this socket</span>
+00443 <span class="comment">// if not, continue onwards to the next.</span>
+00444 pollfd polls;
+00445 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00446 polls.events = POLLIN;
+00447 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00448 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00449
+00450 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00451 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00452 <span class="keywordflow">if</span> (rcvsize == -1)
+00453 {
+00454 <span class="keywordflow">if</span> (errno != EAGAIN)
+00455 {
+00456 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00457 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00458 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00459 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00460 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00461 {
+00462 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00463 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00464 }
+00465 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00466 }
+00467 }
+00468 <span class="keywordtype">int</span> pushed = 0;
+00469 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00470 {
+00471 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00472 {
+00473 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00474 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00475 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00476 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00477 {
+00478 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00479 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00480 }
+00481 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00482 }
+00483 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00484 {
+00485 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00486 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00487 {
+00488 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00489 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00490 {
+00491 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00492 {
+00493 std::string orig = text;
+00494 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00495 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00496 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00497 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00498 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00499 {
+00500 sums.push_back(<span class="stringliteral">"*"</span>);
+00501 text = orig;
+00502 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00503 }
+00504 <span class="keywordflow">else</span>
+00505 {
+00506 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00507 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
+00508 {
+00509 <span class="comment">// we don't accept dupes</span>
+00510 <span class="keywordflow">continue</span>;
+00511 }
+00512 sums.push_back(sum.c_str());
+00513 }
+00514 }
+00515 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00516 messages.push_back(text.c_str());
+00517 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00518 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
+00519 }
+00520 }
+00521 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00522 }
+00523 }
+00524 }
+00525 }
+00526 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00527 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00528 }
+00529
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html
index c1a2a0c12..18a72eb00 100644
--- a/docs/module-doc/servers_8cpp.html
+++ b/docs/module-doc/servers_8cpp.html
@@ -34,18 +34,24 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl
<a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a3">already_have_sum</a> (std::string sum)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a5">IsRoutable</a> (std::string servername)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a6">already_have_sum</a> (std::string sum)</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a0">TIME</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a1">MaxConn</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::deque&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a2">xsums</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a2">me</a> [32]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a3">has_been_netsplit</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::deque&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a4">xsums</a></td></tr>
</table>
<hr><h2>Function Documentation</h2>
-<a name="a3" doxytag="servers.cpp::already_have_sum"></a><p>
+<a name="a6" doxytag="servers.cpp::already_have_sum"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -73,31 +79,119 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00350">350</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00411">411</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="servers_8cpp-source.html#l00040">xsums</a>.
+References <a class="el" href="servers_8cpp-source.html#l00044">xsums</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>.
+Referenced by <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>.
<p>
-<div class="fragment"><pre>00351 {
-00352 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a2">xsums</a>.size(); i++)
-00353 {
-00354 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>[i] == sum)
-00355 {
-00356 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00357 }
-00358 }
-00359 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>.size() &gt;= 128)
-00360 {
-00361 <a class="code" href="servers_8cpp.html#a2">xsums</a>.pop_front();
-00362 }
-00363 <a class="code" href="servers_8cpp.html#a2">xsums</a>.push_back(sum);
-00364 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00365 }
+<div class="fragment"><pre>00412 {
+00413 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a4">xsums</a>.size(); i++)
+00414 {
+00415 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00416 {
+00417 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00418 }
+00419 }
+00420 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00421 {
+00422 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00423 }
+00424 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00425 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00426 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a5" doxytag="servers.cpp::IsRoutable"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool IsRoutable </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>servername</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00256">256</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">serverrec::connectors</a>, <a class="el" href="servers_8cpp-source.html#l00242">serverrec::FindHost()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="channels_8cpp-source.html#l00097">me</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>.
+<p>
+<div class="fragment"><pre>00257 {
+00258 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++) <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00259 {
+00260 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername.c_str());
+00261 <span class="keywordflow">if</span> (cn)
+00262 {
+00263 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00264 {
+00265 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00266 {
+00267 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00268 {
+00269 <span class="keywordflow">if</span> (!strcasecmp(me[x]-&gt;connectors[k].routes[m].c_str(),servername.c_str()))
+00270 {
+00271 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00272 }
+00273 }
+00274 }
+00275 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00276 }
+00277 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00278 }
+00279 }
+00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00281 }
</pre></div> </td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
+<a name="a3" doxytag="servers.cpp::has_been_netsplit"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="servers_8cpp.html#a3">has_been_netsplit</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00042">42</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>. </td>
+ </tr>
+</table>
<a name="a1" doxytag="servers.cpp::MaxConn"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -121,7 +215,31 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00370">serverrec::Re
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00038">38</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="servers.cpp::me"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00040">40</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td>
</tr>
</table>
<a name="a0" doxytag="servers.cpp::TIME"></a><p>
@@ -148,13 +266,13 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::Cr
Definition at line <a class="el" href="servers_8cpp-source.html#l00037">37</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td>
</tr>
</table>
-<a name="a2" doxytag="servers.cpp::xsums"></a><p>
+<a name="a4" doxytag="servers.cpp::xsums"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> std::deque&lt;std::string&gt; <a class="el" href="servers_8cpp.html#a2">xsums</a>
+ <td class="md" nowrap valign="top"> std::deque&lt;std::string&gt; <a class="el" href="servers_8cpp.html#a4">xsums</a>
</table>
</td>
</tr>
@@ -169,12 +287,12 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00037">37</a> o
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00040">40</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00044">44</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00350">already_have_sum()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00411">already_have_sum()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:15 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:46 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html
index 1055e7577..4a1b9c6d4 100644
--- a/docs/module-doc/servers_8h-source.html
+++ b/docs/module-doc/servers_8h-source.html
@@ -79,7 +79,7 @@
00124
00125 <span class="preprocessor">#endif</span>
00126 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html
index 2056aaa3d..41117006b 100644
--- a/docs/module-doc/servers_8h.html
+++ b/docs/module-doc/servers_8h.html
@@ -86,7 +86,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of
Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:17 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:47 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
index fc7c2e98f..cc697ac07 100644
--- a/docs/module-doc/structdns__ip4list-members.html
+++ b/docs/module-doc/structdns__ip4list-members.html
@@ -8,7 +8,7 @@
<h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o0">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o1">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:06 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html
index d3ab6ab3a..07ccf9a28 100644
--- a/docs/module-doc/structdns__ip4list.html
+++ b/docs/module-doc/structdns__ip4list.html
@@ -67,7 +67,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:06 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
index ea4697b0c..fd8e1806d 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structirc_1_1InAddr__HashComp.html#a0">operator()</a>(const in_addr &amp;s1, const in_addr &amp;s2) const</td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html
index 46d637fe3..abbbc4973 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp.html
@@ -67,7 +67,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html
index baa7a7655..c87ace488 100644
--- a/docs/module-doc/structirc_1_1StrHashComp-members.html
+++ b/docs/module-doc/structirc_1_1StrHashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structirc_1_1StrHashComp.html#a0">operator()</a>(const std::string &amp;s1, const std::string &amp;s2) const</td><td><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1StrHashComp.html b/docs/module-doc/structirc_1_1StrHashComp.html
index fd1a3ba63..31dc57b9b 100644
--- a/docs/module-doc/structirc_1_1StrHashComp.html
+++ b/docs/module-doc/structirc_1_1StrHashComp.html
@@ -67,7 +67,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html
index 74e9777ac..f2c2c7306 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits-members.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html
@@ -11,7 +11,7 @@
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e4">find</a>(const char *s1, int n, char c)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e2">lt</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e1">ne</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html
index 0170085fb..d2c6e3a97 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits.html
@@ -259,7 +259,7 @@ Check if two chars do NOT match.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 773c94931..913cfe695 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 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>nspace::hash&lt; in_addr &gt; Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &amp;a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 b6b2af8d0..295a6d095 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
@@ -48,7 +48,7 @@
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 d4ae6660c..a7a369b3d 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 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>nspace::hash&lt; string &gt; Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &amp;s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 56e014d29..442cde551 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
@@ -48,7 +48,7 @@
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 2d74edf36..51c1a3e0d 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -300,7 +300,7 @@
00293 {
00294 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a>;
00295 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html
index bdb475f34..f61cd4aa5 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -78,7 +78,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00027">27</a> of
Definition at line <a class="el" href="users_8cpp-source.html#l00029">29</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:20 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:49 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 16bbb2ee4..cda334ba2 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -185,7 +185,7 @@
00336 };
00337
00338 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html
index 739cbb08d..13f7aeb5c 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -267,7 +267,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00094">94</a> of fi
Referenced by <a class="el" href="users_8cpp-source.html#l00104">userrec::GetInviteList()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:24 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:51 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index fb8765c98..cb86c3dfd 100644
--- a/docs/module-doc/xline_8h-source.html
+++ b/docs/module-doc/xline_8h-source.html
@@ -123,7 +123,7 @@
00157 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a28">sync_xlines</a>(<a class="code" href="classserverrec.html">serverrec</a>* serv, <span class="keywordtype">char</span>* tcp_host);
00158
00159 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html
index 5428c7969..e0f1b123e 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -1109,7 +1109,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00714">Server::DelZL
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:26 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/include/base.h b/include/base.h
index c959cf869..d253c5dc3 100644
--- a/include/base.h
+++ b/include/base.h
@@ -56,23 +56,34 @@ class Extensible : public classbase
public:
/** Extend an Extensible class.
+ *
+ * @param key The key parameter is an arbitary string which identifies the extension data
+ * @param p This parameter is a pointer to any data you wish to associate with the object
+ *
* You must provide a key to store the data as, and a void* to the data (typedef VoidPointer)
* The data will be inserted into the map. If the data already exists, you may not insert it
* twice, Extensible::Extend will return false in this case.
- * On successful extension, Extend returns true.
+ *
+ * @return Returns true on success, false if otherwise
*/
bool Extend(std::string key, char* p);
/** Shrink an Extensible class.
+ *
+ * @param key The key parameter is an arbitary string which identifies the extension data
+ *
* You must provide a key name. The given key name will be removed from the classes data. If
* you provide a nonexistent key (case is important) then the function will return false.
- * Returns true on success.
+ *
+ * @return Returns true on success.
*/
bool Shrink(std::string key);
/** Get an extension item.
- * You must provide a key name, which is case sensitive. If you provide a non-existent key name,
- * the function returns NULL, otherwise a pointer to the item referenced by the key is returned.
+ *
+ * @param key The key parameter is an arbitary string which identifies the extension data
+ *
+ * @return If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.
*/
char* GetExt(std::string key);
};
diff --git a/include/channels.h b/include/channels.h
index 7df2d665e..ed57955a2 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -149,22 +149,33 @@ class chanrec : public Extensible
BanList bans;
/** Sets or unsets a custom mode in the channels info
+ * @param mode The mode character to set or unset
+ * @param mode_on True if you want to set the mode or false if you want to remove it
*/
void SetCustomMode(char mode,bool mode_on);
/** Sets or unsets the parameters for a custom mode in a channels info
+ * @param mode The mode character to set or unset
+ * @param parameter The parameter string to associate with this mode character
+ * @param mode_on True if you want to set the mode or false if you want to remove it
*/
void SetCustomModeParam(char mode,char* parameter,bool mode_on);
/** Returns true if a custom mode is set on a channel
+ * @param mode The mode character you wish to query
+ * @return True if the custom mode is set, false if otherwise
*/
bool IsCustomModeSet(char mode);
/** Returns the parameter for a custom mode on a channel.
+ * @param mode The mode character you wish to query
+ *
* For example if "+L #foo" is set, and you pass this method
* 'L', it will return '#foo'. If the mode is not set on the
* channel, or the mode has no parameters associated with it,
* it will return an empty string.
+ *
+ * @return The parameter for this mode is returned, or an empty string
*/
std::string GetModeParameter(char mode);
@@ -172,10 +183,14 @@ class chanrec : public Extensible
* This returns the channel reference counter, which is initialized
* to 0 when the channel is created and incremented/decremented
* upon joins, parts quits and kicks.
+ *
+ * @return The number of users on this channel
*/
long GetUserCounter();
/** Add a user pointer to the internal reference list
+ * @param castuser This should be a pointer to a userrec, casted to char*
+ *
* The data inserted into the reference list is a table as it is
* an arbitary pointer compared to other users by its memory address,
* as this is a very fast 32 or 64 bit integer comparison.
@@ -183,6 +198,8 @@ class chanrec : public Extensible
void AddUser(char* castuser);
/** Delete a user pointer to the internal reference list
+ * @param castuser This should be a pointer to a userrec, casted to char*
+ *
* The data removed from the reference list is a table as it is
* an arbitary pointer compared to other users by its memory address,
* as this is a very fast 32 or 64 bit integer comparison.
@@ -195,6 +212,8 @@ class chanrec : public Extensible
* channel membership for PRIVMSG, NOTICE, QUIT, PART etc.
* The resulting pointer to the vector should be considered
* readonly and only modified via AddUser and DelUser.
+ *
+ * @return This function returns a vector of userrec pointers, each of which has been casted to char* to prevent circular references
*/
std::vector<char*> *GetUsers();
diff --git a/include/connection.h b/include/connection.h
index 88dc3ea54..2d473bde4 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -141,34 +141,42 @@ class ircd_connector : public Extensible
std::string GetServerName();
/** Set the server name of this connection
+ * @param serv The server name to set
*/
void SetServerName(std::string serv);
/** Get the file descriptor associated with this connection
+ * @return The file descriptor associated with this connection
*/
int GetDescriptor();
/** Set the file descriptor for this connection
+ * @param fd The file descriptor to associate with the connection
*/
void SetDescriptor(int fd);
/** Get the state flags for this connection
+ * @return The state flags associated with this connection
*/
int GetState();
/** Set the state flags for this connection
+ * @param state The state flags to set for this connection
*/
void SetState(int state);
/** Get the ip address (not servername) associated with this connection
+ * @return The connections IP address in dotted decimal form
*/
char* GetServerIP();
/** Get the server description of this connection
+ * @return The description (GECOS) of this connection
*/
std::string GetDescription();
/** Set the server description of this connection
+ * @param desc The description (GECOS) of this connection to be set
*/
void SetDescription(std::string desc);
@@ -176,14 +184,20 @@ class ircd_connector : public Extensible
* If the connection is outbound this will be the remote port
* otherwise it will be the local port, so it can always be
* gautanteed as open at the address given in GetServerIP().
+ *
+ * @return The port number of this connection
*/
int GetServerPort();
/** Set the port used by this connection
+ * @param p The port number to set for this connection
*/
void SetServerPort(int p);
/** Set both the host and the port in one operation for this connection
+ * @param newhost The hostname to set for this connection
+ * @param newport The port number to set for this connection
+ * @return True on success, false on failure
*/
bool SetHostAndPort(char* newhost, int newport);
@@ -193,14 +207,20 @@ class ircd_connector : public Extensible
void CloseConnection();
/** This method adds text to the ircd connection's buffer
+ * @param a The text to add to the buffer up to a maximum size of 1MB
+ *
* This buffer's maximum size is one megabyte, the method returning false
* if the buffer is full.
+ *
+ * @return True on success, false if the buffer is full or the connection is down
*/
bool AddBuffer(std::string a);
/** This method returns true if the buffer contains at least one
* carriage return character, e.g. one line can be read from the
* buffer successfully.
+ *
+ * @return True if there is at least one complete line waiting to be processed
*/
bool BufferIsComplete();
@@ -211,42 +231,57 @@ class ircd_connector : public Extensible
/** This method retrieves the first string from the tail end of the
* buffer and advances the tail end of the buffer past the returned
* string, in a similar manner to strtok().
+ *
+ * @return The first line of the buffer up to a carriage return
*/
std::string GetBuffer();
/** This method sets the version string of the remote server
+ * @param newversion The version string to set
*/
void SetVersionString(std::string newversion);
/** This method returns the version string of the remote server.
* If the server has no version string an empty string is returned.
+ *
+ * @return The version text of this connection
*/
std::string GetVersionString();
- /** Adds data to the connection's sendQ to be flushed later
+ /** Adds data to the connection's sendQ to be flushed later.
+ * @param data The data to add to the write buffer
+ *
* Fails if there is an error pending on the connection.
+ *
+ * @return True on success, false if the connection is down or the buffer is full
*/
bool AddWriteBuf(std::string data);
/** Flushes as much of the data from the buffer as possible,
* and advances the queue pointer to what is left.
+ *
+ * @return True if the flush succeeded, false if the connection is down
*/
bool FlushWriteBuf();
/** Sets the error string for this connection
+ * @param error The error string to set
*/
void SetWriteError(std::string error);
/** Gets the error string for this connection
+ * @return The last error to occur or an empty string
*/
std::string GetWriteError();
/** Returns true if there is data to be written that hasn't been sent yet
+ * @return True if the buffer is not empty
*/
bool HasBufferedOutput();
/** Checks if the connection replied to its last ping, and if it did
* sends another and returns true, if not, returns false.
+ * @return True if the server is still replying to pings
*/
bool CheckPing();