mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 16:09:00 +02:00
- add compressed network messages for nmtLaunch and nmtBroadCastSetup (not backward compatible)
This commit is contained in:
@@ -20,6 +20,8 @@ namespace Shared{ namespace CompressionUtil{
|
||||
|
||||
bool compressFileToZIPFile(string inFile, string outFile, int compressionLevel=5);
|
||||
bool extractFileFromZIPFile(string inFile, string outFile);
|
||||
std::pair<unsigned char *,unsigned long> compressMemoryToMemory(unsigned char *input, unsigned long input_len, int compressionLevel=5);
|
||||
std::pair<unsigned char *,unsigned long> extractMemoryToMemory(unsigned char *input, unsigned long input_len, unsigned long max_output_len);
|
||||
|
||||
}};
|
||||
|
||||
|
Reference in New Issue
Block a user