diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-29 01:21:39 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-29 01:21:39 +0200 |
commit | 9d1d9ec6dfd525a392ac158609da6153f6525046 (patch) | |
tree | 031985a33cdfa19e92cdc491b6e1095f001e94ec /include/util | |
parent | 2285036e10863aba48dc6eed3c1a791118d11956 (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.h | 1 |
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, |