Searched refs:be_ops (Results 1 – 8 of 8) sorted by relevance
72 bufev->be_ops->disable(bufev, EV_READ); in bufferevent_suspend_read()85 bufev->be_ops->enable(bufev, EV_READ); in bufferevent_unsuspend_read()96 bufev->be_ops->disable(bufev, EV_WRITE); in bufferevent_suspend_write()109 bufev->be_ops->enable(bufev, EV_WRITE); in bufferevent_unsuspend_write()298 bufev->be_ops = ops; in bufferevent_init_common()422 if (impl_events && bufev->be_ops->enable(bufev, impl_events) < 0) in bufferevent_enable()447 if (bufev->be_ops->adj_timeouts) in bufferevent_set_timeouts()448 r = bufev->be_ops->adj_timeouts(bufev); in bufferevent_set_timeouts()490 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable_hard()505 if (bufev->be_ops->disable(bufev, event) < 0) in bufferevent_disable()[all …]
261 #define BEV_IS_SOCKET(bevp) ((bevp)->be_ops == &bufferevent_ops_socket)262 #define BEV_IS_FILTER(bevp) ((bevp)->be_ops == &bufferevent_ops_filter)263 #define BEV_IS_PAIR(bevp) ((bevp)->be_ops == &bufferevent_ops_pair)267 #define BEV_IS_ASYNC(bevp) ((bevp)->be_ops == &bufferevent_ops_async)
587 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); in be_socket_destruct()624 EVUTIL_ASSERT(bufev->be_ops == &bufferevent_ops_socket); in be_socket_setfd()647 if (bufev->be_ops != &bufferevent_ops_socket) in bufferevent_priority_set()668 if (bufev->be_ops != &bufferevent_ops_socket) in bufferevent_base_set()
57 if (bev->be_ops != &bufferevent_ops_pair) in upcast()60 EVUTIL_ASSERT(bev_p->bev.bev.be_ops == &bufferevent_ops_pair); in upcast()
112 if (bev->be_ops != &bufferevent_ops_filter) in upcast()116 EVUTIL_ASSERT(bev_f->bev.bev.be_ops == &bufferevent_ops_filter); in upcast()
351 if (bev->be_ops != &bufferevent_ops_openssl) in upcast()355 EVUTIL_ASSERT(bev_o->bev.bev.be_ops == &bufferevent_ops_openssl); in upcast()
105 if (bev->be_ops != &bufferevent_ops_async) in upcast()
75 const struct bufferevent_ops *be_ops; member