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.c917 if (req->chunk_cb != NULL) { in evhttp_handle_chunked_read()
919 (*req->chunk_cb)(req, req->cb_arg); in evhttp_handle_chunked_read()
989 } else if (req->chunk_cb != NULL || evbuffer_get_length(buf) >= (size_t)req->ntoread) { in evhttp_read_body()
1013 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1015 (*req->chunk_cb)(req, req->cb_arg); in evhttp_read_body()
3573 req->chunk_cb = cb; in evhttp_request_set_chunked_cb()