summaryrefslogtreecommitdiff
path: root/difftool/difftool.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-07 11:09:34 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-07 11:24:20 +0200
commitd6149732b67fbedc7ac2d2ba984c07ab466392f1 (patch)
tree80e0fd22e6110fb1c5b977ac687479d9f7a9a21a /difftool/difftool.h
parent73b4ec8392541a27815bccbaeccbdf1cdd5e19dd (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/difftool.h')
-rw-r--r--difftool/difftool.h4
1 files changed, 4 insertions, 0 deletions
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,