[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16726 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16726 - gnunet/src/transport |
Date: |
Wed, 7 Sep 2011 18:16:00 +0200 |
Author: wachs
Date: 2011-09-07 18:16:00 +0200 (Wed, 07 Sep 2011)
New Revision: 16726
Modified:
gnunet/src/transport/transport.h
Log:
Modified: gnunet/src/transport/transport.h
===================================================================
--- gnunet/src/transport/transport.h 2011-09-07 16:07:48 UTC (rev 16725)
+++ gnunet/src/transport/transport.h 2011-09-07 16:16:00 UTC (rev 16726)
@@ -30,7 +30,7 @@
#include "gnunet_time_lib.h"
#include "gnunet_transport_service.h"
-#define DEBUG_TRANSPORT 3
+#define DEBUG_TRANSPORT GNUNET_YES
#define DEBUG_TRANSPORT_TIMEOUT GNUNET_NO
@@ -355,7 +355,7 @@
/**
* Message from the library to the transport service
- * asking for human readable addresses known for a peer.
+ * asking for binary addresses known for a peer.
*/
struct AddressIterateMessage
{
@@ -375,7 +375,39 @@
struct GNUNET_TIME_AbsoluteNBO timeout;
};
+/**
+ * Message from the library to the transport service
+ * asking for human readable addresses known for a peer.
+ */
+struct AddressIterateResponseMessage
+{
+ /**
+ * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_REPLY
+ */
+ struct GNUNET_MessageHeader header;
+ /**
+ * For alignment.
+ */
+ uint32_t reserved;
+
+ /**
+ * Peer identity
+ */
+ struct GNUNET_PeerIdentity peer;
+
+ /**
+ * address length
+ */
+ uint32_t addrlen GNUNET_PACKED;
+
+ /**
+ * length of the plugin name
+ */
+ uint32_t pluginlen GNUNET_PACKED;
+};
+
+
/**
* Change in blacklisting (either request or notification,
* depending on which direction it is going).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16726 - gnunet/src/transport,
gnunet <=