Home
last modified time | relevance | path

Searched refs:bufferevent (Results 1 – 25 of 30) sorted by relevance

12

/external/libevent/include/event2/
Dbufferevent.h111 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);
[all …]
Dbufferevent_ssl.h67 struct bufferevent *
69 struct bufferevent *underlying,
84 struct bufferevent *
93 bufferevent_openssl_get_ssl(struct bufferevent *bufev);
96 int bufferevent_ssl_renegotiate(struct bufferevent *bev);
99 unsigned long bufferevent_get_openssl_error(struct bufferevent *bev);
Dbufferevent_compat.h75 struct bufferevent *bufferevent_new(evutil_socket_t fd,
86 void bufferevent_settimeout(struct bufferevent *bufev,
Dbufferevent_struct.h70 struct bufferevent { struct
/external/libevent/
Dbufferevent-internal.h139 struct bufferevent bev;
233 int (*enable)(struct bufferevent *, short);
239 int (*disable)(struct bufferevent *, short);
244 void (*destruct)(struct bufferevent *);
247 int (*adj_timeouts)(struct bufferevent *);
250 int (*flush)(struct bufferevent *, short, enum bufferevent_flush_mode);
253 int (*ctrl)(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_data *);
277 void bufferevent_suspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what);
280 void bufferevent_unsuspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what);
284 void bufferevent_suspend_write(struct bufferevent *bufev, bufferevent_suspend_flags what);
[all …]
Dbufferevent_filter.c60 static int be_filter_enable(struct bufferevent *, short);
61 static int be_filter_disable(struct bufferevent *, short);
62 static void be_filter_destruct(struct bufferevent *);
64 static void be_filter_readcb(struct bufferevent *, void *);
65 static void be_filter_writecb(struct bufferevent *, void *);
66 static void be_filter_eventcb(struct bufferevent *, short, void *);
67 static int be_filter_flush(struct bufferevent *bufev,
69 static int be_filter_ctrl(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_da…
78 struct bufferevent *underlying;
109 upcast(struct bufferevent *bev) in upcast()
[all …]
Dbufferevent.c62 static void _bufferevent_cancel_all(struct bufferevent *bev);
66 bufferevent_suspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what) in bufferevent_suspend_read()
78 bufferevent_unsuspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what) in bufferevent_unsuspend_read()
90 bufferevent_suspend_write(struct bufferevent *bufev, bufferevent_suspend_flags what) in bufferevent_suspend_write()
102 bufferevent_unsuspend_write(struct bufferevent *bufev, bufferevent_suspend_flags what) in bufferevent_unsuspend_write()
121 struct bufferevent *bufev = arg; in bufferevent_inbuf_wm_cb()
136 struct bufferevent *bufev = &bufev_private->bev; in bufferevent_run_deferred_callbacks_locked()
169 struct bufferevent *bufev = &bufev_private->bev; in bufferevent_run_deferred_callbacks_unlocked()
220 _bufferevent_run_readcb(struct bufferevent *bufev) in _bufferevent_run_readcb()
237 _bufferevent_run_writecb(struct bufferevent *bufev) in _bufferevent_run_writecb()
[all …]
Dbufferevent_sock.c78 static int be_socket_enable(struct bufferevent *, short);
79 static int be_socket_disable(struct bufferevent *, short);
80 static void be_socket_destruct(struct bufferevent *);
81 static int be_socket_adj_timeouts(struct bufferevent *);
82 static int be_socket_flush(struct bufferevent *, short, enum bufferevent_flush_mode);
83 static int be_socket_ctrl(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_da…
85 static void be_socket_setfd(struct bufferevent *, evutil_socket_t);
106 struct bufferevent *bufev = arg; in bufferevent_socket_outbuf_cb()
125 struct bufferevent *bufev = arg; in bufferevent_readcb()
204 struct bufferevent *bufev = arg; in bufferevent_writecb()
[all …]
Dbufferevent_async.c72 static int be_async_enable(struct bufferevent *, short);
73 static int be_async_disable(struct bufferevent *, short);
74 static void be_async_destruct(struct bufferevent *);
75 static int be_async_flush(struct bufferevent *, short, enum bufferevent_flush_mode);
76 static int be_async_ctrl(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_dat…
102 upcast(struct bufferevent *bev) in upcast()
141 struct bufferevent *bev = &beva->bev.bev; in bev_async_del_write()
152 struct bufferevent *bev = &beva->bev.bev; in bev_async_del_read()
163 struct bufferevent *bev = &beva->bev.bev; in bev_async_add_write()
174 struct bufferevent *bev = &beva->bev.bev; in bev_async_add_read()
[all …]
Dbufferevent_openssl.c159 struct bufferevent *bufev = b->ptr; in bio_bufferevent_write()
191 struct bufferevent *bufev = b->ptr; in bio_bufferevent_ctrl()
250 BIO_new_bufferevent(struct bufferevent *bufferevent, int close_flag) in BIO_new_bufferevent() argument
253 if (!bufferevent) in BIO_new_bufferevent()
258 result->ptr = bufferevent; in BIO_new_bufferevent()
290 struct bufferevent *underlying;
326 static int be_openssl_enable(struct bufferevent *, short);
327 static int be_openssl_disable(struct bufferevent *, short);
328 static void be_openssl_destruct(struct bufferevent *);
329 static int be_openssl_adj_timeouts(struct bufferevent *);
[all …]
Dbufferevent_pair.c54 upcast(struct bufferevent *bev) in upcast()
67 incref_and_lock(struct bufferevent *b) in incref_and_lock()
77 decref_and_unlock(struct bufferevent *b) in decref_and_unlock()
114 struct bufferevent *pair[2]) in bufferevent_pair_new()
151 be_pair_transfer(struct bufferevent *src, struct bufferevent *dst, in be_pair_transfer()
230 be_pair_enable(struct bufferevent *bufev, short events) in be_pair_enable()
258 be_pair_disable(struct bufferevent *bev, short events) in be_pair_disable()
269 be_pair_destruct(struct bufferevent *bev) in be_pair_destruct()
282 be_pair_flush(struct bufferevent *bev, short iotype, in be_pair_flush()
286 struct bufferevent *partner; in be_pair_flush()
[all …]
Diocp-internal.h188 struct bufferevent *bufferevent_async_new(struct event_base *base,
192 void bufferevent_async_set_connected(struct bufferevent *bev);
193 int bufferevent_async_can_connect(struct bufferevent *bev);
194 int bufferevent_async_connect(struct bufferevent *bev, evutil_socket_t fd,
Devbuffer-internal.h76 struct bufferevent;
153 struct bufferevent *parent;
285 void evbuffer_set_parent(struct evbuffer *buf, struct bufferevent *bev);
Dbufferevent_ratelim.c559 bufferevent_set_rate_limit(struct bufferevent *bev, in bufferevent_set_rate_limit()
732 bufferevent_add_to_rate_limit_group(struct bufferevent *bev, in bufferevent_add_to_rate_limit_group()
779 bufferevent_remove_from_rate_limit_group(struct bufferevent *bev) in bufferevent_remove_from_rate_limit_group()
785 bufferevent_remove_from_rate_limit_group_internal(struct bufferevent *bev, in bufferevent_remove_from_rate_limit_group_internal()
818 bufferevent_get_read_limit(struct bufferevent *bev) in bufferevent_get_read_limit()
837 bufferevent_get_write_limit(struct bufferevent *bev) in bufferevent_get_write_limit()
854 bufferevent_get_max_to_read(struct bufferevent *bev) in bufferevent_get_max_to_read()
864 bufferevent_get_max_to_write(struct bufferevent *bev) in bufferevent_get_max_to_write()
901 bufferevent_decrement_read_limit(struct bufferevent *bev, ev_ssize_t decr) in bufferevent_decrement_read_limit()
928 bufferevent_decrement_write_limit(struct bufferevent *bev, ev_ssize_t decr) in bufferevent_decrement_write_limit()
DMakefile.am177 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
218 bufferevent-internal.h http-internal.h event-internal.h \
Dratelim-internal.h87 int bufferevent_remove_from_rate_limit_group_internal(struct bufferevent *bev,
Dwhatsnew-2.0.txt69 "bufferevent" functions for higher-level buffered IO are in
70 event2/bufferevent.h.
241 To make an evbuffer or a bufferevent object threadsafe, call its
454 The "bufferevent" structure is now an abstract base type with multiple
458 Current implementations of the bufferevent interface are described below.
466 5.3. Filtered bufferevent IO
468 You can use bufferevent_filter_new() to create a bufferevent that wraps
469 around another bufferevent and transforms data it is sending and
471 compress data before sending it over a bufferevent.
481 There is now a bufferevent type that supports SSL/TLS using the
[all …]
DAndroid.mk29 bufferevent.c \
DMakefile.nmake14 CORE_OBJS=event.obj buffer.obj bufferevent.obj bufferevent_sock.obj \
Dhttp-internal.h68 struct bufferevent *bufev;
DChangeLog8 o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)
38 o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
91 …o bufferevent_ssl: Correctly invoke callbacks when a SSL bufferevent reads some and then blocks. (…
133 o Fix a typo in the bufferevent documentation (98e9119)
271 o Propagate errors on the underlying bufferevent to the user. (4a34394 Joachim Bauch)
276 …o clear read watermark on underlying bufferevent when creating filtering bev to fix potentially fa…
283 o Correctly terminate IO on an async bufferevent on bufferevent_free (e6af35d)
310 o Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy (2888fac)
455 o bufferevent-internal.h: Use the new event2/util.h header, not evutil.h (ef5e65a Evan Jones)
484 o When closing a filtering bufferevent, clear callbacks on the underlying bufferevent (fc7b1b0)
[all …]
DMakefile.in131 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
154 am__objects_9 = event.lo evthread.lo buffer.lo bufferevent.lo \
168 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
252 evbuffer-internal.h bufferevent-internal.h http-internal.h \
557 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
584 bufferevent-internal.h http-internal.h event-internal.h \
754 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent.Plo@am__quote@
/external/libweave/examples/provider/
Devent_network.h13 struct bufferevent;
24 void operator()(bufferevent* bev);
49 std::unique_ptr<bufferevent, Deleter> connectivity_probe_;
Devent_network.cc29 void EventNetworkImpl::Deleter::operator()(bufferevent* bev) { in operator ()()
57 [](struct bufferevent* buf, short events, void* ctx) { in UpdateNetworkState()
/external/libevent/include/
DMakefile.am12 event2/bufferevent.h \

12