From 9eec700a703f62e27768f37a1c6c0e859212320c Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 1 May 2019 02:24:22 +0200 Subject: Write out the missing tables Signed-off-by: David Oberhollenzer --- include/table.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/table.h (limited to 'include') diff --git a/include/table.h b/include/table.h new file mode 100644 index 0000000..5a39797 --- /dev/null +++ b/include/table.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +#ifndef TABLE_H +#define TABLE_H + +#include "squashfs.h" +#include "compress.h" + +#include +#include + +int sqfs_write_fragment_table(int outfd, sqfs_super_t *super, + sqfs_fragment_t *fragments, size_t count, + compressor_t *cmp); + +int sqfs_write_ids(int outfd, sqfs_super_t *super, uint32_t *id_tbl, + size_t count, compressor_t *cmp); + +#endif /* TABLE_H */ -- cgit v1.2.3