summaryrefslogtreecommitdiff
path: root/unpack/rdsquashfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-11 17:56:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-11 18:04:04 +0200
commitcfbbe12db970b266186775350267f163967d2ede (patch)
tree4a315590c0f83f475c8fb1270a8180fbed9a6ff1 /unpack/rdsquashfs.h
parent578fc9124db4c50ca8c5fac865296139be8c8dfd (diff)
cleanup: get rid of unsqfs_info_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/rdsquashfs.h')
-rw-r--r--unpack/rdsquashfs.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/unpack/rdsquashfs.h b/unpack/rdsquashfs.h
index b927bab..959960a 100644
--- a/unpack/rdsquashfs.h
+++ b/unpack/rdsquashfs.h
@@ -26,18 +26,10 @@ enum UNPACK_FLAGS {
UNPACK_QUIET = 0x04,
};
-typedef struct {
- data_reader_t *data;
- compressor_t *cmp;
- int rdtree_flags;
- int sqfsfd;
- int flags;
-} unsqfs_info_t;
-
void list_files(tree_node_t *node);
int restore_fstree(const char *rootdir, tree_node_t *root,
- unsqfs_info_t *info);
+ data_reader_t *data, int flags);
void describe_tree(tree_node_t *root, const char *unpack_root);