Home
last modified time | relevance | path

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

/external/libevent/include/event2/
Dhttp_struct.h122 void (*chunk_cb)(struct evhttp_request *, void *); member
/external/libevent/
Dhttp.c981 if (req->chunk_cb != NULL) { in evhttp_handle_chunked_read()
983 (*req->chunk_cb)(req, req->cb_arg); in evhttp_handle_chunked_read()
1081 } else if (req->chunk_cb != NULL || evbuffer_get_length(buf) >= (size_t)req->ntoread) { in evhttp_read_body()
1104 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1106 (*req->chunk_cb)(req, req->cb_arg); in evhttp_read_body()
4094 req->chunk_cb = cb; in evhttp_request_set_chunked_cb()