]> wimlib.net Git - wimlib/blobdiff - include/wimlib/progress.h
Limit exposure of dentry and inode creation
[wimlib] / include / wimlib / progress.h
index 387afd833d4954ef60db61cb5e225ec03b5ef829..8dbb4c48885f31b2e71bef93c48cf64ee246c65f 100644 (file)
@@ -2,6 +2,7 @@
 #define _WIMLIB_PROGRESS_H
 
 #include "wimlib.h"
+#include "wimlib/types.h"
 
 /* If specified, call the user-provided progress function and check its result.
  */
@@ -28,4 +29,8 @@ call_progress(wimlib_progress_func_t progfunc,
        return 0;
 }
 
-#endif
+extern int
+report_error(wimlib_progress_func_t progfunc,
+            void *progctx, int error_code, const tchar *path);
+
+#endif /* _WIMLIB_PROGRESS_H */