]> wimlib.net Git - wimlib/blob - include/wimlib/lzx_common.h
Add randomized testing program
[wimlib] / include / wimlib / lzx_common.h
1 /*
2  * lzx_common.h
3  *
4  * Declarations shared between LZX compression and decompression.
5  */
6
7 #ifndef _LZX_COMMON_H
8 #define _LZX_COMMON_H
9
10 #include "wimlib/lzx_constants.h"
11 #include "wimlib/types.h"
12
13 extern const u32 lzx_offset_slot_base[LZX_MAX_OFFSET_SLOTS + 1];
14
15 extern const u8 lzx_extra_offset_bits[LZX_MAX_OFFSET_SLOTS];
16
17 extern unsigned
18 lzx_get_window_order(size_t max_bufsize);
19
20 extern unsigned
21 lzx_get_num_main_syms(unsigned window_order);
22
23 extern void
24 lzx_preprocess(u8 *data, u32 size);
25
26 extern void
27 lzx_postprocess(u8 *data, u32 size);
28
29 #endif /* _LZX_COMMON_H */