- /** 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;