summaryrefslogtreecommitdiff
path: root/include/xattr_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xattr_reader.h')
-rw-r--r--include/xattr_reader.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/xattr_reader.h b/include/xattr_reader.h
new file mode 100644
index 0000000..a71f0f0
--- /dev/null
+++ b/include/xattr_reader.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+/*
+ * xattr_reader.h
+ *
+ * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
+ */
+#ifndef XATTR_READER_H
+#define XATTR_READER_H
+
+#include "config.h"
+
+#include "squashfs.h"
+#include "compress.h"
+#include "fstree.h"
+
+typedef struct xattr_reader_t xattr_reader_t;
+
+void xattr_reader_destroy(xattr_reader_t *xr);
+
+xattr_reader_t *xattr_reader_create(int sqfsfd, sqfs_super_t *super,
+ compressor_t *cmp);
+
+int xattr_reader_restore_node(xattr_reader_t *xr, fstree_t *fs,
+ tree_node_t *node, uint32_t xattr);
+
+#endif /* XATTR_READER_H */