X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fapply.h;h=54850feccc1f486ac9eb46d8e2a12ce270e04371;hp=d8e6d936f66900302cbdb9f4a9f6f4ffc8f6d23e;hb=944ca027b829261f33af8577fd8fe2afdc4d02b7;hpb=7901ba9cde12d96f6e2dcb612fc5c3b361e988ff 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, \