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/Makemodule.am | |
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/Makemodule.am')
-rw-r--r-- | lib/Makemodule.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am index c3451f4..82c910c 100644 --- a/lib/Makemodule.am +++ b/lib/Makemodule.am @@ -39,6 +39,7 @@ libsquashfs_a_SOURCES += include/data_writer.h include/xattr_reader.h libsquashfs_a_SOURCES += include/data_reader.h lib/sqfs/data_reader.c libsquashfs_a_SOURCES += lib/sqfs/write_export_table.c libsquashfs_a_SOURCES += lib/sqfs/read_table.c lib/sqfs/statistics.c +libsquashfs_a_SOURCES += lib/sqfs/sqfs_reader.c libutil_a_SOURCES = lib/util/canonicalize_name.c lib/util/write_data.c libutil_a_SOURCES += lib/util/read_data.c include/util.h |