summaryrefslogtreecommitdiff
path: root/mkfs/mksquashfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-04-30 12:26:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-02 12:40:06 +0200
commit02232ffdbd7b927b71a9f38f4b78bbf99c675ec5 (patch)
tree228e5c749ce767f33b67f51cdc41c726cd1bb696 /mkfs/mksquashfs.h
parent0e3c3e7f8dc80c37a80d14942621206c0c4f7de3 (diff)
Add super block and padding functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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 */