wimlib
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
Public Types | Data Fields
wimlib_progress_info::wimlib_progress_info_scan Struct Reference

Valid on messages WIMLIB_PROGRESS_MSG_SCAN_BEGIN, WIMLIB_PROGRESS_MSG_SCAN_DENTRY, and WIMLIB_PROGRESS_MSG_SCAN_END. More...

#include <wimlib.h>

Public Types

enum  {
  WIMLIB_SCAN_DENTRY_OK = 0, WIMLIB_SCAN_DENTRY_EXCLUDED, WIMLIB_SCAN_DENTRY_UNSUPPORTED, WIMLIB_SCAN_DENTRY_FIXED_SYMLINK,
  WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK
}
 Dentry scan status, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY. More...
 

Data Fields

const wimlib_tcharsource
 Top-level directory being scanned; or, when capturing an NTFS volume with WIMLIB_ADD_FLAG_NTFS, this is instead the path to the file or block device that contains the NTFS volume being scanned. More...
 
const wimlib_tcharcur_path
 Path to the file (or directory) that has been scanned, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY. More...
 
enum
wimlib_progress_info::wimlib_progress_info_scan:: { ... }  
status
 Dentry scan status, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY. More...
 
union {
   const wimlib_tchar *   wim_target_path
 Target path in the WIM image. More...
 
   const wimlib_tchar *   symlink_target
 For WIMLIB_PROGRESS_MSG_SCAN_DENTRY and a status of WIMLIB_SCAN_DENTRY_FIXED_SYMLINK or WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK, this is the target of the absolute symbolic link or junction. More...
 
}; 
 
uint64_t num_dirs_scanned
 The number of directories scanned so far, not counting excluded/unsupported files. More...
 
uint64_t num_nondirs_scanned
 The number of non-directories scanned so far, not counting excluded/unsupported files. More...
 
uint64_t num_bytes_scanned
 The number of bytes of file data detected so far, not counting excluded/unsupported files. More...
 

Detailed Description

Valid on messages WIMLIB_PROGRESS_MSG_SCAN_BEGIN, WIMLIB_PROGRESS_MSG_SCAN_DENTRY, and WIMLIB_PROGRESS_MSG_SCAN_END.

Field Documentation

const wimlib_tchar* wimlib_progress_info::wimlib_progress_info_scan::source

Top-level directory being scanned; or, when capturing an NTFS volume with WIMLIB_ADD_FLAG_NTFS, this is instead the path to the file or block device that contains the NTFS volume being scanned.

const wimlib_tchar* wimlib_progress_info::wimlib_progress_info_scan::cur_path

Path to the file (or directory) that has been scanned, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY.

When capturing an NTFS volume with WIMLIB_ADD_FLAG_NTFS, this path will be relative to the root of the NTFS volume.

enum { ... } wimlib_progress_info::wimlib_progress_info_scan::status

Dentry scan status, valid on WIMLIB_PROGRESS_MSG_SCAN_DENTRY.

const wimlib_tchar* wimlib_progress_info::wimlib_progress_info_scan::wim_target_path

Target path in the WIM image.

Only valid on messages WIMLIB_PROGRESS_MSG_SCAN_BEGIN and WIMLIB_PROGRESS_MSG_SCAN_END.

const wimlib_tchar* wimlib_progress_info::wimlib_progress_info_scan::symlink_target

For WIMLIB_PROGRESS_MSG_SCAN_DENTRY and a status of WIMLIB_SCAN_DENTRY_FIXED_SYMLINK or WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK, this is the target of the absolute symbolic link or junction.

union { ... }
uint64_t wimlib_progress_info::wimlib_progress_info_scan::num_dirs_scanned

The number of directories scanned so far, not counting excluded/unsupported files.

uint64_t wimlib_progress_info::wimlib_progress_info_scan::num_nondirs_scanned

The number of non-directories scanned so far, not counting excluded/unsupported files.

If a file has multiple names (hard links), it is only counted one time.

uint64_t wimlib_progress_info::wimlib_progress_info_scan::num_bytes_scanned

The number of bytes of file data detected so far, not counting excluded/unsupported files.

If a file has multiple names (hard links), its data is counted only one time.


The documentation for this struct was generated from the following file: