Home
last modified time | relevance | path

Searched refs:eventcb (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/doc/sources/
Dtutorial-client.rst128 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) {
Dtutorial-server.rst193 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/
Dlibevent-client.c498 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()
Dlibevent-server.c685 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/
Dshrpx_worker.cc48 void eventcb(struct ev_loop *loop, ev_async *w, int revents) { in eventcb() function
148 ev_async_init(&w_, eventcb);