X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fprogress.h;h=8dbb4c48885f31b2e71bef93c48cf64ee246c65f;hb=bdea6a2538495fb297e62534f4a6c99b5373fed1;hp=387afd833d4954ef60db61cb5e225ec03b5ef829;hpb=b5b9681794d1f5f13350e3567f6f6e74f5c779cf;p=wimlib diff --git a/include/wimlib/progress.h b/include/wimlib/progress.h index 387afd83..8dbb4c48 100644 --- a/include/wimlib/progress.h +++ b/include/wimlib/progress.h @@ -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 */