X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxpress.h;h=2949780c00e71fd3cd29bba94f144165ed395399;hb=0d4c61e4b3589848bac73c667b2244af7d88ed34;hp=a4dd756072440f0f2f7fc534820e3ae3df9863d0;hpb=6f77434ea6ff1407603410e28d1edb966c40e568;p=wimlib diff --git a/src/xpress.h b/src/xpress.h index a4dd7560..2949780c 100644 --- a/src/xpress.h +++ b/src/xpress.h @@ -3,7 +3,7 @@ #include "util.h" -/* See the comments in xpress-decomp.c about the XPRESS format. */ +/* See the comments in xpress-decompress.c about the XPRESS format. */ //#define ENABLE_XPRESS_DEBUG #ifdef ENABLE_XPRESS_DEBUG @@ -17,13 +17,12 @@ #define XPRESS_MAX_CODEWORD_LEN 15 #define XPRESS_TABLEBITS 12 -#define XPRESS_MIN_MATCH 3 -#define XPRESS_MAX_MATCH 255 +#define XPRESS_END_OF_DATA 256 -extern int xpress_decompress(const void *__compressed_data, uint compressed_len, - void *__uncompressed_data, uint uncompressed_len); +#define XPRESS_MIN_OFFSET 1 +#define XPRESS_MAX_OFFSET 65535 -extern int xpress_compress(const void *uncompressed_data, uint uncompressed_len, - void *compressed_data, uint *compressed_len_ret); +#define XPRESS_MIN_MATCH 3 +#define XPRESS_MAX_MATCH 65538 #endif /* _WIMLIB_XPRESS_H */