MCPcopy Create free account
hub / github.com/MariaDB/server / deflateSetHeader

Function deflateSetHeader

zlib/deflate.c:714–719  ·  view source on GitHub ↗

========================================================================= */

Source from the content-addressed store, hash-verified

712
713/* ========================================================================= */
714int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head) {
715 if (deflateStateCheck(strm) || strm->state->wrap != 2)
716 return Z_STREAM_ERROR;
717 strm->state->gzhead = head;
718 return Z_OK;
719}
720
721/* ========================================================================= */
722int ZEXPORT deflatePending(z_streamp strm, unsigned *pending, int *bits) {

Callers

nothing calls this directly

Calls 1

deflateStateCheckFunction · 0.85

Tested by

no test coverage detected