From 02232ffdbd7b927b71a9f38f4b78bbf99c675ec5 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 30 Apr 2019 12:26:09 +0200 Subject: Add super block and padding functions Signed-off-by: David Oberhollenzer --- mkfs/mksquashfs.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 mkfs/mksquashfs.h (limited to 'mkfs/mksquashfs.h') 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 +#include +#include +#include +#include +#include + +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 */ -- cgit v1.2.3