diff options
Diffstat (limited to 'include/tar')
-rw-r--r-- | include/tar/tar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/tar/tar.h b/include/tar/tar.h index 52a0562..811ac47 100644 --- a/include/tar/tar.h +++ b/include/tar/tar.h @@ -39,6 +39,11 @@ typedef struct { sqfs_s64 mtime; } tar_header_decoded_t; +typedef struct { + char **excludedirs; + size_t num_excludedirs; +} tar_iterator_opts; + #ifdef __cplusplus extern "C" { #endif @@ -63,7 +68,7 @@ int read_header(sqfs_istream_t *fp, tar_header_decoded_t *out); void clear_header(tar_header_decoded_t *hdr); -dir_iterator_t *tar_open_stream(sqfs_istream_t *stream); +dir_iterator_t *tar_open_stream(sqfs_istream_t *stream, tar_iterator_opts *opts); /* Write zero bytes to an output file to padd it to the tar record size. |