DeflateInitOutput(struct lcp_opt *o)
DeflateInitOutput(struct fsm_opt *o)
DeflateInitOutput(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_in = NULL;    if (deflateInit2(&state->cx, Z_DEFAULT_COMPRESSION, 8,                     -state->winsize, 8, Z_DEFAULT_STRATEGY) == Z_OK)      DeflateResetOutput(state);    else {      free(state);      state = NULL;    }  }  return state;}