aboutsummaryrefslogtreecommitdiff
path: root/linux/lib/xz/xz_stream.h
AgeCommit message (Collapse)Author
2020-11-02Convert HTTP links to HTTPS links.Lasse Collin
Thanks to Alexander A. Klimov.
2010-11-24Add a comment about using uint32_t as vli_type.Lasse Collin
2010-07-02Omit explicit \0 from HEADER_MAGIC.Lasse Collin
I thought it was more readable to write it there explicitly, but since C will put a \0 there anyway, relying on that can save one byte in code size.
2010-05-30Support decompressing files with unsupported check types.Lasse Collin
This is enabled at compile time by defining XZ_DEC_ANY_CHECK. If the Check ID is not supported, xz_dec_run() will return XZ_UNSUPPORTED_CHECK. In multi-call mode, decoding can be then continued normally. In single-call mode, decoding cannot be continued, thus this feature is useful only in multi-call mode.
2010-05-30Use 0/1 instead of defined/undefined for XZ_INTERNAL_CRC32.Lasse Collin
Code that used #define XZ_INTERNAL_CRC32 will now need to use: #define XZ_INTERNAL_CRC32 1 This is to make it a little bit easier to use external CRC32 implementation outside the Linux kernel by using #define XZ_INTERNAL_CRC32 0 and then providing xz_crc32() e.g. via xz_config.h.
2009-04-27Define VLI_BYTES_MAX macro and use it in dec_vli().Lasse Collin
This makes it possible to use uint32_t as vli_type. Doing so risks having some integer overflows unless the caller can ensure that the total amounts of input and output will stay below 256 MiB.
2009-03-22Initial commitLasse Collin