From 03916fcbb453684fa13135e2b46f5a82d13d78a7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 2 May 2019 08:46:40 +0200 Subject: unsquashfs: restore fstree from image Signed-off-by: David Oberhollenzer --- unpack/unsquashfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unpack/unsquashfs.h') diff --git a/unpack/unsquashfs.h b/unpack/unsquashfs.h index e50646d..5553012 100644 --- a/unpack/unsquashfs.h +++ b/unpack/unsquashfs.h @@ -2,6 +2,7 @@ #ifndef UNSQUASHFS_H #define UNSQUASHFS_H +#include "meta_reader.h" #include "squashfs.h" #include "compress.h" #include "id_table.h" @@ -18,4 +19,6 @@ tree_node_t *tree_node_from_inode(sqfs_inode_generic_t *inode, const char *name, size_t block_size); +int read_fstree(fstree_t *out, int fd, sqfs_super_t *super, compressor_t *cmp); + #endif /* UNSQUASHFS_H */ -- cgit v1.2.3