summaryrefslogtreecommitdiffstats
path: root/src/StringCompression.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-03 19:36:53 +0200
committermadmaxoft <github@xoft.cz>2014-09-03 19:36:53 +0200
commit44c1d9c2480fe6ea37dbed6199b51acf035de0c2 (patch)
tree23c4e5eb1578cc9d68ff3f184f857fa8cb1af9a3 /src/StringCompression.h
parentFixed style and alpha-sorting. (diff)
downloadcuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar.gz
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar.bz2
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar.lz
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar.xz
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.tar.zst
cuberite-44c1d9c2480fe6ea37dbed6199b51acf035de0c2.zip
Diffstat (limited to '')
-rw-r--r--src/StringCompression.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StringCompression.h b/src/StringCompression.h
index 038240797..dde17ce30 100644
--- a/src/StringCompression.h
+++ b/src/StringCompression.h
@@ -21,5 +21,7 @@ extern int CompressStringGZIP(const char * a_Data, size_t a_Length, AString & a_
/// Uncompresses a_Data into a_Uncompressed using GZIP; returns Z_OK for success or Z_XXX error constants same as zlib
extern int UncompressStringGZIP(const char * a_Data, size_t a_Length, AString & a_Uncompressed);
+/** Uncompresses a_Data into a_Uncompressed using Inflate; returns Z_OK for success or Z_XXX error constants same as zlib */
+extern int InflateString(const char * a_Data, size_t a_Length, AString & a_Uncompressed);