Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lz4.h
Go to the documentation of this file.
1/*
2 * LZ4 - Fast LZ compression algorithm
3 * Header File
4 * Copyright (C) 2011-2023, Yann Collet.
5
6 BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
7
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are
10 met:
11
12 * Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14 * Redistributions in binary form must reproduce the above
15 copyright notice, this list of conditions and the following disclaimer
16 in the documentation and/or other materials provided with the
17 distribution.
18
19 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31 You can contact the author at :
32 - LZ4 homepage : http://www.lz4.org
33 - LZ4 source repository : https://github.com/lz4/lz4
34*/
35#if defined (__cplusplus)
36extern "C" {
37#endif
38
39#ifndef LZ4_H_2983827168210
40#define LZ4_H_2983827168210
41
42/* --- Dependency --- */
43#include <stddef.h> /* size_t */
44
45
76/*^***************************************************************
77* Export parameters
78*****************************************************************/
79/*
80* LZ4_DLL_EXPORT :
81* Enable exporting of functions when building a Windows DLL
82* LZ4LIB_VISIBILITY :
83* Control library symbols visibility.
84*/
85#ifndef LZ4LIB_VISIBILITY
86# if defined(__GNUC__) && (__GNUC__ >= 4)
87# define LZ4LIB_VISIBILITY __attribute__ ((visibility ("default")))
88# else
89# define LZ4LIB_VISIBILITY
90# endif
91#endif
92#if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
93# define LZ4LIB_API __declspec(dllexport) LZ4LIB_VISIBILITY
94#elif defined(LZ4_DLL_IMPORT) && (LZ4_DLL_IMPORT==1)
95# define LZ4LIB_API __declspec(dllimport) LZ4LIB_VISIBILITY /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
96#else
97# define LZ4LIB_API LZ4LIB_VISIBILITY
98#endif
99
112#if defined(LZ4_FREESTANDING) && (LZ4_FREESTANDING == 1)
113# define LZ4_HEAPMODE 0
114# define LZ4HC_HEAPMODE 0
115# define LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION 1
116# if !defined(LZ4_memcpy)
117# error "LZ4_FREESTANDING requires macro 'LZ4_memcpy'."
118# endif
119# if !defined(LZ4_memset)
120# error "LZ4_FREESTANDING requires macro 'LZ4_memset'."
121# endif
122# if !defined(LZ4_memmove)
123# error "LZ4_FREESTANDING requires macro 'LZ4_memmove'."
124# endif
125#elif ! defined(LZ4_FREESTANDING)
126# define LZ4_FREESTANDING 0
127#endif
128
129
130/*------ Version ------*/
131#define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */
132#define LZ4_VERSION_MINOR 10 /* for new (non-breaking) interface capabilities */
133#define LZ4_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */
134
135#define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
136
137#define LZ4_LIB_VERSION LZ4_VERSION_MAJOR.LZ4_VERSION_MINOR.LZ4_VERSION_RELEASE
138#define LZ4_QUOTE(str) #str
139#define LZ4_EXPAND_AND_QUOTE(str) LZ4_QUOTE(str)
140#define LZ4_VERSION_STRING LZ4_EXPAND_AND_QUOTE(LZ4_LIB_VERSION) /* requires v1.7.3+ */
141
142LZ4LIB_API int LZ4_versionNumber (void);
143LZ4LIB_API const char* LZ4_versionString (void);
146/*-************************************
147* Tuning memory usage
148**************************************/
157#ifndef LZ4_MEMORY_USAGE
158# define LZ4_MEMORY_USAGE LZ4_MEMORY_USAGE_DEFAULT
159#endif
160
161/* These are absolute limits, they should not be changed by users */
162#define LZ4_MEMORY_USAGE_MIN 10
163#define LZ4_MEMORY_USAGE_DEFAULT 14
164#define LZ4_MEMORY_USAGE_MAX 20
165
166#if (LZ4_MEMORY_USAGE < LZ4_MEMORY_USAGE_MIN)
167# error "LZ4_MEMORY_USAGE is too small !"
168#endif
169
170#if (LZ4_MEMORY_USAGE > LZ4_MEMORY_USAGE_MAX)
171# error "LZ4_MEMORY_USAGE is too large !"
172#endif
173
174/*-************************************
175* Simple Functions
176**************************************/
191LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
192
208LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity);
209
210
211/*-************************************
212* Advanced Functions
213**************************************/
214#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
215#define LZ4_COMPRESSBOUND(isize) ((unsigned)(isize) > (unsigned)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16)
216
227
236LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
237
238
246LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
247
272LZ4LIB_API int LZ4_compress_destSize(const char* src, char* dst, int* srcSizePtr, int targetDstSize);
273
308LZ4LIB_API int LZ4_decompress_safe_partial (const char* src, char* dst, int srcSize, int targetOutputSize, int dstCapacity);
309
310
311/*-*********************************************
312* Streaming Compression Functions
313***********************************************/
314typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */
315
329#if !defined(RC_INVOKED) /* https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros */
330#if !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION)
332LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
333#endif /* !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION) */
334#endif
335
359
371LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
372
380LZ4LIB_API int LZ4_loadDictSlow(LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
381
414LZ4LIB_API void
416 const LZ4_stream_t* dictionaryStream);
417
441LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
442
450LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
451
452
453/*-**********************************************
454* Streaming Decompression Functions
455* Bufferless synchronous API
456************************************************/
457typedef union LZ4_streamDecode_u LZ4_streamDecode_t; /* tracking context */
458
463#if !defined(RC_INVOKED) /* https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros */
464#if !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION)
467#endif /* !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION) */
468#endif
469
477LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
478
490LZ4LIB_API int LZ4_decoderRingBufferSize(int maxBlockSize);
491#define LZ4_DECODER_RING_BUFFER_SIZE(maxBlockSize) (65536 + 14 + (maxBlockSize)) /* for static allocation; maxBlockSize presumed valid */
492
531LZ4LIB_API int
533 const char* src, char* dst,
534 int srcSize, int dstCapacity);
535
536
545LZ4LIB_API int
546LZ4_decompress_safe_usingDict(const char* src, char* dst,
547 int srcSize, int dstCapacity,
548 const char* dictStart, int dictSize);
549
556LZ4LIB_API int
558 int compressedSize,
559 int targetOutputSize, int maxOutputSize,
560 const char* dictStart, int dictSize);
561
562#endif /* LZ4_H_2983827168210 */
563
564
565/*^*************************************
566 * !!!!!! STATIC LINKING ONLY !!!!!!
567 ***************************************/
568
569/*-****************************************************************************
570 * Experimental section
571 *
572 * Symbols declared in this section must be considered unstable. Their
573 * signatures or semantics may change, or they may be removed altogether in the
574 * future. They are therefore only safe to depend on when the caller is
575 * statically linked against the library.
576 *
577 * To protect against unsafe usage, not only are the declarations guarded,
578 * the definitions are hidden by default
579 * when building LZ4 as a shared/dynamic library.
580 *
581 * In order to access these declarations,
582 * define LZ4_STATIC_LINKING_ONLY in your application
583 * before including LZ4's headers.
584 *
585 * In order to make their implementations accessible dynamically, you must
586 * define LZ4_PUBLISH_STATIC_FUNCTIONS when building the LZ4 library.
587 ******************************************************************************/
588
589#ifdef LZ4_STATIC_LINKING_ONLY
590
591#ifndef LZ4_STATIC_3504398509
592#define LZ4_STATIC_3504398509
593
594#ifdef LZ4_PUBLISH_STATIC_FUNCTIONS
595# define LZ4LIB_STATIC_API LZ4LIB_API
596#else
597# define LZ4LIB_STATIC_API
598#endif
599
600
611LZ4LIB_STATIC_API int LZ4_compress_fast_extState_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
612
617int LZ4_compress_destSize_extState(void* state, const char* src, char* dst, int* srcSizePtr, int targetDstSize, int acceleration);
618
670#define LZ4_DECOMPRESS_INPLACE_MARGIN(compressedSize) (((compressedSize) >> 8) + 32)
671#define LZ4_DECOMPRESS_INPLACE_BUFFER_SIZE(decompressedSize) ((decompressedSize) + LZ4_DECOMPRESS_INPLACE_MARGIN(decompressedSize))
673#ifndef LZ4_DISTANCE_MAX /* history window size; can be user-defined at compile time */
674# define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */
675#endif
676
677#define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) /* LZ4_DISTANCE_MAX can be safely replaced by srcSize when it's smaller */
678#define LZ4_COMPRESS_INPLACE_BUFFER_SIZE(maxCompressedSize) ((maxCompressedSize) + LZ4_COMPRESS_INPLACE_MARGIN)
680#endif /* LZ4_STATIC_3504398509 */
681#endif /* LZ4_STATIC_LINKING_ONLY */
682
683
684
685#ifndef LZ4_H_98237428734687
686#define LZ4_H_98237428734687
687
688/*-************************************************************
689 * Private Definitions
690 **************************************************************
691 * Do not use these definitions directly.
692 * They are only exposed to allow static allocation of `LZ4_stream_t` and `LZ4_streamDecode_t`.
693 * Accessing members will expose user code to API and/or ABI break in future versions of the library.
694 **************************************************************/
695#define LZ4_HASHLOG (LZ4_MEMORY_USAGE-2)
696#define LZ4_HASHTABLESIZE (1 << LZ4_MEMORY_USAGE)
697#define LZ4_HASH_SIZE_U32 (1 << LZ4_HASHLOG) /* required as macro for static allocation */
698
699#if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
700# include <stdint.h>
701 typedef int8_t LZ4_i8;
702 typedef uint8_t LZ4_byte;
703 typedef uint16_t LZ4_u16;
704 typedef uint32_t LZ4_u32;
705#else
706 typedef signed char LZ4_i8;
707 typedef unsigned char LZ4_byte;
708 typedef unsigned short LZ4_u16;
709 typedef unsigned int LZ4_u32;
710#endif
711
728
729#define LZ4_STREAM_MINSIZE ((1UL << (LZ4_MEMORY_USAGE)) + 32) /* static size, for inter-version compatibility */
733}; /* previously typedef'd to LZ4_stream_t */
734
735
750LZ4LIB_API LZ4_stream_t* LZ4_initStream (void* stateBuffer, size_t size);
751
752
764
765#define LZ4_STREAMDECODE_MINSIZE 32
769} ; /* previously typedef'd to LZ4_streamDecode_t */
770
771
772
773/*-************************************
774* Obsolete Functions
775**************************************/
776
788#ifdef LZ4_DISABLE_DEPRECATE_WARNINGS
789# define LZ4_DEPRECATED(message) /* disable deprecation warnings */
790#else
791# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */
792# define LZ4_DEPRECATED(message) [[deprecated(message)]]
793# elif defined(_MSC_VER)
794# define LZ4_DEPRECATED(message) __declspec(deprecated(message))
795# elif defined(__clang__) || (defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 45))
796# define LZ4_DEPRECATED(message) __attribute__((deprecated(message)))
797# elif defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 31)
798# define LZ4_DEPRECATED(message) __attribute__((deprecated))
799# else
800# pragma message("WARNING: LZ4_DEPRECATED needs custom implementation for this compiler")
801# define LZ4_DEPRECATED(message) /* disabled */
802# endif
803#endif /* LZ4_DISABLE_DEPRECATE_WARNINGS */
804
806LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress (const char* src, char* dest, int srcSize);
812
816
817/* Obsolete streaming functions (since v1.7.0)
818 * degraded functionality; do not use!
819 *
820 * In order to perform streaming compression, these functions depended on data
821 * that is no longer tracked in the state. They have been preserved as well as
822 * possible: using them will still produce a correct output. However, they don't
823 * actually retain any history between compression calls. The compression ratio
824 * achieved will therefore be no better than compressing each chunk
825 * independently.
826 */
830LZ4_DEPRECATED("Use LZ4_saveDict() instead") LZ4LIB_API char* LZ4_slideInputBuffer (void* state);
831
835
862LZ4_DEPRECATED("This function is deprecated and unsafe. Consider using LZ4_decompress_safe_partial() instead")
864LZ4_DEPRECATED("This function is deprecated and unsafe. Consider migrating towards LZ4_decompress_safe_continue() instead. "
865 "Note that the contract will change (requires block's compressed size, instead of decompressed size)")
867LZ4_DEPRECATED("This function is deprecated and unsafe. Consider using LZ4_decompress_safe_partial_usingDict() instead")
868LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int originalSize, const char* dictStart, int dictSize);
869
876LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
877
878
879#endif /* LZ4_H_98237428734687 */
880
881
882#if defined (__cplusplus)
883}
884#endif
LZ4_FORCE_O2 int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest, int compressedSize, int maxOutputSize)
Definition lz4.c:2479
int LZ4_compress_limitedOutput(const char *source, char *dest, int inputSize, int maxOutputSize)
Definition lz4.c:2764
int LZ4_compress_limitedOutput_continue(LZ4_stream_t *LZ4_stream, const char *src, char *dst, int srcSize, int dstCapacity)
Definition lz4.c:2780
LZ4_FORCE_O2 int LZ4_decompress_fast_continue(LZ4_streamDecode_t *LZ4_streamDecode, const char *source, char *dest, int originalSize)
Definition lz4.c:2671
int LZ4_compress(const char *src, char *dest, int srcSize)
Definition lz4.c:2768
int LZ4_uncompress(const char *source, char *dest, int outputSize)
Definition lz4.c:2795
char * LZ4_slideInputBuffer(void *state)
Definition lz4.c:2823
int LZ4_compress_continue(LZ4_stream_t *LZ4_stream, const char *source, char *dest, int inputSize)
Definition lz4.c:2784
int LZ4_uncompress_unknownOutputSize(const char *source, char *dest, int isize, int maxOutputSize)
Definition lz4.c:2799
int LZ4_sizeofStreamState(void)
Definition lz4.c:2806
int LZ4_compress_withState(void *state, const char *src, char *dst, int srcSize)
Definition lz4.c:2776
int LZ4_compress_limitedOutput_withState(void *state, const char *src, char *dst, int srcSize, int dstSize)
Definition lz4.c:2772
int LZ4_resetStreamState(void *state, char *inputBuffer)
Definition lz4.c:2808
int LZ4_compress_fast_extState_fastReset(void *state, const char *src, char *dst, int srcSize, int dstCapacity, int acceleration)
Definition lz4.c:1414
int LZ4_decompress_fast_withPrefix64k(const char *source, char *dest, int originalSize)
Definition lz4.c:2496
int LZ4_compress_destSize_extState(void *state, const char *src, char *dst, int *srcSizePtr, int targetDstSize, int acceleration)
Definition lz4.c:1497
void * LZ4_create(char *inputBuffer)
Definition lz4.c:2816
#define LZ4LIB_API
Definition lz4.h:97
LZ4LIB_API int LZ4_decompress_fast_usingDict(const char *src, char *dst, int originalSize, const char *dictStart, int dictSize)
Definition lz4.c:2749
const char * source
Definition lz4.h:808
LZ4LIB_API int LZ4_compress_fast_continue(LZ4_stream_t *streamPtr, const char *src, char *dst, int srcSize, int dstCapacity, int acceleration)
Definition lz4.c:1707
char * dst
Definition lz4.h:833
char int srcSize
Definition lz4.h:806
char int compressedSize
Definition lz4.h:833
char int int maxOutputSize
Definition lz4.h:807
LZ4LIB_API int LZ4_compress_fast(const char *src, char *dst, int srcSize, int dstCapacity, int acceleration)
Definition lz4.c:1453
LZ4LIB_API void LZ4_resetStream_fast(LZ4_stream_t *streamPtr)
Definition lz4.c:1570
LZ4LIB_API int LZ4_decoderRingBufferSize(int maxBlockSize)
Definition lz4.c:2615
LZ4LIB_API int LZ4_decompress_safe_partial_usingDict(const char *src, char *dst, int compressedSize, int targetOutputSize, int maxOutputSize, const char *dictStart, int dictSize)
Definition lz4.c:2734
LZ4LIB_API int LZ4_freeStreamDecode(LZ4_streamDecode_t *LZ4_stream)
Definition lz4.c:2575
const char * src
Definition lz4.h:866
LZ4LIB_API int LZ4_loadDictSlow(LZ4_stream_t *streamPtr, const char *dictionary, int dictSize)
Definition lz4.c:1653
char int originalSize
Definition lz4.h:834
LZ4LIB_API int LZ4_saveDict(LZ4_stream_t *streamPtr, char *safeBuffer, int maxDictSize)
Definition lz4.c:1814
LZ4LIB_API LZ4_stream_t * LZ4_initStream(void *stateBuffer, size_t size)
Definition lz4.c:1552
LZ4LIB_API const char * LZ4_versionString(void)
Definition lz4.c:750
LZ4LIB_API int LZ4_versionNumber(void)
Definition lz4.c:749
LZ4LIB_API LZ4_stream_t * LZ4_createStream(void)
Definition lz4.c:1531
LZ4LIB_API int LZ4_sizeofState(void)
Definition lz4.c:752
char int int maxDstSize
Definition lz4.h:833
char * inputBuffer
Definition lz4.h:829
LZ4LIB_API int LZ4_compressBound(int inputSize)
Definition lz4.c:751
LZ4LIB_API int LZ4_decompress_safe(const char *src, char *dst, int compressedSize, int dstCapacity)
Definition lz4.c:2451
LZ4LIB_API int LZ4_setStreamDecode(LZ4_streamDecode_t *LZ4_streamDecode, const char *dictionary, int dictSize)
Definition lz4.c:2589
LZ4LIB_API int LZ4_decompress_safe_usingDict(const char *src, char *dst, int srcSize, int dstCapacity, const char *dictStart, int dictSize)
Definition lz4.c:2719
LZ4LIB_API int LZ4_freeStream(LZ4_stream_t *streamPtr)
Definition lz4.c:1575
const char char int inputSize
Definition lz4.h:808
unsigned short LZ4_u16
Definition lz4.h:708
LZ4LIB_API LZ4_streamDecode_t * LZ4_createStreamDecode(void)
Definition lz4.c:2569
LZ4LIB_API int LZ4_compress_fast_extState(void *state, const char *src, char *dst, int srcSize, int dstCapacity, int acceleration)
Definition lz4.c:1382
LZ4LIB_API int LZ4_decompress_safe_partial(const char *src, char *dst, int srcSize, int targetOutputSize, int dstCapacity)
Definition lz4.c:2459
signed char LZ4_i8
Definition lz4.h:706
LZ4LIB_API int LZ4_loadDict(LZ4_stream_t *streamPtr, const char *dictionary, int dictSize)
Definition lz4.c:1648
LZ4LIB_API void LZ4_attach_dictionary(LZ4_stream_t *workingStream, const LZ4_stream_t *dictionaryStream)
Definition lz4.c:1658
LZ4LIB_API int LZ4_decompress_safe_continue(LZ4_streamDecode_t *LZ4_streamDecode, const char *src, char *dst, int srcSize, int dstCapacity)
Definition lz4.c:2631
LZ4LIB_API void LZ4_resetStream(LZ4_stream_t *streamPtr)
Definition lz4.c:1564
unsigned char LZ4_byte
Definition lz4.h:707
char * dest
Definition lz4.h:806
LZ4LIB_API int LZ4_compress_destSize(const char *src, char *dst, int *srcSizePtr, int targetDstSize)
Definition lz4.c:1506
LZ4LIB_API int LZ4_decompress_fast(const char *src, char *dst, int originalSize)
Definition lz4.c:2468
char int outputSize
Definition lz4.h:814
LZ4LIB_API int LZ4_compress_default(const char *src, char *dst, int srcSize, int dstCapacity)
Definition lz4.c:1472
char int isize
Definition lz4.h:815
unsigned int LZ4_u32
Definition lz4.h:709
#define LZ4_DEPRECATED(message)
Definition lz4.h:801
#define LZ4_STREAMDECODE_MINSIZE
Definition lz4.h:765
#define LZ4_HASH_SIZE_U32
Definition lz4.h:697
#define LZ4_STREAM_MINSIZE
Definition lz4.h:729
Definition lz4.h:719
LZ4_u32 dictSize
Definition lz4.h:725
const LZ4_stream_t_internal * dictCtx
Definition lz4.h:722
const LZ4_byte * dictionary
Definition lz4.h:721
LZ4_u32 tableType
Definition lz4.h:724
LZ4_u32 currentOffset
Definition lz4.h:723
LZ4_u32 hashTable[LZ4_HASH_SIZE_U32]
Definition lz4.h:720
Definition lz4.h:758
const LZ4_byte * prefixEnd
Definition lz4.h:760
const LZ4_byte * externalDict
Definition lz4.h:759
size_t extDictSize
Definition lz4.h:761
size_t prefixSize
Definition lz4.h:762
Definition zstd_decompress.c:306
Definition lz4.h:730
LZ4_stream_t_internal internal_donotuse
Definition lz4.h:732
char minStateSize[LZ4_STREAM_MINSIZE]
Definition lz4.h:731
Definition lz4.h:766
LZ4_streamDecode_t_internal internal_donotuse
Definition lz4.h:768
char minStateSize[LZ4_STREAMDECODE_MINSIZE]
Definition lz4.h:767
Definition tar.h:373
size_t size
Definition platform.h:559
#define const
Definition zconf.h:230
const void size_t dictSize
Definition zbuff.h:76
void size_t const void size_t * srcSizePtr
Definition zbuff.h:78