aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-03-06 16:41:19 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-03-06 16:41:19 +0200
commit1a4bb97a00936535e30ac61945aeee38882b5d1a (patch)
treea5327c38da95f17a165136bb31df3fefe5ba2eec /CMakeLists.txt
parentliblzma: Index hash: Change return value type of hash_append() to void. (diff)
downloadxz-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 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions