diff options
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r-- | src/include/gnunet_transport_service.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 9a7093a10..607389ae7 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -645,6 +645,22 @@ GNUNET_TRANSPORT_address_lookup (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
645 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, | 645 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, |
646 | void *aluc_cls); | 646 | void *aluc_cls); |
647 | 647 | ||
648 | /** | ||
649 | * Return all the known addresses for a peer. | ||
650 | * | ||
651 | * @param cfg configuration to use | ||
652 | * @param peer peer identity to look up the addresses of | ||
653 | * @param timeout how long is the lookup allowed to take at most | ||
654 | * @param peer_address_callback function to call with the results | ||
655 | * @param peer_address_callback_cls closure for peer_address_callback | ||
656 | */ | ||
657 | void | ||
658 | GNUNET_TRANSPORT_peer_address_lookup (const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
659 | const struct GNUNET_PeerIdentity *peer, | ||
660 | struct GNUNET_TIME_Relative timeout, | ||
661 | GNUNET_TRANSPORT_AddressLookUpCallback peer_address_callback, | ||
662 | void *peer_address_callback_cls); | ||
663 | |||
648 | 664 | ||
649 | 665 | ||
650 | /** | 666 | /** |