Lines Matching refs:cb

371     void (*cb)(struct evhttp_connection *, void *), void *arg)  in evhttp_write_buffer()
376 evcon->cb = cb; in evhttp_write_buffer()
405 evcon->cb = evhttp_send_continue_done; in evhttp_send_continue()
707 (*req->cb)(req, req->cb_arg); in evhttp_connection_incoming_fail()
739 void (*cb)(struct evhttp_request *, void *); in evhttp_connection_fail_() local
766 cb = req->cb; in evhttp_connection_fail_()
769 cb = NULL; in evhttp_connection_fail_()
800 if (cb != NULL) in evhttp_connection_fail_()
801 (*cb)(NULL, cb_arg); in evhttp_connection_fail_()
812 if (evcon->cb != NULL) in evhttp_write_cb()
813 (*evcon->cb)(evcon, evcon->cb_arg); in evhttp_write_cb()
873 (*req->cb)(req, req->cb_arg); in evhttp_connection_done()
1187 evhttp_deferred_read_cb(struct event_callback *cb, void *data) in evhttp_deferred_read_cb() argument
1449 request->cb(request, request->cb_arg); in evhttp_connection_cb_cleanup()
2543 void (*cb)(struct evhttp_connection *, void *), void *cbarg) in evhttp_connection_set_closecb()
2545 evcon->closecb = cb; in evhttp_connection_set_closecb()
2895 void (*cb)(struct evhttp_connection *, void *), void *arg) in evhttp_send_reply_chunk_with_cb()
2917 evhttp_write_buffer(evcon, cb, arg); in evhttp_send_reply_chunk_with_cb()
2950 evcon->cb = evhttp_send_done; in evhttp_send_reply_end()
3337 struct evhttp_cb *cb; in evhttp_dispatch_callback() local
3350 TAILQ_FOREACH(cb, callbacks, next) { in evhttp_dispatch_callback()
3351 if (!strcmp(cb->what, translated)) { in evhttp_dispatch_callback()
3353 return (cb); in evhttp_dispatch_callback()
3468 struct evhttp_cb *cb = NULL; in evhttp_handle_request() local
3494 if ((cb = evhttp_dispatch_callback(&http->callbacks, req)) != NULL) { in evhttp_handle_request()
3495 (*cb->cb)(req, cb->cbarg); in evhttp_handle_request()
3915 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_cb()
3935 http_cb->cb = cb; in evhttp_set_cb()
3964 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_gencb()
3966 http->gencb = cb; in evhttp_set_gencb()
3972 struct bufferevent* (*cb)(struct event_base *, void *), void *cbarg) in evhttp_set_bevcb()
3974 http->bevcb = cb; in evhttp_set_bevcb()
3983 evhttp_request_new(void (*cb)(struct evhttp_request *, void *), void *arg) in evhttp_request_new()
4021 req->cb = cb; in evhttp_request_new()
4092 void (*cb)(struct evhttp_request *, void *)) in evhttp_request_set_chunked_cb()
4094 req->chunk_cb = cb; in evhttp_request_set_chunked_cb()
4099 int (*cb)(struct evhttp_request *, void *)) in evhttp_request_set_header_cb()
4101 req->header_cb = cb; in evhttp_request_set_header_cb()
4106 void (*cb)(enum evhttp_request_error, void *)) in evhttp_request_set_error_cb()
4108 req->error_cb = cb; in evhttp_request_set_error_cb()
4113 void (*cb)(struct evhttp_request *, void *), void *cb_arg) in evhttp_request_set_on_complete_cb()
4115 req->on_complete_cb = cb; in evhttp_request_set_on_complete_cb()