summaryrefslogtreecommitdiff
path: root/mkfs/mksquashfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mksquashfs.h')
-rw-r--r--mkfs/mksquashfs.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/mkfs/mksquashfs.h b/mkfs/mksquashfs.h
new file mode 100644
index 0000000..8dda29c
--- /dev/null
+++ b/mkfs/mksquashfs.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+#ifndef MKSQUASHFS_H
+#define MKSQUASHFS_H
+
+#include "squashfs.h"
+#include "options.h"
+#include "fstree.h"
+
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+
+int sqfs_super_init(sqfs_super_t *s, const options_t *opt);
+
+int sqfs_padd_file(sqfs_super_t *s, const options_t *opt, int outfd);
+
+int sqfs_super_write(const sqfs_super_t *super, int outfd);
+
+#endif /* MKSQUASHFS_H */