diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 23:12:36 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 23:12:36 +0200 |
commit | 4441e004185cd4c61bda184010eca5924c9dec87 (patch) | |
tree | caa5306e1d0807bdeca57ca2d7e159360405702f /src/liblzma/lz/match_c.h | |
parent | Added test_memlimit.c. (diff) | |
download | xz-4441e004185cd4c61bda184010eca5924c9dec87.tar.xz |
Combine lzma_options_block validation needed by both Block
encoder and decoder, and put the shared things to
block_private.h. Improved the checks a little so that
they may detect too big Compressed Size at initialization
time if lzma_options_block.total_size or .total_limit is
known.
Allow encoding and decoding Blocks with combinations of
fields that are not allowed by the file format specification.
Doing this requires that the application passes such a
combination in lzma_options_lzma; liblzma doesn't do that,
but it's not impossible that someone could find them useful
in some custom file format.
Diffstat (limited to 'src/liblzma/lz/match_c.h')
0 files changed, 0 insertions, 0 deletions