![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Passing data to and from liblzma. More...
#include <base.h>
Data Fields | |
const uint8_t * | next_in |
size_t | avail_in |
uint64_t | total_in |
uint8_t * | next_out |
size_t | avail_out |
uint64_t | total_out |
const lzma_allocator * | allocator |
Custom memory allocation functions. | |
lzma_internal * | internal |
void * | reserved_ptr1 |
void * | reserved_ptr2 |
void * | reserved_ptr3 |
void * | reserved_ptr4 |
uint64_t | reserved_int1 |
uint64_t | reserved_int2 |
size_t | reserved_int3 |
size_t | reserved_int4 |
lzma_reserved_enum | reserved_enum1 |
lzma_reserved_enum | reserved_enum2 |
uint64_t | seek_pos |
New seek input position for LZMA_SEEK_NEEDED. | |
Passing data to and from liblzma.
The lzma_stream structure is used for
Typical usage:
Application may modify the values of total_in and total_out as it wants. They are updated by liblzma to match the amount of data read and written but aren't used for anything else except as a possible return values from lzma_get_progress().
The lzma_stream structure is used for
Typical usage:
Application may modify the values of total_in and total_out as it wants. They are updated by liblzma to match the amount of data read and written but aren't used for anything else except as a possible return values from lzma_get_progress().
const lzma_allocator * allocator |
Custom memory allocation functions.
In most cases this is NULL which makes liblzma use the standard malloc() and free().
size_t avail_in |
Number of available input bytes in next_in.
size_t avail_out |
Amount of free space in next_out.
lzma_internal * internal |
Internal state is not visible to applications.
const uint8_t * next_in |
Pointer to the next input byte.
uint8_t * next_out |
Pointer to the next output position.
lzma_reserved_enum reserved_enum1 |
Reserved member.
lzma_reserved_enum reserved_enum2 |
Reserved member.
uint64_t reserved_int1 |
uint64_t reserved_int2 |
Reserved member.
size_t reserved_int3 |
Reserved member.
size_t reserved_int4 |
Reserved member.
void * reserved_ptr1 |
Reserved member.
void * reserved_ptr2 |
Reserved member.
void * reserved_ptr3 |
Reserved member.
void * reserved_ptr4 |
Reserved member.
uint64_t seek_pos |
New seek input position for LZMA_SEEK_NEEDED.
When lzma_code() returns LZMA_SEEK_NEEDED, the new input position needed by liblzma will be available seek_pos. The value is guaranteed to not exceed the file size that was specified when this lzma_stream was initialized.
In all other situations the value of this variable is undefined.
uint64_t total_in |
Total number of bytes read by liblzma.
uint64_t total_out |
Total number of bytes written by liblzma.