summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-16 16:52:14 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-16 16:52:14 (GMT)
commit3a6832497ba02607dd4ede3a3fd30911e06f037e (patch)
treed55c6755528e5e2c462120aebcebcc0590bf7c44 /lib/lz4frame.h
parent93849d14bc21df8c45e82477a0c48287e375246b (diff)
downloadlz4-3a6832497ba02607dd4ede3a3fd30911e06f037e.zip
lz4-3a6832497ba02607dd4ede3a3fd30911e06f037e.tar.gz
lz4-3a6832497ba02607dd4ede3a3fd30911e06f037e.tar.bz2
skippable frames support
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r--lib/lz4frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h
index 61e461b..71814b0 100644
--- a/lib/lz4frame.h
+++ b/lib/lz4frame.h
@@ -65,12 +65,14 @@ const char* LZ4F_getErrorName(LZ4F_errorCode_t code); /* return error code str
typedef enum { LZ4F_default=0, max64KB=4, max256KB=5, max1MB=6, max4MB=7 } blockSizeID_t;
typedef enum { blockLinked=0, blockIndependent} blockMode_t;
typedef enum { noContentChecksum=0, contentChecksumEnabled } contentChecksum_t;
+typedef enum { LZ4F_frame=0, skippableFrame } frameType_t;
typedef struct {
blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB ; 0 == default */
blockMode_t blockMode; /* blockLinked, blockIndependent ; 0 == default */
contentChecksum_t contentChecksumFlag; /* noContentChecksum, contentChecksumEnabled ; 0 == default */
- unsigned reserved[5];
+ frameType_t frameType; /* LZ4F_frame, skippableFrame : 0 == default */
+ unsigned reserved[4];
} LZ4F_frameInfo_t;
typedef struct {