diff options
author | remittor <remittor@gmail.com> | 2017-03-08 08:11:15 (GMT) |
---|---|---|
committer | remittor <remittor@gmail.com> | 2017-03-08 08:11:15 (GMT) |
commit | f007153e3f0c401d51d6ba5f6ecf27b223591ef2 (patch) | |
tree | cd25f8af88a6e0bba940017ad65b9924303e5551 /lib/lz4hc.h | |
parent | 45b592b7ecf7afc686a4b9d0ddfcae2f7229f55e (diff) | |
download | lz4-f007153e3f0c401d51d6ba5f6ecf27b223591ef2.zip lz4-f007153e3f0c401d51d6ba5f6ecf27b223591ef2.tar.gz lz4-f007153e3f0c401d51d6ba5f6ecf27b223591ef2.tar.bz2 |
lz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSize
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index 1036fd0..13112f9 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -99,6 +99,7 @@ LZ4LIB_API void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionL LZ4LIB_API int LZ4_loadDictHC (LZ4_streamHC_t* streamHCPtr, const char* dictionary, int dictSize); LZ4LIB_API int LZ4_compress_HC_continue (LZ4_streamHC_t* streamHCPtr, const char* src, char* dst, int srcSize, int maxDstSize); +LZ4LIB_API int LZ4_compress_HC_continue_destSize (LZ4_streamHC_t* LZ4_streamHCPtr, const char* src, char* dst, int* srcSizePtr, int maxDstSize); LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize); @@ -219,6 +220,7 @@ LZ4_DEPRECATED("use LZ4_compress_HC_continue() instead") int LZ4_compressHC2_con LZ4_DEPRECATED("use LZ4_compress_HC_continue() instead") int LZ4_compressHC2_limitedOutput_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); LZ4_DEPRECATED("use LZ4_createStreamHC() instead") int LZ4_sizeofStreamStateHC(void); LZ4_DEPRECATED("use LZ4_resetStreamHC() instead") int LZ4_resetStreamStateHC(void* state, char* inputBuffer); +LZ4_DEPRECATED("use LZ4_compress_HC_continue_destSize() instead") int LZ4_compressHC_destSize(void* LZ4HC_Data, const char* source, char* dest, int* sourceSizePtr, int targetDestSize, int compressionLevel); #if defined (__cplusplus) |