From 2196bc61b8ba67c91927ba28538538b89ccf73f1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 30 Apr 2019 20:35:37 +0200 Subject: Move super block init/write code to libsquashfs.a Signed-off-by: David Oberhollenzer --- include/squashfs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/squashfs.h b/include/squashfs.h index 68f9fce..96a558b 100644 --- a/include/squashfs.h +++ b/include/squashfs.h @@ -3,6 +3,7 @@ #define SQUASHFS_H #include +#include #define SQFS_MAGIC 0x73717368 #define SQFS_VERSION_MAJOR 4 @@ -174,4 +175,9 @@ typedef enum { SQFS_INODE_EXT_SOCKET = 14, } E_SQFS_INODE_TYPE; +int sqfs_super_init(sqfs_super_t *super, size_t block_size, uint32_t mtime, + E_SQFS_COMPRESSOR compressor); + +int sqfs_super_write(sqfs_super_t *super, int fd); + #endif /* SQUASHFS_H */ -- cgit v1.2.3