diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-03-06 16:41:19 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-03-06 16:41:19 +0200 |
commit | 1a4bb97a00936535e30ac61945aeee38882b5d1a (patch) | |
tree | a5327c38da95f17a165136bb31df3fefe5ba2eec /doc | |
parent | liblzma: Index hash: Change return value type of hash_append() to void. (diff) | |
download | xz-1a4bb97a00936535e30ac61945aeee38882b5d1a.tar.xz |
liblzma: Add new output queue (lzma_outq) features.
Add lzma_outq_clear_cache2() which may leave one buffer allocated
in the cache.
Add lzma_outq_outbuf_memusage() to get the memory needed for
a single lzma_outbuf. This is now used internally in outqueue.c too.
Track both the total amount of memory allocated and the amount of
memory that is in active use (not in cache).
In lzma_outbuf, allow storing the current input position that
matches the current output position. This way the main thread
can notice when no more output is possible without first providing
more input.
Allow specifying return code for lzma_outq_read() in a finished
lzma_outbuf.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions