1 #ifndef _WIMLIB_XPRESS_H
2 #define _WIMLIB_XPRESS_H
4 /* Constants for the XPRESS data compression format. See the comments in
5 * xpress-decompress.c for more information about this format. */
7 #define XPRESS_NUM_CHARS 256
8 #define XPRESS_NUM_SYMBOLS 512
9 #define XPRESS_MAX_CODEWORD_LEN 15
10 #define XPRESS_TABLEBITS 12
12 #define XPRESS_END_OF_DATA 256
14 #define XPRESS_MIN_OFFSET 1
15 #define XPRESS_MAX_OFFSET 65535
17 #define XPRESS_MIN_MATCH_LEN 3
18 #define XPRESS_MAX_MATCH_LEN 65538
20 #endif /* _WIMLIB_XPRESS_H */