(strm)
| 103 | unsigned len)); |
| 104 | |
| 105 | local int inflateStateCheck(strm) |
| 106 | z_streamp strm; |
| 107 | { |
| 108 | struct inflate_state FAR *state; |
| 109 | if (strm == Z_NULL || |
| 110 | strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) |
| 111 | return 1; |
| 112 | state = (struct inflate_state FAR *)strm->state; |
| 113 | if (state == Z_NULL || state->strm != strm || |
| 114 | state->mode < HEAD || state->mode > SYNC) |
| 115 | return 1; |
| 116 | return 0; |
| 117 | } |
| 118 | |
| 119 | int ZEXPORT inflateResetKeep(strm) |
| 120 | z_streamp strm; |
no outgoing calls
no test coverage detected