diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:25 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:25 +0000 |
commit | d76e9cd32dacfc22d6884648748449aa29a8853d (patch) | |
tree | f8cca3130c09f45d13396a4b9d458b6e45d847ea /src | |
parent | a0d89dff8cb4fb57ffd26be1b4dad069523d7be3 (diff) | |
download | gnunet-d76e9cd32dacfc22d6884648748449aa29a8853d.tar.gz gnunet-d76e9cd32dacfc22d6884648748449aa29a8853d.zip |
- expand peer info API callback
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_mesh_service.h | 4 |
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 | */ |
406 | typedef void (*GNUNET_MESH_PeersCB) (void *cls, | 407 | typedef 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 | /** |