aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_tunnel_tree.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-19 13:48:34 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-19 13:48:34 +0000
commit4e63debfc95ce68336d16711d0469aac5bb6954a (patch)
tree341ec35d1f62e817483c4b6c90bff6d03436e436 /src/mesh/mesh_tunnel_tree.h
parent83d0dccb750279dcd0e3ec1635b4952d2e42cb1e (diff)
downloadgnunet-4e63debfc95ce68336d16711d0469aac5bb6954a.tar.gz
gnunet-4e63debfc95ce68336d16711d0469aac5bb6954a.zip
Added peer in tunnel deletion, changes to tree management
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r--src/mesh/mesh_tunnel_tree.h14
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 */
359int
360tree_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