XZ Utils
5.4.1
|
Public Types | |
enum | { SEQ_MAGIC_BYTES , SEQ_PADDING_SEEK , SEQ_PADDING_DECODE , SEQ_FOOTER , SEQ_INDEX_INIT , SEQ_INDEX_DECODE , SEQ_HEADER_DECODE , SEQ_HEADER_COMPARE } |
Data Fields | |
enum lzma_file_info_coder:: { ... } | sequence |
uint64_t | file_cur_pos |
uint64_t | file_target_pos |
uint64_t | file_size |
Size of the .xz file (from the application). More... | |
lzma_next_coder | index_decoder |
Index decoder. More... | |
lzma_vli | index_remaining |
lzma_index * | this_index |
The Index decoder will store the decoded Index in this pointer. More... | |
lzma_vli | stream_padding |
Amount of Stream Padding in the current Stream. More... | |
lzma_index * | combined_index |
The final combined index is collected here. More... | |
lzma_index ** | dest_index |
uint64_t * | external_seek_pos |
uint64_t | memlimit |
Memory usage limit. More... | |
lzma_stream_flags | first_header_flags |
Stream Flags from the very beginning of the file. More... | |
lzma_stream_flags | header_flags |
Stream Flags from Stream Header of the current Stream. More... | |
lzma_stream_flags | footer_flags |
Stream Flags from Stream Footer of the current Stream. More... | |
size_t | temp_pos |
size_t | temp_size |
uint8_t | temp [8192] |
uint64_t lzma_file_info_coder::file_cur_pos |
Absolute position of in[*in_pos] in the file. All code that modifies *in_pos also updates this. seek_to_pos() needs this to determine if we need to request the application to seek for us or if we can do the seeking internally by adjusting *in_pos.
Referenced by fill_temp().
uint64_t lzma_file_info_coder::file_target_pos |
This refers to absolute positions of interesting parts of the input file. Sometimes it points to the beginning of a specific field and sometimes to the end of a field. The current target position at each moment is explained in the comments.
Referenced by reverse_seek().
uint64_t lzma_file_info_coder::file_size |
Size of the .xz file (from the application).
lzma_next_coder lzma_file_info_coder::index_decoder |
Index decoder.
lzma_vli lzma_file_info_coder::index_remaining |
Number of bytes remaining in the Index field that is currently being decoded.
lzma_index* lzma_file_info_coder::this_index |
The Index decoder will store the decoded Index in this pointer.
lzma_vli lzma_file_info_coder::stream_padding |
Amount of Stream Padding in the current Stream.
lzma_index* lzma_file_info_coder::combined_index |
The final combined index is collected here.
lzma_index** lzma_file_info_coder::dest_index |
Pointer from the application where to store the index information after successful decoding.
uint64_t* lzma_file_info_coder::external_seek_pos |
Pointer to lzma_stream.seek_pos to be used when returning LZMA_SEEK_NEEDED. This is set by seek_to_pos() when needed.
uint64_t lzma_file_info_coder::memlimit |
Memory usage limit.
lzma_stream_flags lzma_file_info_coder::first_header_flags |
Stream Flags from the very beginning of the file.
lzma_stream_flags lzma_file_info_coder::header_flags |
Stream Flags from Stream Header of the current Stream.
lzma_stream_flags lzma_file_info_coder::footer_flags |
Stream Flags from Stream Footer of the current Stream.