X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib.h;h=eb8a33ba27fe05f10b01afa5dc1baccf7874c00b;hp=8ba217580067d014e4ea1331541c321649cd53d6;hb=9db1bdc721081a2dead6a60cba77dfb9bdad5ceb;hpb=04dcfc0042a286557e6a0cf358793538d6500379 diff --git a/include/wimlib.h b/include/wimlib.h index 8ba21758..eb8a33ba 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -421,9 +421,19 @@ union wimlib_progress_info { * */ const wimlib_tchar *cur_path; - /** True iff @p cur_path is being excluded from the image - * capture due to the capture configuration file. */ - bool excluded; + enum { + /** File or directory looks okay and will be captured. */ + WIMLIB_SCAN_DENTRY_OK = 0, + + /** File or directory is being excluded from capture due + * to the capture configuration file. */ + WIMLIB_SCAN_DENTRY_EXCLUDED, + + /** File or directory is being excluded from capture due + * to being unsupported (e.g. an encrypted or device + * file). */ + WIMLIB_SCAN_DENTRY_UNSUPPORTED, + } status; /** Target path in the WIM. Only valid on messages * ::WIMLIB_PROGRESS_MSG_SCAN_BEGIN and @@ -1373,7 +1383,6 @@ enum wimlib_error_code { WIMLIB_ERR_SET_SECURITY, WIMLIB_ERR_SET_SHORT_NAME, WIMLIB_ERR_SET_TIMESTAMPS, - WIMLIB_ERR_SPECIAL_FILE, WIMLIB_ERR_SPLIT_INVALID, WIMLIB_ERR_SPLIT_UNSUPPORTED, WIMLIB_ERR_STAT,