diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-01-17 20:11:37 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-01-17 20:11:37 +0100 |
commit | 935600bf0a8d8d97de2f9b2fb391d3b632dfd350 (patch) | |
tree | 7f1d8d463d0d70ba888c992f80681a1775a31b6b /src/StringCompression.h | |
parent | APIDump: Updated cPluginManager:GetAllPlugins(). (diff) | |
parent | Added user setting compression factor (diff) | |
download | cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.gz cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.bz2 cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.lz cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.xz cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.tar.zst cuberite-935600bf0a8d8d97de2f9b2fb391d3b632dfd350.zip |
Diffstat (limited to 'src/StringCompression.h')
-rw-r--r-- | src/StringCompression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringCompression.h b/src/StringCompression.h index 459e8f568..3f4e12d2d 100644 --- a/src/StringCompression.h +++ b/src/StringCompression.h @@ -10,7 +10,7 @@ /// Compresses a_Data into a_Compressed using ZLIB; returns Z_XXX error constants same as zlib's compress2() -extern int CompressString(const char * a_Data, int a_Length, AString & a_Compressed); +extern int CompressString(const char * a_Data, int a_Length, AString & a_Compressed, int a_Factor); /// Uncompresses a_Data into a_Uncompressed; returns Z_XXX error constants same as zlib's decompress() extern int UncompressString(const char * a_Data, int a_Length, AString & a_Uncompressed, int a_UncompressedSize); |