diff options
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h index 82a1d1d1b..d0976579f 100644 --- a/src/mesh/mesh_tunnel_tree.h +++ b/src/mesh/mesh_tunnel_tree.h | |||
@@ -348,6 +348,20 @@ tree_notify_connection_broken (struct MeshTunnelTree *t, | |||
348 | 348 | ||
349 | 349 | ||
350 | /** | 350 | /** |
351 | * Deletes a peer from a tunnel, marking its children as disconnected. | ||
352 | * | ||
353 | * @param t Tunnel tree to use. | ||
354 | * @param peer Short ID of the peer to remove from the tunnel tree. | ||
355 | * @param cb Callback to notify client of disconnected peers. | ||
356 | * | ||
357 | * @return GNUNET_OK or GNUNET_SYSERR | ||
358 | */ | ||
359 | int | ||
360 | tree_del_peer (struct MeshTunnelTree *t, | ||
361 | GNUNET_PEER_Id peer, | ||
362 | MeshNodeDisconnectCB cb); | ||
363 | |||
364 | /** | ||
351 | * Print the tree on stderr | 365 | * Print the tree on stderr |
352 | * | 366 | * |
353 | * @param t The tree | 367 | * @param t The tree |