Rizin
unix-like reverse engineering framework and cli tools
lzma_index_s Struct Reference

Public Attributes

index_tree streams
 
lzma_vli uncompressed_size
 Uncompressed size of all the Blocks in the Stream(s) More...
 
lzma_vli total_size
 Total size of all the Blocks in the Stream(s) More...
 
lzma_vli record_count
 Total number of Records in all Streams in this lzma_index. More...
 
lzma_vli index_list_size
 
size_t prealloc
 
uint32_t checks
 

Detailed Description

Definition at line 145 of file index.c.

Member Data Documentation

◆ checks

uint32_t lzma_index_s::checks

Bitmask indicating what integrity check types have been used as set by lzma_index_stream_flags(). The bit of the last Stream is not included here, since it is possible to change it by calling lzma_index_stream_flags() again.

Definition at line 177 of file index.c.

Referenced by index_init_plain(), and LZMA_API().

◆ index_list_size

lzma_vli lzma_index_s::index_list_size

Size of the List of Records field if all the Streams in this lzma_index were packed into a single Stream (makes it simpler to take many .xz files and combine them into a single Stream).

This value together with record_count is needed to calculate Backward Size that is stored into Stream Footer.

Definition at line 166 of file index.c.

Referenced by index_dup_stream(), index_init_plain(), LZMA_API(), and lzma_index_padding_size().

◆ prealloc

size_t lzma_index_s::prealloc

How many Records to allocate at once in lzma_index_append(). This defaults to INDEX_GROUP_SIZE but can be overridden with lzma_index_prealloc().

Definition at line 171 of file index.c.

Referenced by index_init_plain(), and lzma_index_prealloc().

◆ record_count

lzma_vli lzma_index_s::record_count

Total number of Records in all Streams in this lzma_index.

Definition at line 158 of file index.c.

Referenced by index_dup_stream(), index_init_plain(), LZMA_API(), and lzma_index_padding_size().

◆ streams

index_tree lzma_index_s::streams

AVL-tree containing the Stream(s). Often there is just one Stream, but using a tree keeps lookups fast even when there are many concatenated Streams.

Definition at line 149 of file index.c.

Referenced by index_init_plain(), iter_set_info(), and LZMA_API().

◆ total_size

lzma_vli lzma_index_s::total_size

Total size of all the Blocks in the Stream(s)

Definition at line 155 of file index.c.

Referenced by index_init_plain(), and LZMA_API().

◆ uncompressed_size

lzma_vli lzma_index_s::uncompressed_size

Uncompressed size of all the Blocks in the Stream(s)

Definition at line 152 of file index.c.

Referenced by index_init_plain(), and LZMA_API().


The documentation for this struct was generated from the following file: