Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma_index_iter Struct Reference

Iterator to get information about Blocks and Streams. More...

#include <index.h>

Data Fields

struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   const void *   reserved_ptr4 
 
block 
 
union { 
 
   const void *   p 
 
   size_t   s 
 
   lzma_vli   v 
 
internal [6] 
 
struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   const void *   reserved_ptr4 
 
block 
 
union { 
 
   const void *   p 
 
   size_t   s 
 
   lzma_vli   v 
 
internal [6] 
 
struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   const void *   reserved_ptr4 
 
block 
 
union { 
 
   const void *   p 
 
   size_t   s 
 
   lzma_vli   v 
 
internal [6] 
 
struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
   lzma_vli   reserved_vli1 
 
   lzma_vli   reserved_vli2 
 
   lzma_vli   reserved_vli3 
 
   lzma_vli   reserved_vli4 
 
   const void *   reserved_ptr1 
 
   const void *   reserved_ptr2 
 
   const void *   reserved_ptr3 
 
   const void *   reserved_ptr4 
 
block 
 
union { 
 
   const void *   p 
 
   size_t   s 
 
   lzma_vli   v 
 
internal [6] 
 
struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
block 
 
struct { 
 
   const lzma_stream_flags *   flags 
 Pointer to Stream Flags. More...
 
   lzma_vli   number 
 Stream number in the lzma_index. More...
 
   lzma_vli   block_count 
 Number of Blocks in the Stream. More...
 
   lzma_vli   compressed_offset 
 Compressed start offset of this Stream. More...
 
   lzma_vli   uncompressed_offset 
 Uncompressed start offset of this Stream. More...
 
   lzma_vli   compressed_size 
 Compressed size of this Stream. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Stream. More...
 
   lzma_vli   padding 
 Size of Stream Padding after this Stream. More...
 
stream 
 
struct { 
 
   lzma_vli   number_in_file 
 Block number in the file. More...
 
   lzma_vli   compressed_file_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_file_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   number_in_stream 
 Block number in this Stream. More...
 
   lzma_vli   compressed_stream_offset 
 Compressed start offset of this Block. More...
 
   lzma_vli   uncompressed_stream_offset 
 Uncompressed start offset of this Block. More...
 
   lzma_vli   uncompressed_size 
 Uncompressed size of this Block. More...
 
   lzma_vli   unpadded_size 
 Unpadded size of this Block. More...
 
   lzma_vli   total_size 
 Total compressed size. More...
 
block 
 

Detailed Description

Iterator to get information about Blocks and Streams.

Field Documentation

◆ [struct] [1/6]

struct { ... } block

◆ [struct] [2/6]

struct { ... } block

◆ [struct] [3/6]

struct { ... } block

◆ [struct] [4/6]

struct { ... } block

◆ [struct] [5/6]

struct { ... } block

◆ [struct] [6/6]

struct { ... } block

◆ block_count

lzma_vli block_count

Number of Blocks in the Stream.

If this is zero, the block structure below has undefined values.

◆ compressed_file_offset

lzma_vli compressed_file_offset

Compressed start offset of this Block.

This offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file). Normally this is where you should seek in the .xz file to start decompressing this Block.

◆ compressed_offset

lzma_vli compressed_offset

Compressed start offset of this Stream.

The offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).

◆ compressed_size

lzma_vli compressed_size

Compressed size of this Stream.

This includes all headers except the possible Stream Padding after this Stream.

◆ compressed_stream_offset

lzma_vli compressed_stream_offset

Compressed start offset of this Block.

This offset is relative to the beginning of the Stream containing this Block.

◆ flags

Pointer to Stream Flags.

This is NULL if Stream Flags have not been set for this Stream with lzma_index_stream_flags().

◆ [union] [1/4]

union { ... } internal[6]

◆ [union] [2/4]

union { ... } internal[6]

◆ [union] [3/4]

union { ... } internal[6]

◆ [union] [4/4]

union { ... } internal[6]

◆ number

lzma_vli number

Stream number in the lzma_index.

The first Stream is 1.

◆ number_in_file

lzma_vli number_in_file

Block number in the file.

The first Block is 1.

◆ number_in_stream

lzma_vli number_in_stream

Block number in this Stream.

The first Block is 1.

◆ p

const void* p

Internal member.

◆ padding

lzma_vli padding

Size of Stream Padding after this Stream.

If it hasn't been set with lzma_index_stream_padding(), this defaults to zero. Stream Padding is always a multiple of four bytes.

◆ reserved_ptr1

const void* reserved_ptr1

Reserved member.

◆ reserved_ptr2

const void* reserved_ptr2

Reserved member.

◆ reserved_ptr3

const void* reserved_ptr3

Reserved member.

◆ reserved_ptr4

const void* reserved_ptr4

Reserved member.

◆ reserved_vli1

lzma_vli reserved_vli1

Reserved member.

◆ reserved_vli2

lzma_vli reserved_vli2

Reserved member.

◆ reserved_vli3

lzma_vli reserved_vli3

Reserved member.

◆ reserved_vli4

lzma_vli reserved_vli4

Reserved member.

◆ s

size_t s

Internal member.

◆ [struct] [1/6]

struct { ... } stream

◆ [struct] [2/6]

struct { ... } stream

◆ [struct] [3/6]

struct { ... } stream

◆ [struct] [4/6]

struct { ... } stream

◆ [struct] [5/6]

struct { ... } stream

◆ [struct] [6/6]

struct { ... } stream

◆ total_size

lzma_vli total_size

Total compressed size.

This includes all headers and padding in this Block. This is useful if you need to know how many bytes the Block decoder will actually read.

◆ uncompressed_file_offset

lzma_vli uncompressed_file_offset

Uncompressed start offset of this Block.

This offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).

When doing random-access reading, it is possible that the target offset is not exactly at Block boundary. One will need to compare the target offset against uncompressed_file_offset or uncompressed_stream_offset, and possibly decode and throw away some amount of data before reaching the target offset.

◆ uncompressed_offset

lzma_vli uncompressed_offset

Uncompressed start offset of this Stream.

The offset is relative to the beginning of the lzma_index (i.e. usually the beginning of the .xz file).

◆ uncompressed_size

lzma_vli uncompressed_size

Uncompressed size of this Stream.

Uncompressed size of this Block.

You should pass this to the Block decoder if you will decode this Block. It will allow the Block decoder to validate the uncompressed size.

◆ uncompressed_stream_offset

lzma_vli uncompressed_stream_offset

Uncompressed start offset of this Block.

This offset is relative to the beginning of the Stream containing this Block.

◆ unpadded_size

lzma_vli unpadded_size

Unpadded size of this Block.

You should pass this to the Block decoder if you will decode this Block. It will allow the Block decoder to validate the unpadded size.

◆ v

Internal member.


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