71 #ifndef LZMA_MANUAL_HEADERS
82 # if !defined(UINT32_C) || !defined(UINT64_C) \
83 || !defined(UINT32_MAX) || !defined(UINT64_MAX)
98 # if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800
99 typedef unsigned __int8
uint8_t;
116 # ifndef __STDC_LIMIT_MACROS
117 # define __STDC_LIMIT_MACROS 1
119 # ifndef __STDC_CONSTANT_MACROS
120 # define __STDC_CONSTANT_MACROS 1
124 # include <inttypes.h>
136 # if defined(_WIN32) && defined(_MSC_VER)
137 # define UINT32_C(n) n ## UI32
139 # define UINT32_C(n) n ## U
144 # if defined(_WIN32) && defined(_MSC_VER)
145 # define UINT64_C(n) n ## UI64
149 # if ULONG_MAX == 4294967295UL
150 # define UINT64_C(n) n ## ULL
152 # define UINT64_C(n) n ## UL
158 # define UINT32_MAX (UINT32_C(4294967295))
162 # define UINT64_MAX (UINT64_C(18446744073709551615))
190 #ifndef LZMA_API_IMPORT
191 # if !defined(LZMA_API_STATIC) && defined(_WIN32) && !defined(__GNUC__)
192 # define LZMA_API_IMPORT __declspec(dllimport)
194 # define LZMA_API_IMPORT
198 #ifndef LZMA_API_CALL
199 # if defined(_WIN32) && !defined(__CYGWIN__)
200 # define LZMA_API_CALL __cdecl
202 # define LZMA_API_CALL
207 # define LZMA_API(type) LZMA_API_IMPORT type LZMA_API_CALL
221 # if defined(__cplusplus)
222 # if __cplusplus >= 201103L
223 # define lzma_nothrow noexcept
225 # define lzma_nothrow throw()
227 # elif defined(__GNUC__) && (__GNUC__ > 3 \
228 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
229 # define lzma_nothrow __attribute__((__nothrow__))
231 # define lzma_nothrow
245 #if defined(__GNUC__) && __GNUC__ >= 3
246 # ifndef lzma_attribute
247 # define lzma_attribute(attr) __attribute__(attr)
251 # ifndef lzma_attr_warn_unused_result
252 # if __GNUC__ == 3 && __GNUC_MINOR__ < 4
253 # define lzma_attr_warn_unused_result
258 # ifndef lzma_attribute
259 # define lzma_attribute(attr)
264 #ifndef lzma_attr_pure
265 # define lzma_attr_pure lzma_attribute((__pure__))
268 #ifndef lzma_attr_const
269 # define lzma_attr_const lzma_attribute((__const__))
272 #ifndef lzma_attr_warn_unused_result
273 # define lzma_attr_warn_unused_result \
274 lzma_attribute((__warn_unused_result__))
290 #define LZMA_H_INTERNAL 1
320 #undef LZMA_H_INTERNAL
Handling of .xz Index and related information.
Branch/Call/Jump conversion filters.
Common filter related types and functions.
Validate Index by using a hash function.
.xz Stream Header and Stream Footer encoder and decoder
Variable-length integer handling.
Data types and functions used in many places in liblzma API.