diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-14 17:57:58 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-14 18:06:04 +0200 |
commit | e165fb864fe86eda398a14713cf38924cc537adc (patch) | |
tree | 217b80d56b1d8c21f3387390db06e525b2f9f064 /include/highlevel.h | |
parent | f57814332a69bebc40e25e6537a3c08fc9e18f97 (diff) |
Remove fstree file flags
As a side effect, this requires the data writer to keep track of
statistics.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r-- | include/highlevel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/highlevel.h b/include/highlevel.h index 4c560f7..8173d6f 100644 --- a/include/highlevel.h +++ b/include/highlevel.h @@ -19,6 +19,7 @@ #include "sqfs/dir.h" #include "sqfs/io.h" #include "data_reader.h" +#include "data_writer.h" #include "fstree.h" #include <stdint.h> @@ -63,8 +64,7 @@ int sqfs_serialize_fstree(sqfs_file_t *file, sqfs_super_t *super, fstree_t *fs, */ tree_node_t *tree_node_from_inode(sqfs_inode_generic_t *inode, const sqfs_id_table_t *idtbl, - const char *name, - size_t block_size); + const char *name); /* Restore a file system tree from a squashfs image. The given flags are a @@ -92,7 +92,7 @@ int write_export_table(sqfs_file_t *file, fstree_t *fs, sqfs_super_t *super, sqfs_compressor_t *cmp); /* Print out fancy statistics for squashfs packing tools */ -void sqfs_print_statistics(fstree_t *fs, sqfs_super_t *super); +void sqfs_print_statistics(sqfs_super_t *super, data_writer_stats_t *stats); /* Open a squashfs file, extract all the information we may need and construct datastructures we need to access its contents. |