Searched refs:evconnlistener (Results 1 – 6 of 6) sorted by relevance
/external/libevent/include/event2/ |
D | listener.h | 37 struct evconnlistener; 48 typedef void (*evconnlistener_cb)(struct evconnlistener *, evutil_socket_t, struct sockaddr *, int … 56 typedef void (*evconnlistener_errorcb)(struct evconnlistener *, void *); 90 struct evconnlistener *evconnlistener_new(struct event_base *base, 108 struct evconnlistener *evconnlistener_new_bind(struct event_base *base, 114 void evconnlistener_free(struct evconnlistener *lev); 118 int evconnlistener_enable(struct evconnlistener *lev); 122 int evconnlistener_disable(struct evconnlistener *lev); 125 struct event_base *evconnlistener_get_base(struct evconnlistener *lev); 128 evutil_socket_t evconnlistener_get_fd(struct evconnlistener *lev); [all …]
|
D | http.h | 71 struct evconnlistener; 144 struct evhttp_bound_socket *evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listen… 149 struct evconnlistener *evhttp_bound_socket_get_listener(struct evhttp_bound_socket *bound);
|
/external/libevent/ |
D | listener.c | 66 int (*enable)(struct evconnlistener *); 67 int (*disable)(struct evconnlistener *); 68 void (*destroy)(struct evconnlistener *); 69 void (*shutdown)(struct evconnlistener *); 70 evutil_socket_t (*getfd)(struct evconnlistener *); 71 struct event_base *(*getbase)(struct evconnlistener *); 74 struct evconnlistener { struct 86 struct evconnlistener base; argument 92 struct evconnlistener base; 106 struct evconnlistener * [all …]
|
D | http-internal.h | 126 struct evconnlistener *listener;
|
D | http.c | 3079 accept_socket_cb(struct evconnlistener *listener, evutil_socket_t nfd, struct sockaddr *peer_sa, in… in accept_socket_cb() 3137 struct evconnlistener *listener; in evhttp_accept_socket_with_handle() 3157 evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listener) in evhttp_bind_listener() 3178 struct evconnlistener *
|
D | ChangeLog | 23 o Avoid leaking fds on evconnlistener with no callback set (69db261) 174 o Make evconnlistener work around bug in older Linux when getting nmapped (ecfc720) 490 o Functions to actually use evhttp_bound_socket with/as evconnlistener. (006efa7) 525 o Make sure IOCP evconnlistener uses virtual events. (7b40a00 Christopher Davis) 589 o Add error callback to evconnlistener (c4be8d8 Simon Perreault) 1065 o Make http use evconnlistener. (ec34533)
|