![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <outqueue.h>
Data Fields | |
lzma_outbuf * | next |
void * | worker |
size_t | allocated |
size_t | pos |
size_t | decoder_in_pos |
bool | finished |
lzma_ret | finish_ret |
lzma_vli | unpadded_size |
lzma_vli | uncompressed_size |
uint8_t | buf [] |
Buffer of "allocated" bytes. | |
size_t allocated |
Amount of memory allocated for buf[]. The worker thread must not modify this.
uint8_t buf |
Buffer of "allocated" bytes.
size_t decoder_in_pos |
Decompression: Position in the input buffer in the worker thread that matches the output "pos" above. This is used to detect if more output might be possible from the worker thread: if it has consumed all its input, then more output isn't possible.
lzma_ret finish_ret |
Return value for lzma_outq_read() when the last byte from a finished buffer has been read. Defaults to LZMA_STREAM_END. This must not be LZMA_OK. The idea is to allow a decoder to pass an error code to the main thread, setting the code here together with finished = true.
bool finished |
True when no more data will be written into this buffer.
lzma_outbuf * next |
Pointer to the next buffer. This is used for the cached buffers. The worker thread must not modify this.
size_t pos |
Writing position in the worker thread or, in other words, the amount of finished data written to buf[] which can be copied out
lzma_vli uncompressed_size |
lzma_vli unpadded_size |
Additional size information. lzma_outq_read() may read these when "finished" is true.
void * worker |
This initialized by lzma_outq_get_buf() and is used by lzma_outq_enable_partial_output(). The worker thread must not modify this.