diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 17:47:19 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-25 17:47:19 +0200 |
commit | 3511b1fa7c6f71c579e161951e945904e552e1d9 (patch) | |
tree | 55fa94e5daef7bcc8e4b650f27d05af49fd1b02d /include/highlevel.h | |
parent | 4d79f55f4a626a3cfd8bd18673aa29b48b16e137 (diff) |
Remove condensed sparse file handling from libsquashfs
This only exists for tar2sqfs. Move the sparse file map to libtar
and add the ability to do this into the stind sqfs_file_t abstraction,
so it acts like a normal file but internally stitches the data
together from the sparse implementation.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r-- | include/highlevel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/highlevel.h b/include/highlevel.h index ed0f4bf..bfc2d91 100644 --- a/include/highlevel.h +++ b/include/highlevel.h @@ -23,6 +23,7 @@ #include "sqfs/data_reader.h" #include "data_writer.h" #include "fstree.h" +#include "tar.h" #include <sys/stat.h> #include <stdint.h> @@ -83,6 +84,6 @@ int sqfs_data_reader_dump(sqfs_data_reader_t *data, const sqfs_inode_generic_t *inode, int outfd, size_t block_size, bool allow_sparse); -sqfs_file_t *sqfs_get_stdin_file(uint64_t size); +sqfs_file_t *sqfs_get_stdin_file(const sparse_map_t *map, uint64_t size); #endif /* HIGHLEVEL_H */ |