1 #ifndef _WIMLIB_LZ_HASH_H
2 #define _WIMLIB_LZ_HASH_H
4 #include "wimlib/compress_common.h"
12 unsigned max_chain_len;
13 unsigned max_lazy_match;
17 typedef void (*lz_record_match_t)(unsigned len, unsigned offset, void *ctx);
18 typedef void (*lz_record_literal_t)(u8 lit, void *ctx);
21 lz_analyze_block(const u8 window[restrict],
22 input_idx_t window_size,
23 lz_record_match_t record_match,
24 lz_record_literal_t record_literal,
26 const struct lz_params *params,
27 input_idx_t prev_tab[restrict]);
30 #endif /* _WIMLIB_LZ_HASH_H */