]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
reverted zstd_static.h changes
authorYann Collet <yann.collet.73@gmail.com>
Fri, 20 Feb 2015 18:02:26 +0000 (19:02 +0100)
committerYann Collet <yann.collet.73@gmail.com>
Fri, 20 Feb 2015 18:02:26 +0000 (19:02 +0100)
lib/zstd_static.h

index b63fbba06b0b45fae757efa11c5ce9055bec506d..68d8ceec77732f1f9706daef9d1384ff918067b9 100644 (file)
@@ -57,16 +57,9 @@ typedef void* ZSTD_dctx_t;
 ZSTD_dctx_t ZSTD_createDCtx(void);
 size_t      ZSTD_freeDCtx(ZSTD_dctx_t dctx);
 
-size_t ZSTD_nextSrcSizeToDecompress(ZSTD_dctx_t dctx);
+size_t ZSTD_getNextcBlockSize(ZSTD_dctx_t dctx);
 size_t ZSTD_decompressContinue(ZSTD_dctx_t dctx, void* dst, size_t maxDstSize, const void* src, size_t srcSize);
-/*
-  Use above functions alternatively.
-  ZSTD_nextSrcSizeToDecompress() tells how much bytes to provide as input to ZSTD_decompressContinue().
-  This value is expected to be provided, precisely, as 'srcSize'.
-  Otherwise, compression will fail (result is an error code, which can be tested using ZSTD_isError() )
-  ZSTD_decompressContinue() result is the number of bytes regenerated within 'dst'.
-  It can be zero, which is not an error; it just means ZSTD_decompressContinue() has decoded some header.
-*/
+
 
 /**************************************
 *  Error management