added ZSTD_setPledgedSrcSize

This commit is contained in:
inikep
2016-09-21 16:46:35 +02:00
parent 146ef58ff8
commit 230a61fff2
2 changed files with 29 additions and 2 deletions
+10
View File
@@ -26,10 +26,20 @@ extern "C" {
#endif
#endif
/* enables/disables zstd compression during runtime */
void useZSTD(int turn_on);
/* check if zstd compression is turned on */
int isUsingZSTD(void);
/* returns a string with version of zstd library */
const char * zstdVersion(void);
/* Changes a pledged source size for a given stream.
The function should be called after deflateInit().
After this function deflateReset() should be called. */
int ZSTD_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize);
#if defined (__cplusplus)
}