Introduce basic (not-yet-compressing) implementation of Compressor
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Feb 2014 21:22:52 +0000 (22:22 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 16 Feb 2014 21:22:52 +0000 (22:22 +0100)
commit9ad83fb2c64caf43b3f565cc79def6d43d30a5c1
tree36946292c396c242c32b813495b5d8a77b0d2d15
parentb2169e5f4cbd3ce724c4808b62ddc2b8941219a5
Introduce basic (not-yet-compressing) implementation of Compressor

This class is intended to encapsulate the streaming compression between
the socket and the rest of RemotePeer; however, actual compression is
not yet implemented.

The Compressor class sits on top of the socket, providing a rudimentary API
for reading and writing data, and will transparently handle the (de)compression
once it's finished.
src/common/CMakeLists.txt
src/common/compressor.cpp [new file with mode: 0644]
src/common/compressor.h [new file with mode: 0644]