| 1527 | } |
| 1528 | |
| 1529 | int mz_deflateReset(mz_streamp pStream) { |
| 1530 | if ((!pStream) || (!pStream->state) || (!pStream->zalloc) || |
| 1531 | (!pStream->zfree)) |
| 1532 | return MZ_STREAM_ERROR; |
| 1533 | pStream->total_in = pStream->total_out = 0; |
| 1534 | tdefl_init((tdefl_compressor *)pStream->state, NULL, NULL, |
| 1535 | ((tdefl_compressor *)pStream->state)->m_flags); |
| 1536 | return MZ_OK; |
| 1537 | } |
| 1538 | |
| 1539 | int mz_deflate(mz_streamp pStream, int flush) { |
| 1540 | size_t in_bytes, out_bytes; |
nothing calls this directly
no test coverage detected