15 # include <linux/stddef.h> 16 # include <linux/types.h> 28 # define XZ_EXTERN extern 115 XZ_UNSUPPORTED_CHECK,
198 XZ_EXTERN
struct xz_dec *xz_dec_init(
enum xz_mode mode, uint32_t dict_max);
218 XZ_EXTERN
enum xz_ret xz_dec_run(
struct xz_dec *s,
struct xz_buf *b);
231 XZ_EXTERN
void xz_dec_reset(
struct xz_dec *s);
238 XZ_EXTERN
void xz_dec_end(
struct xz_dec *s);
246 #ifndef XZ_INTERNAL_CRC32 248 # define XZ_INTERNAL_CRC32 0 250 # define XZ_INTERNAL_CRC32 1 259 # undef XZ_INTERNAL_CRC64 260 # define XZ_INTERNAL_CRC64 0 262 #ifndef XZ_INTERNAL_CRC64 264 # error Using CRC64 in the kernel has not been implemented. 266 # define XZ_INTERNAL_CRC64 1 270 #if XZ_INTERNAL_CRC32 275 XZ_EXTERN
void xz_crc32_init(
void);
282 XZ_EXTERN uint32_t xz_crc32(
const uint8_t *buf,
size_t size, uint32_t crc);
285 #if XZ_INTERNAL_CRC64 290 XZ_EXTERN
void xz_crc64_init(
void);
297 XZ_EXTERN uint64_t xz_crc64(
const uint8_t *buf,
size_t size, uint64_t crc);
Definition: xz_dec_stream.c:26
unsigned size
Definition: tte.h:74