]> wimlib.net Git - wimlib/blobdiff - src/xpress.h
Various cleanups
[wimlib] / src / xpress.h
index a4dd756072440f0f2f7fc534820e3ae3df9863d0..d792a48061a8f787140c49541546525c482439b5 100644 (file)
 #define XPRESS_MAX_CODEWORD_LEN        15
 #define XPRESS_TABLEBITS       12
 
+#define XPRESS_END_OF_DATA     256
+
+#define XPRESS_MIN_OFFSET      1
+#define XPRESS_MAX_OFFSET      65535
+
 #define XPRESS_MIN_MATCH       3
-#define XPRESS_MAX_MATCH       255
+#define XPRESS_MAX_MATCH       65538
 
-extern int xpress_decompress(const void *__compressed_data, uint compressed_len, 
+extern int xpress_decompress(const void *__compressed_data, uint compressed_len,
                             void *__uncompressed_data, uint uncompressed_len);
 
 extern int xpress_compress(const void *uncompressed_data, uint uncompressed_len,