summaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fstree.h')
-rw-r--r--include/fstree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 6c2ec0b..ea7cf88 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -265,4 +265,7 @@ tree_node_t *tree_node_list_sort(tree_node_t *head);
/* ASCIIbetically sort all sub directories recursively */
void tree_node_sort_recursive(tree_node_t *root);
+/* resolve a path to a tree node. Returns NULL on failure and sets errno */
+tree_node_t *fstree_node_from_path(fstree_t *fs, const char *path);
+
#endif /* FSTREE_H */