Lines Matching refs:bufferevent
111 struct bufferevent struct
133 typedef void (*bufferevent_data_cb)(struct bufferevent *bev, void *ctx);
149 typedef void (*bufferevent_event_cb)(struct bufferevent *bev, short what, void *ctx);
184 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options…
205 int bufferevent_socket_connect(struct bufferevent *, struct sockaddr *, int);
234 int bufferevent_socket_connect_hostname(struct bufferevent *,
245 int bufferevent_socket_get_dns_error(struct bufferevent *bev);
258 int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev);
263 struct event_base *bufferevent_get_base(struct bufferevent *bev);
274 int bufferevent_priority_set(struct bufferevent *bufev, int pri);
282 void bufferevent_free(struct bufferevent *bufev);
299 void bufferevent_setcb(struct bufferevent *bufev,
310 int bufferevent_setfd(struct bufferevent *bufev, evutil_socket_t fd);
316 evutil_socket_t bufferevent_getfd(struct bufferevent *bufev);
322 struct bufferevent *bufferevent_get_underlying(struct bufferevent *bufev);
337 int bufferevent_write(struct bufferevent *bufev,
350 int bufferevent_write_buffer(struct bufferevent *bufev, struct evbuffer *buf);
363 size_t bufferevent_read(struct bufferevent *bufev, void *data, size_t size);
373 int bufferevent_read_buffer(struct bufferevent *bufev, struct evbuffer *buf);
384 struct evbuffer *bufferevent_get_input(struct bufferevent *bufev);
398 struct evbuffer *bufferevent_get_output(struct bufferevent *bufev);
408 int bufferevent_enable(struct bufferevent *bufev, short event);
418 int bufferevent_disable(struct bufferevent *bufev, short event);
426 short bufferevent_get_enabled(struct bufferevent *bufev);
454 int bufferevent_set_timeouts(struct bufferevent *bufev,
475 void bufferevent_setwatermark(struct bufferevent *bufev, short events,
482 void bufferevent_lock(struct bufferevent *bufev);
488 void bufferevent_unlock(struct bufferevent *bufev);
513 int bufferevent_flush(struct bufferevent *bufev,
572 struct bufferevent *
573 bufferevent_filter_new(struct bufferevent *underlying,
592 struct bufferevent *pair[2]);
598 struct bufferevent *bufferevent_pair_get_partner(struct bufferevent *bev);
654 int bufferevent_set_rate_limit(struct bufferevent *bev,
721 int bufferevent_add_to_rate_limit_group(struct bufferevent *bev,
725 int bufferevent_remove_from_rate_limit_group(struct bufferevent *bev);
738 ev_ssize_t bufferevent_get_read_limit(struct bufferevent *bev);
739 ev_ssize_t bufferevent_get_write_limit(struct bufferevent *bev);
742 ev_ssize_t bufferevent_get_max_to_read(struct bufferevent *bev);
743 ev_ssize_t bufferevent_get_max_to_write(struct bufferevent *bev);
774 int bufferevent_decrement_read_limit(struct bufferevent *bev, ev_ssize_t decr);
775 int bufferevent_decrement_write_limit(struct bufferevent *bev, ev_ssize_t decr);