diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-01 02:24:22 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-02 12:40:06 +0200 |
commit | 9eec700a703f62e27768f37a1c6c0e859212320c (patch) | |
tree | ee3101c2dd9a1b6c2b4c272097120c85dca0a133 /include | |
parent | 083988ab0f58b334fa64e376e6c8231f60894d40 (diff) |
Write out the missing tables
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/table.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <stdint.h> +#include <stddef.h> + +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 */ |