]> wimlib.net Git - wimlib/blobdiff - include/wimlib/lzms_constants.h
Move errno translation to win32_replacements.c
[wimlib] / include / wimlib / lzms_constants.h
index 7f8729011b89ad481352c100df4300f05bd254c7..aa22aaf297b946c41dcae148c9f76be042d1dbd8 100644 (file)
@@ -7,6 +7,11 @@
 #ifndef _LZMS_CONSTANTS_H
 #define _LZMS_CONSTANTS_H
 
+#define LZMS_MIN_MATCH_LEN                     1
+#define LZMS_MAX_MATCH_LEN                     1073809578
+#define LZMS_MAX_MATCH_OFFSET                  1180427428
+#define LZMS_MAX_BUFFER_SIZE                   (LZMS_MAX_MATCH_OFFSET + 1)
+
 #define LZMS_NUM_RECENT_OFFSETS                        3
 #define LZMS_MAX_INIT_RECENT_OFFSET            (LZMS_NUM_RECENT_OFFSETS + 1)
 #define LZMS_OFFSET_OFFSET                     (LZMS_NUM_RECENT_OFFSETS - 1)
@@ -25,7 +30,7 @@
 #define LZMS_MAX_NUM_STATES                    64
 
 #define LZMS_NUM_LITERAL_SYMS                  256
-#define LZMS_NUM_LEN_SYMS                      54
+#define LZMS_NUM_LENGTH_SYMS                   54
 #define LZMS_NUM_DELTA_POWER_SYMS              8
 #define LZMS_MAX_NUM_OFFSET_SYMS               799
 #define LZMS_MAX_NUM_SYMS                      799