aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-01-30 02:11:25 +0000
committerBart Polot <bart@net.in.tum.de>2014-01-30 02:11:25 +0000
commitd76e9cd32dacfc22d6884648748449aa29a8853d (patch)
treef8cca3130c09f45d13396a4b9d458b6e45d847ea /src/include
parenta0d89dff8cb4fb57ffd26be1b4dad069523d7be3 (diff)
downloadgnunet-d76e9cd32dacfc22d6884648748449aa29a8853d.tar.gz
gnunet-d76e9cd32dacfc22d6884648748449aa29a8853d.zip
- expand peer info API callback
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_mesh_service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h
index 51e22a9fe..40a4060db 100644
--- a/src/include/gnunet_mesh_service.h
+++ b/src/include/gnunet_mesh_service.h
@@ -400,12 +400,14 @@ typedef void (*GNUNET_MESH_ChannelCB) (void *cls,
400 * @param cls Closure. 400 * @param cls Closure.
401 * @param peer Peer, or NULL on "EOF". 401 * @param peer Peer, or NULL on "EOF".
402 * @param tunnel Do we have a tunnel towards this peer? 402 * @param tunnel Do we have a tunnel towards this peer?
403 * @param n_paths Number of known paths towards this peer.
403 * @param best_path How long is the best path? 404 * @param best_path How long is the best path?
404 * (0 = unknown, 1 = ourselves, 2 = neighbor) 405 * (0 = unknown, 1 = ourselves, 2 = neighbor)
405 */ 406 */
406typedef void (*GNUNET_MESH_PeersCB) (void *cls, 407typedef void (*GNUNET_MESH_PeersCB) (void *cls,
407 const struct GNUNET_PeerIdentity *peer, 408 const struct GNUNET_PeerIdentity *peer,
408 int tunnel, unsigned int best_path); 409 int tunnel, unsigned int n_paths,
410 unsigned int best_path);
409 411
410 412
411/** 413/**