]> wimlib.net Git - wimlib/blobdiff - src/lookup_table.h
Resource fixes/changes
[wimlib] / src / lookup_table.h
index 43dbd4bb9f250b1da8c3cf8c105c774d1619fc86..280376994176c36c8ef44a999902b72fe7253f7d 100644 (file)
@@ -123,6 +123,12 @@ static inline u64 wim_resource_size(const struct lookup_table_entry *lte)
        return lte->resource_entry.original_size;
 }
 
+static inline u64
+wim_resource_compressed_size(const struct lookup_table_entry *lte)
+{
+       return lte->resource_entry.size;
+}
+
 /*
  * XXX Probably should store the compression type directly in the lookup table
  * entry