From d76e9cd32dacfc22d6884648748449aa29a8853d Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 30 Jan 2014 02:11:25 +0000 Subject: - expand peer info API callback --- src/include/gnunet_mesh_service.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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, * @param cls Closure. * @param peer Peer, or NULL on "EOF". * @param tunnel Do we have a tunnel towards this peer? + * @param n_paths Number of known paths towards this peer. * @param best_path How long is the best path? * (0 = unknown, 1 = ourselves, 2 = neighbor) */ typedef void (*GNUNET_MESH_PeersCB) (void *cls, const struct GNUNET_PeerIdentity *peer, - int tunnel, unsigned int best_path); + int tunnel, unsigned int n_paths, + unsigned int best_path); /** -- cgit v1.2.3