MeshWholeTreeCallback cb,
void *cb_cls);
+/**
+ * Count how many children does the local node have in the tree.
+ *
+ * @param tree Tree to use. Must have "me" set.
+ */
+unsigned int
+tree_count_children (struct MeshTunnelTree *tree);
+
/**
* Recusively update the info about what is the first hop to reach the node
* If the tree is not local and no longer has any paths, the root node will be
* destroyed and marked as NULL.
*
+ * FIXME: dont destroy the root
+ *
* @param t Tunnel tree to use.
* @param peer Short ID of the peer to remove from the tunnel tree.
* @param cb Callback to notify client of disconnected peers.