diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-02-02 16:11:35 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-03-12 18:58:43 (GMT) |
commit | 5709891de6513ee8253f27e8d3207ec1fdcff14b (patch) | |
tree | 3857cfcbe2c9b2af5364b6aa1a883f124214c04f /lib/lz4.h | |
parent | 6933f5ad9ca57caa8a76103f1382560fba0f9691 (diff) | |
download | lz4-5709891de6513ee8253f27e8d3207ec1fdcff14b.zip lz4-5709891de6513ee8253f27e8d3207ec1fdcff14b.tar.gz lz4-5709891de6513ee8253f27e8d3207ec1fdcff14b.tar.bz2 |
Add a Table Type Field to LZ4_stream_t
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -360,7 +360,8 @@ LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int or typedef struct { uint32_t hashTable[LZ4_HASH_SIZE_U32]; uint32_t currentOffset; - uint32_t initCheck; + uint16_t initCheck; + uint16_t tableType; const uint8_t* dictionary; uint8_t* bufferStart; /* obsolete, used for slideInputBuffer */ uint32_t dictSize; @@ -378,7 +379,8 @@ typedef struct { typedef struct { unsigned int hashTable[LZ4_HASH_SIZE_U32]; unsigned int currentOffset; - unsigned int initCheck; + unsigned short initCheck; + unsigned short tableType; const unsigned char* dictionary; unsigned char* bufferStart; /* obsolete, used for slideInputBuffer */ unsigned int dictSize; |