diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-03 21:44:59 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-03 21:45:46 +0200 |
commit | 9de5c93986bc6a4b33f3f50ed2a94c9aa3a33c7f (patch) | |
tree | 592a91bb99de624139de9f64d0fc4e2716889891 /unpack/unsquashfs.h | |
parent | 11163f69106c88736499ca3ec3a9972bcdcd0c26 (diff) |
unsquashfs: add code to unpack the entire file system
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/unsquashfs.h')
-rw-r--r-- | unpack/unsquashfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unpack/unsquashfs.h b/unpack/unsquashfs.h index 0e8854b..5895fb8 100644 --- a/unpack/unsquashfs.h +++ b/unpack/unsquashfs.h @@ -31,4 +31,7 @@ void list_files(tree_node_t *node); int extract_file(file_info_t *fi, compressor_t *cmp, size_t block_size, frag_reader_t *frag, int sqfsfd, int outfd); +int restore_fstree(const char *rootdir, tree_node_t *root, compressor_t *cmp, + size_t block_size, frag_reader_t *frag, int sqfsfd); + #endif /* UNSQUASHFS_H */ |