aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mesh_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_mesh_service.h')
-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/**