X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxpress.h;h=c457a72e09cff19f21439e63ccb2b7d022dc704b;hp=d792a48061a8f787140c49541546525c482439b5;hb=720db87557918105b17b51b03f264ddb9b89d2b9;hpb=00614e1689f0314ad221f5b4f864ae0ab4c667a4 diff --git a/src/xpress.h b/src/xpress.h index d792a480..c457a72e 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 @@ -25,10 +25,12 @@ #define XPRESS_MIN_MATCH 3 #define XPRESS_MAX_MATCH 65538 -extern int xpress_decompress(const void *__compressed_data, uint compressed_len, - void *__uncompressed_data, uint uncompressed_len); +extern int +xpress_decompress(const void *compressed_data, unsigned compressed_len, + void *uncompressed_data, unsigned uncompressed_len); -extern int xpress_compress(const void *uncompressed_data, uint uncompressed_len, - void *compressed_data, uint *compressed_len_ret); +extern unsigned +xpress_compress(const void *uncompressed_data, unsigned uncompressed_len, + void *compressed_data); #endif /* _WIMLIB_XPRESS_H */