X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fwim.h;h=09c65123770c6da76a9f9a33d2cc44ecce076beb;hp=cb330a21fed44e9f316d2428567271e3ab4f2f0c;hb=1855a4637636e8b00ff30fdbee6d2628de73381a;hpb=2d1d94d0ba9ae7cce8c8cf21d617e7f289d1764b diff --git a/include/wimlib/wim.h b/include/wimlib/wim.h index cb330a21..09c65123 100644 --- a/include/wimlib/wim.h +++ b/include/wimlib/wim.h @@ -185,11 +185,12 @@ static inline bool wim_is_pipable(const WIMStruct *wim) extern bool wim_has_solid_resources(const WIMStruct *wim); -extern int -set_wim_hdr_cflags(int ctype, struct wim_header *hdr); +extern void +set_wim_hdr_cflags(enum wimlib_compression_type ctype, struct wim_header *hdr); -extern int -init_wim_header(struct wim_header *hdr, int ctype, u32 chunk_size); +extern void +init_wim_header(struct wim_header *hdr, + enum wimlib_compression_type ctype, u32 chunk_size); extern int read_wim_header(WIMStruct *wim, struct wim_header *hdr);