tchar *file_on_disk;
void *attached_buffer;
#ifdef WITH_FUSE
- tchar *staging_file_name;
+ struct {
+ char *staging_file_name;
+ int staging_dir_fd;
+ };
#endif
#ifdef WITH_NTFS_3G
struct ntfs_location *ntfs_loc;
lte->size != lte->rspec->uncompressed_size;
}
-static inline bool
-lte_filename_valid(const struct wim_lookup_table_entry *lte)
-{
- return lte->resource_location == RESOURCE_IN_FILE_ON_DISK
- #ifdef __WIN32__
- || lte->resource_location == RESOURCE_WIN32_ENCRYPTED
- #endif
- #ifdef WITH_FUSE
- || lte->resource_location == RESOURCE_IN_STAGING_FILE
- #endif
- ;
-}
-
static inline const struct stream_owner *
stream_owners(struct wim_lookup_table_entry *stream)
{