diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-09 11:43:15 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-09 12:11:12 +0200 |
commit | b3c3401aee91bc2ff46ba0eab0ceb88c78cb5bbb (patch) | |
tree | 097241e9080420385db37a3985c5beabe42cb57b /difftool/difftool.h | |
parent | fd98948e840f6e67cd2d7c72f57d2fd80ed9a418 (diff) |
Add option to sqfsdiff to extract regular files that are different
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/difftool.h')
-rw-r--r-- | difftool/difftool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/difftool/difftool.h b/difftool/difftool.h index 23a161c..bd04fd2 100644 --- a/difftool/difftool.h +++ b/difftool/difftool.h @@ -35,6 +35,7 @@ enum { COMPARE_NO_CONTENTS = 0x04, COMPARE_TIMESTAMP = 0x08, COMPARE_INODE_NUM = 0x10, + COMPARE_EXTRACT_FILES = 0x20, }; int compare_dir_entries(tree_node_t *a, tree_node_t *b); @@ -47,4 +48,6 @@ int node_compare(tree_node_t *a, tree_node_t *b); int compare_super_blocks(const sqfs_super_t *a, const sqfs_super_t *b); +int extract_files(file_info_t *a, file_info_t *b, const char *path); + #endif /* DIFFTOOL_H */ |