summaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fstree.h')
-rw-r--r--include/fstree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 284792b..ef2ffb1 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -254,4 +254,12 @@ int fstree_relabel_selinux(fstree_t *fs, const char *filename);
/* Returns 0 on success. Prints to stderr on failure */
int fstree_gen_inode_table(fstree_t *fs);
+/*
+ Generate a string holding the full path of a node. Returned
+ string must be freed.
+
+ Returns NULL on failure and sets errno.
+*/
+char *fstree_get_path(tree_node_t *node);
+
#endif /* FSTREE_H */