]> wimlib.net Git - wimlib/blobdiff - include/wimlib/dentry.h
NTFS-3g apply: Open extracted files by MFT reference
[wimlib] / include / wimlib / dentry.h
index 09de869a99e07464fb5eaf8909bd60257f60146d..8676e8e0415df5815923e62e1765ca52ca1425bc 100644 (file)
@@ -363,11 +363,20 @@ struct wim_inode {
                 * to 0 otherwise.  */
                u64 i_devno;
 
                 * to 0 otherwise.  */
                u64 i_devno;
 
-               /* Used only during image extraction: pointer to the first path
-                * (malloc()ed buffer) at which this inode has been extracted.
-                * Freed and set to NULL after the extraction is done (either
-                * success or failure).  */
-               tchar *i_extracted_file;
+               struct {
+
+                       /* Used only during image extraction: pointer to the first path
+                        * (malloc()ed buffer) at which this inode has been extracted.
+                        * Freed and set to NULL after the extraction is done (either
+                        * success or failure).  */
+                       tchar *i_extracted_file;
+
+                       /** Used only during image extraction: "cookie" that
+                        * identifies this extracted file (inode), for example
+                        * an inode number.  Only used if supported by the
+                        * extraction mode.  */
+                       u64 extract_cookie;
+               };
 
 #ifdef WITH_FUSE
                /* Used only during image mount:  Table of file descriptors that
 
 #ifdef WITH_FUSE
                /* Used only during image mount:  Table of file descriptors that