summaryrefslogtreecommitdiffstats
path: root/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-09-10 12:53:42 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-09-10 12:53:42 (GMT)
commited4a6bf2cb8a46979e2c9f0eab99052844b21f03 (patch)
tree99cbe5c0c57a95bab60fcbf0faead98c4204a6a2 /lz4frame.h
parent0400451ac22b9578274a3971ed65e6c70cd7fdb9 (diff)
downloadlz4-ed4a6bf2cb8a46979e2c9f0eab99052844b21f03.zip
lz4-ed4a6bf2cb8a46979e2c9f0eab99052844b21f03.tar.gz
lz4-ed4a6bf2cb8a46979e2c9f0eab99052844b21f03.tar.bz2
More tests : random flushes
Diffstat (limited to 'lz4frame.h')
-rw-r--r--lz4frame.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lz4frame.h b/lz4frame.h
index 039ab14..a8f8544 100644
--- a/lz4frame.h
+++ b/lz4frame.h
@@ -44,6 +44,10 @@
extern "C" {
#endif
+/****************************************
+ Note : experimental API.
+ Not yet integrated within lz4 library.
+****************************************/
/**************************************
Includes
@@ -58,9 +62,9 @@ typedef size_t LZ4F_errorCode_t;
typedef enum { OK_FrameEnd = 1 } LZ4F_successCodes;
typedef enum { OK_NoError = 0, ERROR_GENERIC = 1,
ERROR_maxBlockSize_invalid, ERROR_blockMode_invalid, ERROR_contentChecksumFlag_invalid,
- ERROR_srcSize_tooLarge, ERROR_dstMaxSize_tooSmall,
- ERROR_allocation_failed,
ERROR_compressionLevel_invalid,
+ ERROR_allocation_failed,
+ ERROR_srcSize_tooLarge, ERROR_dstMaxSize_tooSmall,
ERROR_checksum_invalid,
ERROR_maxCode
} LZ4F_errorCodes; /* error codes are negative unsigned values.
@@ -80,7 +84,7 @@ typedef enum { noContentChecksum=0, contentChecksumEnabled } contentChecksum_t;
typedef struct {
blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default */
blockMode_t blockMode; /* blockLinked, blockIndependent ; 0 == default */
- contentChecksum_t contentChecksumFlag; /* contentChecksumEnabled (default), noContentChecksum ; */
+ contentChecksum_t contentChecksumFlag; /* noContentChecksum, contentChecksumEnabled ; 0 == default */
unsigned reserved[3];
} LZ4F_frameInfo_t;