evnt->flag_insta_close = FALSE;
static int evnt_init(struct Evnt *evnt, int fd, Vstr_ref *ref){  ASSERT(ref);    evnt->flag_q_accept    = FALSE;  evnt->flag_q_connect   = FALSE;  evnt->flag_q_recv      = FALSE;  evnt->flag_q_send_recv = FALSE;  evnt->flag_q_none      = FALSE;    evnt->flag_q_send_now  = FALSE;  evnt->flag_q_closed    = FALSE;  evnt->flag_q_pkt_move  = FALSE;  /* FIXME: need group settings, default no nagle but cork */  evnt->flag_io_nagle    = evnt_opt_nagle;  evnt->flag_io_cork     = FALSE;  evnt->flag_io_filter   = FALSE;    evnt->flag_fully_acpt  = FALSE;    evnt->io_r_shutdown    = FALSE;  evnt->io_w_shutdown    = FALSE;    evnt->prev_bytes_r = 0;    evnt->acct.req_put = 0;  evnt->acct.req_got = 0;  evnt->acct.bytes_r = 0;  evnt->acct.bytes_w = 0;  evnt->cbs->cb_func_accept     = evnt_cb_func_accept;  evnt->cbs->cb_func_connect    = evnt_cb_func_connect;  evnt->cbs->cb_func_recv       = evnt_cb_func_recv;  evnt->cbs->cb_func_send       = evnt_cb_func_send;  evnt->cbs->cb_func_free       = evnt_cb_func_F;  evnt->cbs->cb_func_shutdown_r = evnt_cb_func_shutdown_r;    if (!(evnt->io_r = vstr_make_base(NULL)))    goto make_vstr_fail;    if (!(evnt->io_w = vstr_make_base(NULL)))    goto make_vstr_fail;    evnt->tm_o = NULL;    if (!(evnt->ind = evnt_poll_add(evnt, fd)))    goto poll_add_fail;  EVNT__UPDATE_TV();  EVNT__COPY_TV(&evnt->ctime);  EVNT__COPY_TV(&evnt->mtime);  evnt->msecs_tm_mtime = 0;    if (fcntl(fd, F_SETFD, TRUE) == -1)    goto fcntl_fail;  evnt->sa_ref = vstr_ref_add(ref);    evnt_fd__set_nonblock(fd, TRUE);  return (TRUE); fcntl_fail:  evnt_poll_del(evnt); poll_add_fail:  vstr_free_base(evnt->io_w); make_vstr_fail:  vstr_free_base(evnt->io_r);  errno = ENOMEM;  return (FALSE);}