aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_tunnel_tree.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-09-21 19:51:37 +0000
committerBart Polot <bart@net.in.tum.de>2011-09-21 19:51:37 +0000
commit739aec3d1590e7c80d1322608781cf140c0e9f6a (patch)
tree41cb6387fd9ca8726cddcd320d6ec73b020b575d /src/mesh/mesh_tunnel_tree.h
parentd3efb620d2503fce79fb4772ce6cc5eefde3a740 (diff)
downloadgnunet-739aec3d1590e7c80d1322608781cf140c0e9f6a.tar.gz
gnunet-739aec3d1590e7c80d1322608781cf140c0e9f6a.zip
Fixed memory leaks
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r--src/mesh/mesh_tunnel_tree.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h
index 05972e0fe..4d46d734f 100644
--- a/src/mesh/mesh_tunnel_tree.h
+++ b/src/mesh/mesh_tunnel_tree.h
@@ -119,7 +119,7 @@ struct MeshTunnelTree
119 119
120 /** 120 /**
121 * Cache of all peers and the first hop to them. 121 * Cache of all peers and the first hop to them.
122 * Indexed by Peer_Identity, contains a pointer to the PeerIdentity 122 * Indexed by PeerIdentity, contains a pointer to the PeerIdentity
123 * of 1st hop. 123 * of 1st hop.
124 */ 124 */
125 struct GNUNET_CONTAINER_MultiHashMap *first_hops; 125 struct GNUNET_CONTAINER_MultiHashMap *first_hops;
@@ -214,12 +214,14 @@ tree_find_peer (struct MeshTunnelTreeNode *root, GNUNET_PEER_Id peer_id);
214/** 214/**
215 * Recusively mark peer and children as disconnected, notify client 215 * Recusively mark peer and children as disconnected, notify client
216 * 216 *
217 * @param tree Tree this node belongs to
217 * @param parent Node to be clean, potentially with children 218 * @param parent Node to be clean, potentially with children
218 * @param cb Callback to use to notify about disconnected peers 219 * @param cb Callback to use to notify about disconnected peers
219 */ 220 */
220void 221void
221tree_mark_peers_disconnected (struct MeshTunnelTreeNode *parent, 222tree_mark_peers_disconnected (struct MeshTunnelTree *tree,
222 MeshNodeDisconnectCB cb); 223 struct MeshTunnelTreeNode *parent,
224 MeshNodeDisconnectCB cb);
223 225
224 226
225/** 227/**