aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2008-01-22Added lzma_easy_* functions. These should make usingLasse Collin1-0/+1
liblzma as easy as using zlib, because the easy API don't require developers to know any fancy LZMA options. Note that Multi-Block Stream encoding is currently broken. The easy API should be OK, the bug(s) are elsewhere.
2008-01-06Introduced compatibility with systems that have pre-C99Lasse Collin1-14/+26
or no inttypes.h. This is useful when the compiler has good enough support for C99, but libc headers don't. Changed liblzma API so that sys/types.h and inttypes.h have to be #included before #including lzma.h. On systems that don't have C99 inttypes.h, it's the problem of the applications to provide the required types and macros before #including lzma.h. If lzma.h defined the missing types and macros, it could conflict with third-party applications whose configure has detected that the types are missing and defined them in config.h already. An alternative would have been introducing lzma_uint32 and similar types, but that would just be an extra pain on modern systems.