#ifndef IOSTREAM_LZ4_H
#define IOSTREAM_LZ4_H
/*
Dovecot's LZ4 compressed files contain:
IOSTREAM_LZ4_HEADER
n x (4 byte big-endian: compressed chunk length, compressed chunk)
*/
struct iostream_lz4_header {
/* OSTREAM_LZ4_CHUNK_SIZE in big-endian */
};
/* How large chunks we're buffering into memory before compressing them */
/* How large chunks we allow in input data before returning a failure.
This must be at least OSTREAM_LZ4_CHUNK_SIZE, but for future compatibility
should be somewhat higher (but not too high to avoid wasting memory for
corrupted files). */
#endif