]> wimlib.net Git - wimlib/blobdiff - include/wimlib/apply.h
Win32 apply: Create encrypted files with OpenEncryptedFileRaw()
[wimlib] / include / wimlib / apply.h
index ef623a6f2652a8fe0cbc5b9f3577dcf9e36892f2..1019a48a15116eb65d7d747be88f4ef1cb1b4cac 100644 (file)
@@ -83,7 +83,7 @@ struct apply_operations {
        /* OPTIONAL:  Extracted encrypted stream.  In start_extract(), set
         * ctx->supported_features.encrypted_files if supported.  */
        int (*extract_encrypted_stream)
-               (file_spec_t file, struct wim_lookup_table_entry *lte,
+               (const tchar *path, struct wim_lookup_table_entry *lte,
                 struct apply_ctx *ctx);
 
        /* OPTIONAL:  Set file attributes.  Calling code calls this if non-NULL.
@@ -172,6 +172,10 @@ struct apply_operations {
        /* OPTIONAL:  Set to 1 if set_file_attributes() needs to be called a
         * second time towards the end of the extraction.  */
        unsigned requires_final_set_attributes_pass : 1;
+
+       /* OPTIONAL:  Set to 1 if extract_encrypted_stream() must be used to
+        * create encrypted files.  */
+       unsigned extract_encrypted_stream_creates_file : 1;
 };
 
 struct wim_features {