diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-04-30 20:35:37 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-02 12:40:06 +0200 |
commit | 2196bc61b8ba67c91927ba28538538b89ccf73f1 (patch) | |
tree | 7ef4006d078908bef8477adc7844ae015501c5f7 /include/squashfs.h | |
parent | 76267654ebd43c1dfa28aa290b0d320df9781b2d (diff) |
Move super block init/write code to libsquashfs.a
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/squashfs.h')
-rw-r--r-- | include/squashfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdint.h> +#include <stddef.h> #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 */ |