summaryrefslogtreecommitdiff
path: root/unpack/unsquashfs.h
diff options
context:
space:
mode:
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 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 */