X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fapply.h;h=54850feccc1f486ac9eb46d8e2a12ce270e04371;hb=9713bcb2d2ef098a0286df35909b5637e0db372a;hp=d8e6d936f66900302cbdb9f4a9f6f4ffc8f6d23e;hpb=28d78c881095a7b50be60ed8d506aa15cceb9cae;p=wimlib diff --git a/include/wimlib/apply.h b/include/wimlib/apply.h index d8e6d936..54850fec 100644 --- a/include/wimlib/apply.h +++ b/include/wimlib/apply.h @@ -128,6 +128,12 @@ end_file_structure_phase(struct apply_ctx *ctx); extern int end_file_metadata_phase(struct apply_ctx *ctx); +static inline int +report_apply_error(struct apply_ctx *ctx, int error_code, const tchar *path) +{ + return report_error(ctx->progfunc, ctx->progctx, error_code, path); +} + /* Returns any of the aliases of an inode that are being extracted. */ #define inode_first_extraction_dentry(inode) \ list_first_entry(&(inode)->i_extraction_aliases, \