]> wimlib.net Git - wimlib/blobdiff - include/wimlib/apply.h
Don't create unnecessary temporary files
[wimlib] / include / wimlib / apply.h
index a93bc7ec714d317d5956b921a2d119f251e8b717..3b124d31c4936fb1e55e35247d9e1ef757bac498 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.  */
@@ -223,11 +223,12 @@ struct apply_ctx {
        unsigned long invalid_sequence;
        unsigned long partial_security_descriptors;
        unsigned long no_security_descriptors;
+       struct wim_lookup_table_entry *cur_stream;
        struct filedes tmpfile_fd;
        tchar *tmpfile_name;
        u64 num_streams_remaining;
        uint64_t next_progress;
-       intptr_t private[8];
+       intptr_t private[10];
 };
 
 #ifdef __WIN32__