Lines Matching refs:bev
135 typedef void (*bufferevent_data_cb)(struct bufferevent *bev, void *ctx);
154 typedef void (*bufferevent_event_cb)(struct bufferevent *bev, short what, void *ctx);
254 int bufferevent_socket_get_dns_error(struct bufferevent *bev);
274 struct event_base *bufferevent_get_base(struct bufferevent *bev);
746 struct bufferevent *bufferevent_pair_get_partner(struct bufferevent *bev);
805 int bufferevent_set_rate_limit(struct bufferevent *bev,
877 int bufferevent_add_to_rate_limit_group(struct bufferevent *bev,
882 int bufferevent_remove_from_rate_limit_group(struct bufferevent *bev);
892 int bufferevent_set_max_single_read(struct bufferevent *bev, size_t size);
902 int bufferevent_set_max_single_write(struct bufferevent *bev, size_t size);
906 ev_ssize_t bufferevent_get_max_single_read(struct bufferevent *bev);
910 ev_ssize_t bufferevent_get_max_single_write(struct bufferevent *bev);
924 ev_ssize_t bufferevent_get_read_limit(struct bufferevent *bev);
926 ev_ssize_t bufferevent_get_write_limit(struct bufferevent *bev);
930 ev_ssize_t bufferevent_get_max_to_read(struct bufferevent *bev);
932 ev_ssize_t bufferevent_get_max_to_write(struct bufferevent *bev);
935 const struct ev_token_bucket_cfg *bufferevent_get_token_bucket_cfg(const struct bufferevent * bev);
969 int bufferevent_decrement_read_limit(struct bufferevent *bev, ev_ssize_t decr);
971 int bufferevent_decrement_write_limit(struct bufferevent *bev, ev_ssize_t decr);