Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-30 19:56:10 +0000
committerStijn Buys <ingar@osirion.org>2008-05-30 19:56:10 +0000
commit8933b795003f8ad202fce6e553191be8932a37b6 (patch)
treebfb460cbf9261b44deabfd469046a14a95c8d16c /src/core/netconnection.h
parentf71901eeab126bb4b7e2552dd2edf0b34632c683 (diff)
zlib support
Diffstat (limited to 'src/core/netconnection.h')
-rw-r--r--src/core/netconnection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/netconnection.h b/src/core/netconnection.h
index 3cc28db..ddc70f0 100644
--- a/src/core/netconnection.h
+++ b/src/core/netconnection.h
@@ -104,6 +104,11 @@ private:
int connection_port;
struct sockaddr_in server_addr;
char recvbuf[BLOCKSIZE];
+
+ bool receive_compressed;
+ size_t received_compressed_size;
+ size_t compressed_size;
+ char zrecvbuf[BLOCKSIZE];
};
}