MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / deflateSetHeader

Function deflateSetHeader

extlibs/minizip/src/deflate.c:545–554  ·  view source on GitHub ↗

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

(strm, head)

Source from the content-addressed store, hash-verified

543
544/* ========================================================================= */
545int ZEXPORT deflateSetHeader(strm, head)
546z_streamp strm;
547
548gz_headerp head;
549{
550 if (deflateStateCheck(strm) || strm->state->wrap != 2)
551 return Z_STREAM_ERROR;
552 strm->state->gzhead = head;
553 return Z_OK;
554}
555
556/* ========================================================================= */
557int ZEXPORT deflatePending(strm, pending, bits)

Callers

nothing calls this directly

Calls 1

deflateStateCheckFunction · 0.85

Tested by

no test coverage detected