]> wimlib.net Git - wimlib/blobdiff - src/lookup_table.h
NTFS capture updates
[wimlib] / src / lookup_table.h
index c15bf4046e35ded1ceb167089b824be965220664..c211fe142c45291de89973e4d658f5466c305b6f 100644 (file)
@@ -26,13 +26,17 @@ struct lookup_table {
 
 struct wimlib_fd;
 
+#ifdef WITH_NTFS_3G
 typedef struct _ntfs_attr ntfs_attr;
 typedef struct _ntfs_volume ntfs_volume;
 struct ntfs_location {
-       ntfs_volume *vol;
-       const char *path;
-       const char *ads_name;
+       char *path_utf8;
+       char *stream_name_utf16;
+       u16 stream_name_utf16_num_chars;
+       ntfs_volume **ntfs_vol_p;
+       bool is_reparse_point;
 };
+#endif
 
 /* 
  * An entry in the lookup table in the WIM file. 
@@ -93,12 +97,16 @@ struct lookup_table_entry {
                char *file_on_disk;
                char *staging_file_name;
                u8 *attached_buffer;
-               struct ntfs_location *ntfs_location;
+       #ifdef WITH_NTFS_3G
+               struct ntfs_location *ntfs_loc;
+       #endif
        };
        union {
                struct lookup_table_entry *next_lte_in_swm;
                FILE *file_on_disk_fp;
+       #ifdef WITH_NTFS_3G
                ntfs_attr *attr;
+       #endif
        };
 #ifdef WITH_FUSE
        /* File descriptors table for this data stream */