summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/table.h18
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 */