aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-29 01:21:39 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-29 01:21:39 +0200
commit9d1d9ec6dfd525a392ac158609da6153f6525046 (patch)
tree031985a33cdfa19e92cdc491b6e1095f001e94ec /include/util
parent2285036e10863aba48dc6eed3c1a791118d11956 (diff)
libutil: Add an option to the dir_tree_iterator_t to add a path prefix
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/util')
-rw-r--r--include/util/dir_tree_iterator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util/dir_tree_iterator.h b/include/util/dir_tree_iterator.h
index 3c624c9..c865738 100644
--- a/include/util/dir_tree_iterator.h
+++ b/include/util/dir_tree_iterator.h
@@ -26,6 +26,7 @@ enum {
typedef struct {
sqfs_u32 flags;
sqfs_s64 def_mtime;
+ const char *prefix;
} dir_tree_cfg_t;
dir_iterator_t *dir_tree_iterator_create(const char *path,