]> wimlib.net Git - wimlib/blobdiff - include/wimlib/apply.h
WIMBoot: Update WimOverlay.dat directly when WOF not running
[wimlib] / include / wimlib / apply.h
index 11a0365135e5c7157159edd73e4ce8473b348eee..24648c9b3a378c19581881be787ffeb5f0d45574 100644 (file)
@@ -72,7 +72,7 @@ struct apply_operations {
        /* REQUIRED:  Extract unnamed data stream.  */
        int (*extract_unnamed_stream)
                (file_spec_t file, struct wim_lookup_table_entry *lte,
-                struct apply_ctx *ctx);
+                struct apply_ctx *ctx, struct wim_dentry *dentry);
 
        /* OPTIONAL:  Extracted named data stream.  In start_extract(), set
         * ctx->supported_features.alternate_data_streams if supported.  */
@@ -211,11 +211,13 @@ struct apply_ctx {
        size_t target_nchars;
        wimlib_progress_func_t progress_func;
        union wimlib_progress_info progress;
-       struct wim_dentry *extract_root;
        const struct apply_operations *ops;
+       struct list_head stream_list;
        struct wim_features supported_features;
+       bool root_dentry_is_special;
        u32 supported_attributes_mask;
-       struct list_head stream_list;
+
+       struct wim_dentry *target_dentry;
        tchar *realtarget;
        size_t realtarget_nchars;
        unsigned long invalid_sequence;
@@ -224,9 +226,8 @@ struct apply_ctx {
        struct filedes tmpfile_fd;
        tchar *tmpfile_name;
        u64 num_streams_remaining;
-       bool root_dentry_is_special;
        uint64_t next_progress;
-       intptr_t private[8];
+       intptr_t private[10];
 };
 
 #ifdef __WIN32__