Home
last modified time | relevance | path

Searched refs:chunk_cb (Results 1 – 2 of 2) sorted by relevance

/minix/external/bsd/libevent/dist/include/event2/
H A Dhttp_struct.h124 void (*chunk_cb)(struct evhttp_request *, void *); member
/minix/external/bsd/libevent/dist/
H A Dhttp.c920 if (req->chunk_cb != NULL) { in evhttp_handle_chunked_read()
922 (*req->chunk_cb)(req, req->cb_arg); in evhttp_handle_chunked_read()
992 } else if (req->chunk_cb != NULL || evbuffer_get_length(buf) >= (size_t)req->ntoread) { in evhttp_read_body()
1016 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1018 (*req->chunk_cb)(req, req->cb_arg); in evhttp_read_body()
3576 req->chunk_cb = cb; in evhttp_request_set_chunked_cb()