C port of the snappy compressor