diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-08 16:47:03 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-08 16:47:03 +0000 |
commit | 51204303f98feef6d3f100ac0a344294a091fbe5 (patch) | |
tree | a04e1260d8ce79a0e74120c3cf1716b8dc37d22e /src/transport/transport.h | |
parent | 893a40187d3343a46294d657a915bdb663c49536 (diff) | |
download | gnunet-51204303f98feef6d3f100ac0a344294a091fbe5.tar.gz gnunet-51204303f98feef6d3f100ac0a344294a091fbe5.zip |
connected peer lookup
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 73ebe6820..133eb6887 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -312,7 +312,27 @@ struct AddressLookupMessage | |||
312 | followed by the 0-terminated name of the transport */ | 312 | followed by the 0-terminated name of the transport */ |
313 | }; | 313 | }; |
314 | 314 | ||
315 | /** | ||
316 | * Message from the library to the transport service | ||
317 | * asking for human readable addresses known for a peer. | ||
318 | */ | ||
319 | struct PeerAddressLookupMessage | ||
320 | { | ||
321 | /** | ||
322 | * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_PEER_ADDRESS_LOOKUP | ||
323 | */ | ||
324 | struct GNUNET_MessageHeader header; | ||
325 | |||
326 | /** | ||
327 | * timeout to give up. | ||
328 | */ | ||
329 | struct GNUNET_TIME_AbsoluteNBO timeout; | ||
315 | 330 | ||
331 | /** | ||
332 | * The identity of the peer to look up. | ||
333 | */ | ||
334 | struct GNUNET_PeerIdentity peer; | ||
335 | }; | ||
316 | 336 | ||
317 | /** | 337 | /** |
318 | * Change in blacklisting (either request or notification, | 338 | * Change in blacklisting (either request or notification, |