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