X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Flookup_table.h;fp=include%2Fwimlib%2Flookup_table.h;h=f0cfb768f1e92410f022180c1c3393f9d1d04e62;hp=bc765ca852e0198b83e9f23bf7f7982d458a5bae;hb=7cfb9777313e1a2f60a49d6b9ef87910f27f1a51;hpb=f7e62e27ceae4cf2ad2cc74b1a97ebf3015b95eb diff --git a/include/wimlib/lookup_table.h b/include/wimlib/lookup_table.h index bc765ca8..f0cfb768 100644 --- a/include/wimlib/lookup_table.h +++ b/include/wimlib/lookup_table.h @@ -267,25 +267,6 @@ struct wim_lookup_table_entry { struct list_head wim_resource_list; }; -static inline int -lte_ctype(const struct wim_lookup_table_entry *lte) -{ - if (lte->resource_location == RESOURCE_IN_WIM) - return lte->rspec->ctype; - else - return WIMLIB_COMPRESSION_TYPE_NONE; -} - -static inline u32 -lte_cchunk_size(const struct wim_lookup_table_entry * lte) -{ - if (lte->resource_location == RESOURCE_IN_WIM && - lte->rspec->ctype != WIMLIB_COMPRESSION_TYPE_NONE) - return lte->rspec->cchunk_size; - else - return 32768; -} - static inline bool lte_is_partial(const struct wim_lookup_table_entry * lte) { @@ -398,7 +379,7 @@ lte_bind_wim_resource_spec(struct wim_lookup_table_entry *lte, { lte->resource_location = RESOURCE_IN_WIM; lte->rspec = rspec; - list_add_tail(<e->wim_resource_list, &rspec->lte_list); + list_add_tail(<e->wim_resource_list, &rspec->stream_list); } static inline void