]> wimlib.net Git - wimlib/blobdiff - src/wimlib_internal.h
Update timestamp code; use utimensat()
[wimlib] / src / wimlib_internal.h
index 6df94cb3382593df7f354fe75a1310a54693cce4..554d3cc423d717d63796349bd8b2bb66d9455409 100644 (file)
@@ -425,13 +425,12 @@ struct apply_args {
        WIMStruct *w;
        const char *target;
        int extract_flags;
-       unsigned num_lutimes_warnings;
+       unsigned num_utime_warnings;
        struct list_head *stream_list;
        union wimlib_progress_info progress;
 #ifdef WITH_NTFS_3G
        struct _ntfs_volume *vol;
 #endif
-       struct list_head empty_files;
        wimlib_progress_func_t progress_func;
        int (*apply_dentry)(struct wim_dentry *, void *);
 };
@@ -480,6 +479,7 @@ extern int extract_wim_chunk_to_fd(const u8 *buf, size_t len,
 extern int extract_wim_resource(const struct wim_lookup_table_entry *lte,
                                u64 size, extract_chunk_func_t extract_chunk,
                                void *extract_chunk_arg);
+
 /*
  * Extracts the first @size bytes of the WIM resource specified by @lte to the
  * open file descriptor @fd.
@@ -528,7 +528,6 @@ extern int for_image(WIMStruct *w, int image, int (*visitor)(WIMStruct *));
 extern void destroy_image_metadata(struct wim_image_metadata *imd,
                                   struct wim_lookup_table *lt);
 
-
 /* write.c */
 
 /* Internal use only */
@@ -537,6 +536,10 @@ extern void destroy_image_metadata(struct wim_image_metadata *imd,
 #define WIMLIB_WRITE_FLAG_CHECKPOINT_AFTER_XML  0x20000000
 #define WIMLIB_WRITE_MASK_PUBLIC               0x1fffffff
 
+#define WIMLIB_ADD_IMAGE_FLAG_ROOT     0x80000000
+#define WIMLIB_ADD_IMAGE_FLAG_SOURCE    0x40000000
+
+
 extern int begin_write(WIMStruct *w, const char *path, int write_flags);
 extern void close_wim_writable(WIMStruct *w);