diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-11 09:40:00 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-11 09:40:00 +0000 |
commit | 39c000246382f7772c3c6bb4c889373da5df5a9d (patch) | |
tree | f771bebf089ecd05baab8416347ca5f411b16c6e /src/transport/transport_api_peer_address_lookup.c | |
parent | 1e463296e3635a4a82584a3c4e205e096ce53ad1 (diff) | |
download | gnunet-39c000246382f7772c3c6bb4c889373da5df5a9d.tar.gz gnunet-39c000246382f7772c3c6bb4c889373da5df5a9d.zip |
tool to list transport level connections
Diffstat (limited to 'src/transport/transport_api_peer_address_lookup.c')
-rw-r--r-- | src/transport/transport_api_peer_address_lookup.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/transport/transport_api_peer_address_lookup.c b/src/transport/transport_api_peer_address_lookup.c index 6eb241078..2da4b6c69 100644 --- a/src/transport/transport_api_peer_address_lookup.c +++ b/src/transport/transport_api_peer_address_lookup.c | |||
@@ -17,6 +17,18 @@ | |||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | |||
21 | /** | ||
22 | * @file transport/transport_api_peer_address_lookup.c | ||
23 | * @brief given a peer id, get all known addresses from transport service | ||
24 | * | ||
25 | * This api provides the ability to query the transport service about | ||
26 | * the status of connections to a specific peer. Calls back with a | ||
27 | * pretty printed string of the address, as formatted by the appropriate | ||
28 | * transport plugin, and whether or not the address given is currently | ||
29 | * in the 'connected' state (according to the transport service). | ||
30 | */ | ||
31 | |||
20 | #include "platform.h" | 32 | #include "platform.h" |
21 | #include "gnunet_client_lib.h" | 33 | #include "gnunet_client_lib.h" |
22 | #include "gnunet_arm_service.h" | 34 | #include "gnunet_arm_service.h" |