X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fresource.h;h=a16572b78c215714e785804fc7460027da282423;hp=91b07ce88d50eb2be899146e3502e482c22b3d15;hb=4f9ccdbed3ee79171d0b861c4ba93b54ce8feaac;hpb=d919e6c00b99ae2196cadc517d2da3b3971465b3 diff --git a/include/wimlib/resource.h b/include/wimlib/resource.h index 91b07ce8..a16572b7 100644 --- a/include/wimlib/resource.h +++ b/include/wimlib/resource.h @@ -73,13 +73,15 @@ resource_is_compressed(const struct resource_entry *entry) return (entry->flags & WIM_RESHDR_FLAG_COMPRESSED); } -static inline void copy_resource_entry(struct resource_entry *dst, - const struct resource_entry *src) +static inline void +copy_resource_entry(struct resource_entry *dst, + const struct resource_entry *src) { memcpy(dst, src, sizeof(struct resource_entry)); } -static inline void zero_resource_entry(struct resource_entry *entry) +static inline void +zero_resource_entry(struct resource_entry *entry) { memset(entry, 0, sizeof(struct resource_entry)); } @@ -99,7 +101,6 @@ put_resource_entry(const struct resource_entry *entry, #define WIMLIB_READ_RESOURCE_FLAG_RAW_FULL 0x80000000 #define WIMLIB_READ_RESOURCE_FLAG_RAW_CHUNKS 0x40000000 -#define WIMLIB_READ_RESOURCE_FLAG_SEEK_ONLY 0x20000000 #define WIMLIB_READ_RESOURCE_FLAG_RAW (WIMLIB_READ_RESOURCE_FLAG_RAW_FULL | \ WIMLIB_READ_RESOURCE_FLAG_RAW_CHUNKS) #define WIMLIB_READ_RESOURCE_MASK 0xffff0000