diff options
Diffstat (limited to 'src/serialization.h')
-rw-r--r-- | src/serialization.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialization.h b/src/serialization.h index 86da31486..41a505455 100644 --- a/src/serialization.h +++ b/src/serialization.h @@ -78,8 +78,8 @@ with this program; if not, write to the Free Software Foundation, Inc., Misc. serialization functions */ -void compressZlib(SharedBuffer<u8> data, std::ostream &os); -void compressZlib(const std::string &data, std::ostream &os); +void compressZlib(SharedBuffer<u8> data, std::ostream &os, int level = -1); +void compressZlib(const std::string &data, std::ostream &os, int level = -1); void decompressZlib(std::istream &is, std::ostream &os); // These choose between zlib and a self-made one according to version |