summaryrefslogtreecommitdiff
path: root/include/squashfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/squashfs.h')
-rw-r--r--include/squashfs.h6
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 */