]> wimlib.net Git - wimlib/blobdiff - src/dentry.h
WIM capture: Share inodes immediately
[wimlib] / src / dentry.h
index e8d8328d9d27b352021a7bf3ff3c9a06ba90bfc8..601a40c56256ac408b424cfcbcd8029c7de10765 100644 (file)
@@ -271,7 +271,14 @@ struct wim_inode {
 
        struct hlist_node i_hlist;
 
-       struct list_head i_lte_inode_list;
+       union {
+               /* Used during image extraction to build a list of inodes that
+                * share a certain stream */
+               struct list_head i_lte_inode_list;
+
+               /* Device number, used only during image capture */
+               u64 i_devno;
+       };
 
        tchar *i_extracted_file;
 
@@ -372,6 +379,9 @@ print_dentry(struct wim_dentry *dentry, void *lookup_table);
 extern int
 print_dentry_full_path(struct wim_dentry *entry, void *ignore);
 
+extern struct wim_inode *
+new_timeless_inode();
+
 extern int
 new_dentry(const tchar *name, struct wim_dentry **dentry_ret);