MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / deflateSetHeader

Function deflateSetHeader

ZLib/deflate.c:439–447  ·  view source on GitHub ↗

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

(strm, head)

Source from the content-addressed store, hash-verified

437
438/* ========================================================================= */
439int ZEXPORT deflateSetHeader (strm, head)
440 z_streamp strm;
441 gz_headerp head;
442{
443 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
444 if (strm->state->wrap != 2) return Z_STREAM_ERROR;
445 strm->state->gzhead = head;
446 return Z_OK;
447}
448
449/* ========================================================================= */
450int ZEXPORT deflatePending (strm, pending, bits)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected