Home | History | Annotate | Download | only in libevent

Lines Matching refs:cb

339     void (*cb)(struct evhttp_connection *, void *), void *arg)
344 evcon->cb = cb;
624 (*req->cb)(req, req->cb_arg);
635 void (*cb)(struct evhttp_request *, void *);
653 /* save the callback for later; the cb might free our object */
654 cb = req->cb;
670 if (cb != NULL)
671 (*cb)(NULL, cb_arg);
705 if (evcon->cb != NULL)
706 (*evcon->cb)(evcon, evcon->cb_arg);
763 (*req->cb)(req, req->cb_arg);
1191 request->cb(request, request->cb_arg);
1744 void (*cb)(struct evhttp_connection *, void *), void *cbarg)
1746 evcon->closecb = cb;
1985 evcon->cb = evhttp_send_done;
2163 struct evhttp_cb *cb;
2171 TAILQ_FOREACH(cb, callbacks, next) {
2174 res = strcmp(cb->what, req->uri) == 0;
2176 res = ((strncmp(cb->what, req->uri, offset) == 0) &&
2177 (cb->what[offset] == '\0'));
2181 return (cb);
2191 struct evhttp_cb *cb = NULL;
2198 if ((cb = evhttp_dispatch_callback(&http->callbacks, req)) != NULL) {
2199 (*cb->cb)(req, cb->cbarg);
2391 void (*cb)(struct evhttp_request *, void *), void *cbarg)
2399 http_cb->cb = cb;
2426 void (*cb)(struct evhttp_request *, void *), void *cbarg)
2428 http->gencb = cb;
2437 evhttp_request_new(void (*cb)(struct evhttp_request *, void *), void *arg)
2472 req->cb = cb;
2510 void (*cb)(struct evhttp_request *, void *))
2512 req->chunk_cb = cb;