| 126 | } |
| 127 | |
| 128 | int ZEXPORT inflateReset(z_streamp strm) |
| 129 | { |
| 130 | struct inflate_state FAR *state; |
| 131 | |
| 132 | if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; |
| 133 | state = (struct inflate_state FAR *)strm->state; |
| 134 | state->wsize = 0; |
| 135 | state->whave = 0; |
| 136 | state->wnext = 0; |
| 137 | return inflateResetKeep(strm); |
| 138 | } |
| 139 | |
| 140 | int ZEXPORT inflateReset2(z_streamp strm, int windowBits) |
| 141 | { |
no test coverage detected