summaryrefslogtreecommitdiff
path: root/bin/rdsquashfs/rdsquashfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rdsquashfs/rdsquashfs.h')
-rw-r--r--bin/rdsquashfs/rdsquashfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/rdsquashfs/rdsquashfs.h b/bin/rdsquashfs/rdsquashfs.h
index 17c0a85..dd50f28 100644
--- a/bin/rdsquashfs/rdsquashfs.h
+++ b/bin/rdsquashfs/rdsquashfs.h
@@ -30,6 +30,7 @@
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
+#include <time.h>
enum UNPACK_FLAGS {
UNPACK_CHMOD = 0x01,
@@ -47,6 +48,7 @@ enum {
OP_UNPACK,
OP_DESCRIBE,
OP_RDATTR,
+ OP_STAT,
};
typedef struct {
@@ -60,6 +62,8 @@ typedef struct {
void list_files(const sqfs_tree_node_t *node);
+int stat_file(const sqfs_tree_node_t *node);
+
int restore_fstree(sqfs_tree_node_t *root, int flags);
int update_tree_attribs(sqfs_xattr_reader_t *xattr,