From d6149732b67fbedc7ac2d2ba984c07ab466392f1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 7 Aug 2019 11:09:34 +0200 Subject: Extend filesystem diff utility to work on squashfs images Since it already works on an fstree_t instance (constructed from the input paths), and we now have a handy sqfs_reader_t, it is quite simple to extend. Signed-off-by: David Oberhollenzer --- difftool/difftool.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'difftool/difftool.h') diff --git a/difftool/difftool.h b/difftool/difftool.h index 0dea6d5..f7739c4 100644 --- a/difftool/difftool.h +++ b/difftool/difftool.h @@ -8,6 +8,8 @@ #define DIFFTOOL_H #include "config.h" + +#include "highlevel.h" #include "fstree.h" #include "util.h" @@ -24,6 +26,8 @@ extern const char *first_path; extern const char *second_path; extern int compare_flags; +extern sqfs_reader_t sqfs_a; +extern sqfs_reader_t sqfs_b; enum { COMPARE_NO_PERM = 0x01, -- cgit v1.2.3