Searched refs:eventcb (Results 1 – 5 of 5) sorted by relevance
/third_party/nghttp2/doc/sources/ |
D | tutorial-client.rst | 128 bufferevent_setcb(bev, readcb, writecb, eventcb, session_data); 139 sets up three callbacks: ``readcb``, ``writecb``, and ``eventcb``. 141 The ``eventcb()`` is invoked by the libevent event loop when an event 145 static void eventcb(struct bufferevent *bev, short events, void *ptr) {
|
D | tutorial-server.rst | 193 bufferevent_setcb(session_data->bev, readcb, writecb, eventcb, session_data); 199 ``eventcb``. 201 The ``eventcb()`` callback is invoked by the libevent event loop when an event 205 static void eventcb(struct bufferevent *bev _U_, short events, void *ptr) {
|
/third_party/nghttp2/examples/ |
D | libevent-client.c | 498 static void eventcb(struct bufferevent *bev, short events, void *ptr) { in eventcb() function 558 bufferevent_setcb(bev, readcb, writecb, eventcb, session_data); in initiate_connection()
|
D | libevent-server.c | 685 static void eventcb(struct bufferevent *bev, short events, void *ptr) { in eventcb() function 741 bufferevent_setcb(session_data->bev, readcb, writecb, eventcb, session_data); in acceptcb()
|
/third_party/nghttp2/src/ |
D | shrpx_worker.cc | 48 void eventcb(struct ev_loop *loop, ev_async *w, int revents) { in eventcb() function 148 ev_async_init(&w_, eventcb);
|