[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10045 - gnunet/src/topology
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10045 - gnunet/src/topology |
Date: |
Mon, 18 Jan 2010 11:21:54 +0100 |
Author: grothoff
Date: 2010-01-18 11:21:54 +0100 (Mon, 18 Jan 2010)
New Revision: 10045
Modified:
gnunet/src/topology/gnunet-daemon-topology.c
Log:
cleaner code
Modified: gnunet/src/topology/gnunet-daemon-topology.c
===================================================================
--- gnunet/src/topology/gnunet-daemon-topology.c 2010-01-18 10:21:20 UTC
(rev 10044)
+++ gnunet/src/topology/gnunet-daemon-topology.c 2010-01-18 10:21:54 UTC
(rev 10045)
@@ -139,6 +139,35 @@
/**
+ * Entry in linked list of active 'disconnect' requests that we have issued.
+ */
+struct DisconnectList
+{
+ /**
+ * This is a doubly-linked list.
+ */
+ struct DisconnectList *next;
+
+ /**
+ * This is a doubly-linked list.
+ */
+ struct DisconnectList *prev;
+
+ /**
+ * Our request handle.
+ */
+ struct GNUNET_CORE_InformationRequestContext *rh;
+
+ /**
+ * Peer we tried to disconnect.
+ */
+ struct GNUNET_PeerIdentity peer;
+
+};
+
+
+
+/**
* Our peerinfo notification context. We use notification
* to instantly learn about new peers as they are discovered
* as well as periodic iteration to try peers again after
@@ -230,36 +259,7 @@
*/
static struct GNUNET_PEERINFO_IteratorContext *pitr_more;
-
/**
- * Entry in linked list of active 'disconnect' requests that we have issued.
- */
-struct DisconnectList
-{
- /**
- * This is a doubly-linked list.
- */
- struct DisconnectList *next;
-
- /**
- * This is a doubly-linked list.
- */
- struct DisconnectList *prev;
-
- /**
- * Our request handle.
- */
- struct GNUNET_CORE_InformationRequestContext *rh;
-
- /**
- * Peer we tried to disconnect.
- */
- struct GNUNET_PeerIdentity peer;
-
-};
-
-
-/**
* Head of doubly-linked list of active 'disconnect' requests that we have
issued.
*/
static struct DisconnectList *disconnect_head;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10045 - gnunet/src/topology,
gnunet <=