Lines Matching refs:bev
1082 readcb(struct bufferevent *bev, void *arg)
1084 if (EVBUFFER_LENGTH(bev->input) == 8333) {
1085 bufferevent_disable(bev, EV_READ);
1091 writecb(struct bufferevent *bev, void *arg)
1093 if (EVBUFFER_LENGTH(bev->output) == 0)
1098 errorcb(struct bufferevent *bev, short what, void *arg)
1139 wm_readcb(struct bufferevent *bev, void *arg)
1141 int len = EVBUFFER_LENGTH(bev->input);
1146 evbuffer_drain(bev->input, len);
1150 bufferevent_disable(bev, EV_READ);
1156 wm_writecb(struct bufferevent *bev, void *arg)
1158 if (EVBUFFER_LENGTH(bev->output) == 0)
1163 wm_errorcb(struct bufferevent *bev, short what, void *arg)