aboutsummaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-11-01 13:06:47 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-30 22:31:30 +0200
commitdba5a02426d942fa5a1a8be83a9f198a5f413d4b (patch)
tree31249e1196c8b43f4a84036b550d20b399b9dd8e /include/fstree.h
parent2b84065a0f82e71e3f82fcd3148daa29f35a6597 (diff)
Add a rudimentary unit test for sort files
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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 9868e8e..aa8efd5 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -195,6 +195,9 @@ tree_node_t *fstree_add_generic(fstree_t *fs, const char *path,
int fstree_from_file(fstree_t *fs, const char *filename,
const char *basepath);
+int fstree_from_file_stream(fstree_t *fs, istream_t *file,
+ const char *basepath);
+
/*
This function performs all the necessary post processing steps on the file
system tree, i.e. recursively sorting all directory entries by name,