]> wimlib.net Git - wimlib/blobdiff - include/wimlib/apply.h
write.c: Do not raw-copy packed resources
[wimlib] / include / wimlib / apply.h
index 1019a48a15116eb65d7d747be88f4ef1cb1b4cac..11a0365135e5c7157159edd73e4ce8473b348eee 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _WIMLIB_APPLY_H
 #define _WIMLIB_APPLY_H
 
+#include "wimlib/file_io.h"
 #include "wimlib/types.h"
 #include "wimlib/list.h"
 #include "wimlib.h"
@@ -176,6 +177,11 @@ struct apply_operations {
        /* OPTIONAL:  Set to 1 if extract_encrypted_stream() must be used to
         * create encrypted files.  */
        unsigned extract_encrypted_stream_creates_file : 1;
+
+       /* OPTIONAL:  Set to 1 if a link to a file with corresponding short name
+        * must be created before all links to the same file without
+        * corresponding short names.  */
+       unsigned requires_short_name_reordering : 1;
 };
 
 struct wim_features {
@@ -215,6 +221,8 @@ struct apply_ctx {
        unsigned long invalid_sequence;
        unsigned long partial_security_descriptors;
        unsigned long no_security_descriptors;
+       struct filedes tmpfile_fd;
+       tchar *tmpfile_name;
        u64 num_streams_remaining;
        bool root_dentry_is_special;
        uint64_t next_progress;