summaryrefslogtreecommitdiff
path: root/unpack/unsquashfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'unpack/unsquashfs.h')
-rw-r--r--unpack/unsquashfs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/unpack/unsquashfs.h b/unpack/unsquashfs.h
new file mode 100644
index 0000000..e50646d
--- /dev/null
+++ b/unpack/unsquashfs.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+#ifndef UNSQUASHFS_H
+#define UNSQUASHFS_H
+
+#include "squashfs.h"
+#include "compress.h"
+#include "id_table.h"
+#include "fstree.h"
+
+#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <stdio.h>
+
+tree_node_t *tree_node_from_inode(sqfs_inode_generic_t *inode,
+ const id_table_t *idtbl,
+ const char *name,
+ size_t block_size);
+
+#endif /* UNSQUASHFS_H */