1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
This commit is contained in:
Andy Green 2022-08-05 19:45:05 +01:00
parent e3ed2ba690
commit ac17bde9d9
2 changed files with 3 additions and 1 deletions

View file

@ -398,9 +398,9 @@ int ZEXPORT deflateSetHeader (strm, head)
/* ========================================================================= */ /* ========================================================================= */
int ZEXPORT deflatePending (strm, pending, bits) int ZEXPORT deflatePending (strm, pending, bits)
z_streamp strm;
unsigned *pending; unsigned *pending;
int *bits; int *bits;
z_streamp strm;
{ {
if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
*pending = strm->state->pending; *pending = strm->state->pending;

View file

@ -664,6 +664,8 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
strm->avail_out was zero. strm->avail_out was zero.
*/ */
ZEXTERN int ZEXPORT deflatePending OF((z_streamp strm, unsigned *pending, int *bits));
ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm, ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm,
int good_length, int good_length,
int max_lazy, int max_lazy,