From 956328e80741c88cdae6d98b07be4171c98f4e26 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 May 2005 05:23:22 +0000 Subject: Added docs for base: BoolSet git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1565 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/servers_8cpp.html | 84 +++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 47 deletions(-) (limited to 'docs/module-doc/servers_8cpp.html') diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 34ef6fb52..f13acac36 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -79,27 +79,27 @@ Include dependency graph for servers.cpp:

411 of file servers.cpp. +Definition at line 425 of file servers.cpp.

References xsums.

-Referenced by serverrec::RecvPacket(). +Referenced by serverrec::RecvPacket().

-

00412 {
-00413         for (int i = 0; i < xsums.size(); i++)
-00414         {
-00415                 if (xsums[i] == sum)
-00416                 {
-00417                         return true;
-00418                 }
-00419         }
-00420         if (xsums.size() >= 128)
-00421         {
-00422                 xsums.pop_front();
-00423         }
-00424         xsums.push_back(sum);
-00425         return false;
-00426 }
+
00426 {
+00427         for (int i = 0; i < xsums.size(); i++)
+00428         {
+00429                 if (xsums[i] == sum)
+00430                 {
+00431                         return true;
+00432                 }
+00433         }
+00434         if (xsums.size() >= 128)
+00435         {
+00436                 xsums.pop_front();
+00437         }
+00438         xsums.push_back(sum);
+00439         return false;
+00440 }
 
@@ -133,35 +133,25 @@ Referenced by serverrec::Re

Definition at line 256 of file servers.cpp.

-References serverrec::connectors, serverrec::FindHost(), ircd_connector::GetState(), me, and STATE_DISCONNECTED. +References serverrec::connectors, me, and STATE_DISCONNECTED.

-Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket(). +Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().

00257 {
-00258         for (int x = 0; x < 32; x++) if (me[x])
-00259         {
-00260                 ircd_connector* cn = me[x]->FindHost(servername.c_str());
-00261                 if (cn)
-00262                 {
-00263                         if (cn->GetState() == STATE_DISCONNECTED)
-00264                         {
-00265                                 for (int k = 0; k < me[x]->connectors.size(); k++)
-00266                                 {
-00267                                         for (int m = 0; m < me[x]->connectors[k].routes.size(); m++)
-00268                                         {
-00269                                                 if (!strcasecmp(me[x]->connectors[k].routes[m].c_str(),servername.c_str()))
-00270                                                 {
-00271                                                         return true;
-00272                                                 }
-00273                                         }
-00274                                 }
-00275                                 return false;
-00276                         }
-00277                         else return true;
-00278                 }
-00279         }
-00280         return false;
-00281 }
+00258         int c = 0;
+00259         for (int x = 0; x < 32; x++)
+00260         if (me[x])
+00261         {
+00262                 for (int i = 0; i < me[x]->connectors.size(); i++)
+00263                 {
+00264                         if ((me[x]->connectors[i].GetServerName() == servername) && (me[x]->connectors[i].GetState() != STATE_DISCONNECTED))
+00265                         {
+00266                                 c++;
+00267                         }
+00268                 }
+00269         }
+00270         return (c != 0);
+00271 }
 
@@ -189,7 +179,7 @@ Referenced by serverrec::Fl

Definition at line 42 of file servers.cpp.

-Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket(). +Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().

@@ -248,7 +238,7 @@ Definition at line 40 o -
time_t TIME + time_t TIME
@@ -289,10 +279,10 @@ Definition at line 37 o

Definition at line 44 of file servers.cpp.

-Referenced by already_have_sum(). +Referenced by already_have_sum(). -


Generated on Wed May 25 22:02:38 2005 for InspIRCd by +
Generated on Mon May 30 05:16:12 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3