]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
Fix progress for exclusion of absolute symlinks
[wimlib] / include / wimlib.h
index 1526a7a3457fefabca85b7a7cf961ffa35c15175..afed2af1147b62ad37376af53cb150938e568ff8 100644 (file)
@@ -624,7 +624,10 @@ union wimlib_progress_info {
                        WIMLIB_SCAN_DENTRY_OK = 0,
 
                        /** File or directory is being excluded from capture due
-                        * to the capture configuration file.  */
+                        * to the capture configuration file, or being an
+                        * absolute symbolic link that points outside of the
+                        * capture directory without ::WIMLIB_ADD_FLAG_NORPFIX.
+                        */
                        WIMLIB_SCAN_DENTRY_EXCLUDED,
 
                        /** File or directory is being excluded from capture due
@@ -637,6 +640,21 @@ union wimlib_progress_info {
                 * ::WIMLIB_PROGRESS_MSG_SCAN_BEGIN and
                 * ::WIMLIB_PROGRESS_MSG_SCAN_END. */
                const wimlib_tchar *wim_target_path;
+
+               /** Number of directories scanned so far, including the root
+                * directory but excluding any unsupported/excluded directories.
+                * */
+               uint64_t num_dirs_scanned;
+
+               /** Number of non-directories scanned so far, excluding any
+                * unsupported/excluded files.  */
+               uint64_t num_nondirs_scanned;
+
+               /** Number of bytes of file data that have been detected so far.
+                * This data may not actually have been read yet, and it will
+                * not actually be written to the WIM file until wimlib_write()
+                * or wimlib_overwrite() has been called.  */
+               uint64_t num_bytes_scanned;
        } scan;
 
        /** Valid on messages ::WIMLIB_PROGRESS_MSG_EXTRACT_IMAGE_BEGIN,