diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-08 23:14:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-08 23:14:40 +0000 |
commit | c8672808c62055b755bae25964565353cfd05051 (patch) | |
tree | f0c5c8b832349b0e99cca35f651d4cd58a52fd76 /src/include/gnunet_transport_service.h | |
parent | f040dc7945a9f13204eb5820420c59e7d3178fb6 (diff) | |
download | gnunet-c8672808c62055b755bae25964565353cfd05051.tar.gz gnunet-c8672808c62055b755bae25964565353cfd05051.zip |
API cleanup, rename GNUNET_TRANSPORT_check_neighbour_connected to GNUNET_TRANSPORT_check_peer_connected
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r-- | src/include/gnunet_transport_service.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 817d3a18f..4b0735b10 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -265,16 +265,15 @@ struct GNUNET_TRANSPORT_GetHelloHandle; | |||
265 | 265 | ||
266 | 266 | ||
267 | /** | 267 | /** |
268 | * Checks if a neighbour is connected | 268 | * Checks if a given peer is connected to us |
269 | * | 269 | * |
270 | * @param handle connection to transport service | 270 | * @param handle connection to transport service |
271 | * @param peer the peer to check | 271 | * @param peer the peer to check |
272 | * @return GNUNET_YES or GNUNET_NO | 272 | * @return #GNUNET_YES (connected) or #GNUNET_NO (disconnected) |
273 | * | 273 | */ |
274 | */ | ||
275 | int | 274 | int |
276 | GNUNET_TRANSPORT_check_neighbour_connected (struct GNUNET_TRANSPORT_Handle *handle, | 275 | GNUNET_TRANSPORT_check_peer_connected (struct GNUNET_TRANSPORT_Handle *handle, |
277 | const struct GNUNET_PeerIdentity *peer); | 276 | const struct GNUNET_PeerIdentity *peer); |
278 | 277 | ||
279 | 278 | ||
280 | /** | 279 | /** |