diff options
author | Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> | 2018-09-28 15:02:49 (GMT) |
---|---|---|
committer | Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> | 2018-09-28 15:02:49 (GMT) |
commit | 64ad395d27ad4f935cbcf9a5ed21699fbf1ce89c (patch) | |
tree | f1c9c108be28773437ad5a4ae216967a28380a75 /programs/lz4io.h | |
parent | cb917827f95a62dffb9575a2225e55721739b162 (diff) | |
download | lz4-64ad395d27ad4f935cbcf9a5ed21699fbf1ce89c.zip lz4-64ad395d27ad4f935cbcf9a5ed21699fbf1ce89c.tar.gz lz4-64ad395d27ad4f935cbcf9a5ed21699fbf1ce89c.tar.bz2 |
support custom block sizes
Diffstat (limited to 'programs/lz4io.h')
-rw-r--r-- | programs/lz4io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/programs/lz4io.h b/programs/lz4io.h index 22c5e3e..33de41f 100644 --- a/programs/lz4io.h +++ b/programs/lz4io.h @@ -78,6 +78,10 @@ int LZ4IO_setTestMode(int yes); return : 0 if error, blockSize if OK */ size_t LZ4IO_setBlockSizeID(unsigned blockSizeID); +/* blockSize : valid values : 32 -> 4MB + return : 0 if error, actual blocksize if OK */ +size_t LZ4IO_setBlockSize(size_t blockSize); + /* Default setting : independent blocks */ typedef enum { LZ4IO_blockLinked=0, LZ4IO_blockIndependent} LZ4IO_blockMode_t; int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode); |