66 #ifndef MLZ4F_DISABLE_OBSOLETE_ENUMS
67 # define MLZ4F_OBSOLETE_ENUM(x) ,x
69 # define MLZ4F_OBSOLETE_ENUM(x)
104 #ifndef MLZ4F_DISABLE_OBSOLETE_ENUMS
116 unsigned long long contentSize;
117 unsigned reserved[2];
124 unsigned reserved[4];
153 unsigned reserved[3];
158 #define MLZ4F_VERSION 100
233 unsigned reserved[3];
257 const void* srcBuffer,
size_t* srcSizePtr);
272 void* dstBuffer,
size_t* dstSizePtr,
273 const void* srcBuffer,
size_t* srcSizePtr,
size_t MLZ4F_compressEnd(MLZ4F_compressionContext_t cctx, void *dstBuffer, size_t dstMaxSize, const MLZ4F_compressOptions_t *cOptPtr)
MLZ4F_errorCode_t MLZ4F_freeDecompressionContext(MLZ4F_decompressionContext_t dctx)
size_t MLZ4F_decompress(MLZ4F_decompressionContext_t dctx, void *dstBuffer, size_t *dstSizePtr, const void *srcBuffer, size_t *srcSizePtr, const MLZ4F_decompressOptions_t *dOptPtr)
MLZ4F_blockSizeID_t blockSizeID_t
unsigned MLZ4F_isError(MLZ4F_errorCode_t code)
size_t MLZ4F_compressBound(size_t srcSize, const MLZ4F_preferences_t *prefsPtr)
struct MLZ4F_cctx_s * MLZ4F_compressionContext_t
size_t MLZ4F_compressUpdate(MLZ4F_compressionContext_t cctx, void *dstBuffer, size_t dstMaxSize, const void *srcBuffer, size_t srcSize, const MLZ4F_compressOptions_t *cOptPtr)
size_t MLZ4F_compressFrame(void *dstBuffer, size_t dstMaxSize, const void *srcBuffer, size_t srcSize, const MLZ4F_preferences_t *preferencesPtr)
MLZ4F_errorCode_t MLZ4F_freeCompressionContext(MLZ4F_compressionContext_t cctx)
size_t MLZ4F_compressBegin(MLZ4F_compressionContext_t cctx, void *dstBuffer, size_t dstMaxSize, const MLZ4F_preferences_t *prefsPtr)
size_t MLZ4F_getFrameInfo(MLZ4F_decompressionContext_t dctx, MLZ4F_frameInfo_t *frameInfoPtr, const void *srcBuffer, size_t *srcSizePtr)
MLZ4F_errorCode_t MLZ4F_createCompressionContext(MLZ4F_compressionContext_t *cctxPtr, unsigned version)
struct MLZ4F_dctx_s * MLZ4F_decompressionContext_t
size_t MLZ4F_flush(MLZ4F_compressionContext_t cctx, void *dstBuffer, size_t dstMaxSize, const MLZ4F_compressOptions_t *cOptPtr)
MLZ4F_frameType_t frameType_t
@ MLZ4F_contentChecksumEnabled
@ MLZ4F_noContentChecksum
MLZ4F_blockMode_t blockMode_t
const char * MLZ4F_getErrorName(MLZ4F_errorCode_t code)
size_t MLZ4F_compressFrameBound(size_t srcSize, const MLZ4F_preferences_t *preferencesPtr)
MLZ4F_errorCode_t MLZ4F_createDecompressionContext(MLZ4F_decompressionContext_t *dctxPtr, unsigned version)
MLZ4F_contentChecksum_t contentChecksum_t
const char char int int compressionLevel
#define MLZ4F_OBSOLETE_ENUM(x)