summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fstree.h5
-rw-r--r--include/squashfs.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 68bbc7d..5a8e422 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -33,11 +33,16 @@ struct dir_info_t {
struct tree_node_t {
tree_node_t *next;
+ tree_node_t *parent;
char *name;
uint32_t uid;
uint32_t gid;
uint16_t mode;
+ uint64_t inode_ref;
+ uint32_t inode_num;
+ int type;
+
union {
dir_info_t *dir;
file_info_t *file;
diff --git a/include/squashfs.h b/include/squashfs.h
index 96a558b..30c7d3d 100644
--- a/include/squashfs.h
+++ b/include/squashfs.h
@@ -57,6 +57,10 @@ typedef struct {
typedef struct {
uint32_t nlink;
+} sqfs_inode_ipc_t;
+
+typedef struct {
+ uint32_t nlink;
uint32_t devno;
uint32_t xattr_idx;
} sqfs_inode_dev_ext_t;