view src/lib-compression/ostream-zlib.h @ 17104:fb4a0a84da50

lib-compression: Added initial support for LZ4 There's no standard file format for LZ4, so we created our own. The code has had only minimal testing currently, so there may be bugs.
author Timo Sirainen <tss@iki.fi>
date Wed, 15 Jan 2014 00:57:59 +0200
parents 81e486aacbc7
children
line wrap: on
line source

#ifndef OSTREAM_ZLIB_H
#define OSTREAM_ZLIB_H

struct ostream *o_stream_create_gz(struct ostream *output, int level);
struct ostream *o_stream_create_deflate(struct ostream *output, int level);
struct ostream *o_stream_create_bz2(struct ostream *output, int level);
struct ostream *o_stream_create_lzma(struct ostream *output, int level);
struct ostream *o_stream_create_lz4(struct ostream *output, int level);

#endif