• Home
  • Raw
  • Download

Lines Matching refs:bufferevent

113 struct bufferevent  struct
135 typedef void (*bufferevent_data_cb)(struct bufferevent *bev, void *ctx);
154 typedef void (*bufferevent_event_cb)(struct bufferevent *bev, short what, void *ctx);
190 struct bufferevent *bufferevent_socket_new(struct event_base *base, evutil_socket_t fd, int options…
212 int bufferevent_socket_connect(struct bufferevent *, const struct sockaddr *, int);
242 int bufferevent_socket_connect_hostname(struct bufferevent *,
254 int bufferevent_socket_get_dns_error(struct bufferevent *bev);
268 int bufferevent_base_set(struct event_base *base, struct bufferevent *bufev);
274 struct event_base *bufferevent_get_base(struct bufferevent *bev);
286 int bufferevent_priority_set(struct bufferevent *bufev, int pri);
294 int bufferevent_get_priority(const struct bufferevent *bufev);
305 void bufferevent_free(struct bufferevent *bufev);
323 void bufferevent_setcb(struct bufferevent *bufev,
342 void bufferevent_getcb(struct bufferevent *bufev,
356 int bufferevent_setfd(struct bufferevent *bufev, evutil_socket_t fd);
363 evutil_socket_t bufferevent_getfd(struct bufferevent *bufev);
370 struct bufferevent *bufferevent_get_underlying(struct bufferevent *bufev);
386 int bufferevent_write(struct bufferevent *bufev,
400 int bufferevent_write_buffer(struct bufferevent *bufev, struct evbuffer *buf);
414 size_t bufferevent_read(struct bufferevent *bufev, void *data, size_t size);
425 int bufferevent_read_buffer(struct bufferevent *bufev, struct evbuffer *buf);
437 struct evbuffer *bufferevent_get_input(struct bufferevent *bufev);
452 struct evbuffer *bufferevent_get_output(struct bufferevent *bufev);
463 int bufferevent_enable(struct bufferevent *bufev, short event);
474 int bufferevent_disable(struct bufferevent *bufev, short event);
483 short bufferevent_get_enabled(struct bufferevent *bufev);
512 int bufferevent_set_timeouts(struct bufferevent *bufev,
534 void bufferevent_setwatermark(struct bufferevent *bufev, short events,
548 int bufferevent_getwatermark(struct bufferevent *bufev, short events,
556 void bufferevent_lock(struct bufferevent *bufev);
563 void bufferevent_unlock(struct bufferevent *bufev);
575 void bufferevent_incref(struct bufferevent *bufev);
589 int bufferevent_decref(struct bufferevent *bufev);
615 int bufferevent_flush(struct bufferevent *bufev,
646 void bufferevent_trigger(struct bufferevent *bufev, short iotype,
659 void bufferevent_trigger_event(struct bufferevent *bufev, short what,
718 struct bufferevent *
719 bufferevent_filter_new(struct bufferevent *underlying,
739 struct bufferevent *pair[2]);
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);