Lines Matching refs:b_out
161 struct bufferevent *b_out, *b_in; in accept_cb() local
168 b_out = bufferevent_socket_new(base, -1, in accept_cb()
172 b_out = bufferevent_openssl_socket_new(base, -1, ssl, in accept_cb()
177 assert(b_in && b_out); in accept_cb()
179 if (bufferevent_socket_connect(b_out, in accept_cb()
182 bufferevent_free(b_out); in accept_cb()
191 b_out, ssl, BUFFEREVENT_SSL_CONNECTING, in accept_cb()
195 bufferevent_free(b_out); in accept_cb()
198 b_out = b_ssl; in accept_cb()
201 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb()
202 bufferevent_setcb(b_out, readcb, NULL, eventcb, b_in); in accept_cb()
205 bufferevent_enable(b_out, EV_READ|EV_WRITE); in accept_cb()