diff options
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.h | 8 |
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 | */ |
220 | void | 221 | void |
221 | tree_mark_peers_disconnected (struct MeshTunnelTreeNode *parent, | 222 | tree_mark_peers_disconnected (struct MeshTunnelTree *tree, |
222 | MeshNodeDisconnectCB cb); | 223 | struct MeshTunnelTreeNode *parent, |
224 | MeshNodeDisconnectCB cb); | ||
223 | 225 | ||
224 | 226 | ||
225 | /** | 227 | /** |