aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-15 23:03:33 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-15 23:04:15 +0200
commit69742b622a228babad255cbd64330d04c39c7e81 (patch)
tree44f4e58b22d2b4fb5138f02f801f039f7fbaddb2 /include
parent108707d3466877c0919c9a5f35f4c7d06961e283 (diff)
libfstree.a: add function to get struct stat from tree node
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/fstree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 3979503..23cf967 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -254,4 +254,7 @@ int fstree_gen_inode_table(fstree_t *fs);
*/
char *fstree_get_path(tree_node_t *node);
+/* get a struct stat from a tree node */
+void fstree_node_stat(fstree_t *fs, tree_node_t *node, struct stat *sb);
+
#endif /* FSTREE_H */