15# include <linux/stddef.h>
16# include <linux/types.h>
28# define XZ_EXTERN extern
115 XZ_UNSUPPORTED_CHECK,
198XZ_EXTERN
struct xz_dec *xz_dec_init(
enum xz_mode mode, uint32_t dict_max);
218XZ_EXTERN
enum xz_ret xz_dec_run(
struct xz_dec *s,
struct xz_buf *b);
231XZ_EXTERN
void xz_dec_reset(
struct xz_dec *s);
238XZ_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
275XZ_EXTERN
void xz_crc32_init(
void);
282XZ_EXTERN uint32_t xz_crc32(
const uint8_t *buf,
size_t size, uint32_t crc);
290XZ_EXTERN
void xz_crc64_init(
void);
297XZ_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:1