summaryrefslogtreecommitdiff
path: root/unpack/unsquashfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-02 08:46:40 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-03 21:45:46 +0200
commit03916fcbb453684fa13135e2b46f5a82d13d78a7 (patch)
treea0ef9caedfbbec98915b4675fccb8717ce58fd91 /unpack/unsquashfs.h
parent83183717feca5c673d614e341bfca49fae9a8001 (diff)
unsquashfs: restore fstree from image
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/unsquashfs.h')
-rw-r--r--unpack/unsquashfs.h3
1 files changed, 3 insertions, 0 deletions
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 */