DeflateInitInput(struct lcp_opt *o)
DeflateInitInput(struct fsm_opt *o)
DeflateInitInput(struct lcp_opt *o){  struct deflate_state *state;  state = (struct deflate_state *)malloc(sizeof(struct deflate_state));  if (state != NULL) {    state->winsize = (o->data[0] >> 4) + 8;    state->cx.zalloc = NULL;    state->cx.opaque = NULL;    state->cx.zfree = NULL;    state->cx.next_out = NULL;    if (inflateInit2(&state->cx, -state->winsize) == Z_OK)      DeflateResetInput(state);    else {      free(state);      state = NULL;    }  }  return state;}