diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-05 17:38:08 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-05 17:45:59 +0200 |
commit | 88f75857702bcc6a2a423570912140c125ec518a (patch) | |
tree | a1ec54e2520e076395208872d36606f917c8ca34 /lib/sqfs/deserialize_fstree.c | |
parent | 3a340b12eb9b7ed86a47391345cb836fa662b2d9 (diff) |
cleanup: unify all the code that reads squashfs images
This commit creates a new data structure called 'sqfs_reader_t' that
takes care of all the repetetive tasks like opening the file, reading
the super block, creating the compressor, deserializing an fstree and
creating a data reader.
This in turn makes it possible to remove all the duplicate code from
rdsquashfs and sqfs2tar.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/deserialize_fstree.c')
0 files changed, 0 insertions, 0 deletions