Added version_string() functions for the compression algorithms. Also

reserved M_DEFLATE and added a mostly empty compress_zlib.cpp.
This commit is contained in:
Markus F.X.J. Oberhumer
2006-10-11 12:56:28 +02:00
parent a38c3e7f6d
commit 47ac871a12
6 changed files with 180 additions and 12 deletions
+7
View File
@@ -35,6 +35,7 @@
**************************************************************************/
#if defined(WITH_LZMA)
const char *upx_lzma_version_string(void);
int upx_lzma_compress ( const upx_bytep src, unsigned src_len,
upx_bytep dst, unsigned* dst_len,
upx_callback_p cb,
@@ -53,6 +54,7 @@ int upx_lzma_test_overlap ( const upx_bytep buf, unsigned src_off,
#if defined(WITH_NRV)
const char *upx_nrv_version_string(void);
int upx_nrv_compress ( const upx_bytep src, unsigned src_len,
upx_bytep dst, unsigned* dst_len,
upx_callback_p cb,
@@ -71,6 +73,7 @@ int upx_nrv_test_overlap ( const upx_bytep buf, unsigned src_off,
#if defined(WITH_UCL)
const char *upx_ucl_version_string(void);
int upx_ucl_compress ( const upx_bytep src, unsigned src_len,
upx_bytep dst, unsigned* dst_len,
upx_callback_p cb,
@@ -87,6 +90,10 @@ int upx_ucl_test_overlap ( const upx_bytep buf, unsigned src_off,
const upx_compress_result_t *cresult );
#endif
#if defined(WITH_ZLIB)
const char *upx_zlib_version_string(void);
#endif
#endif /* already included */