summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-11 18:42:37 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-11 18:42:37 (GMT)
commit12ab41571ef7fd11b8b2013aa943beae373cef8a (patch)
treebc358cdcebd2c920d3df24b9656fda69cbc0c914 /programs/lz4io.h
parente3f33d25793193e005eadf4c04c2fbcf2eae497e (diff)
downloadlz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.zip
lz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.tar.gz
lz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.tar.bz2
Preliminary support for sparse files
Diffstat (limited to 'programs/lz4io.h')
-rw-r--r--programs/lz4io.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/programs/lz4io.h b/programs/lz4io.h
index f99e8bb..12c9a6a 100644
--- a/programs/lz4io.h
+++ b/programs/lz4io.h
@@ -70,11 +70,15 @@ int LZ4IO_setBlockSizeID(int blockSizeID);
typedef enum { LZ4IO_blockLinked=0, LZ4IO_blockIndependent} LZ4IO_blockMode_t;
int LZ4IO_setBlockMode(LZ4IO_blockMode_t blockMode);
-/* Default setting : no checksum */
+/* Default setting : no block checksum */
int LZ4IO_setBlockChecksumMode(int xxhash);
-/* Default setting : checksum enabled */
+/* Default setting : stream checksum enabled */
int LZ4IO_setStreamChecksumMode(int xxhash);
/* Default setting : 0 (no notification) */
int LZ4IO_setNotificationLevel(int level);
+
+/* Default setting : 0 (disabled) */
+int LZ4IO_setSparseFile(int enable);
+