Lines Matching refs:evhttp_request
211 struct evhttp_request *req);
213 struct evhttp_request *req);
379 struct evhttp_request *req)
462 struct evhttp_request *req)
512 evhttp_make_header(struct evhttp_connection *evcon, struct evhttp_request *req)
520 if (req->kind == EVHTTP_REQUEST) {
599 evhttp_connection_incoming_fail(struct evhttp_request *req,
634 struct evhttp_request* req = TAILQ_FIRST(&evcon->requests);
635 void (*cb)(struct evhttp_request *, void *);
719 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
784 evhttp_handle_chunked_read(struct evhttp_request *req, struct evbuffer *buf)
839 evhttp_read_trailer(struct evhttp_connection *evcon, struct evhttp_request *req)
860 evhttp_read_body(struct evhttp_connection *evcon, struct evhttp_request *req)
913 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
967 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
985 struct evhttp_request *req;
1050 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1186 struct evhttp_request *request = TAILQ_FIRST(&evcon->requests);
1212 evhttp_parse_response_line(struct evhttp_request *req, char *line)
1254 evhttp_parse_request_line(struct evhttp_request *req, char *line)
1435 evhttp_parse_firstline(struct evhttp_request *req, struct evbuffer *buffer)
1445 case EVHTTP_REQUEST:
1485 evhttp_parse_headers(struct evhttp_request *req, struct evbuffer* buffer)
1531 evhttp_get_body_length(struct evhttp_request *req)
1570 evhttp_get_body(struct evhttp_connection *evcon, struct evhttp_request *req)
1575 if (req->kind == EVHTTP_REQUEST && req->type != EVHTTP_REQ_POST) {
1596 struct evhttp_request *req)
1619 evhttp_read_header(struct evhttp_connection *evcon, struct evhttp_request *req)
1639 case EVHTTP_REQUEST:
1800 struct evhttp_request *req,
1804 req->kind = EVHTTP_REQUEST;
1860 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1890 evhttp_send_error(struct evhttp_request *req, int error, const char *reason)
1917 evhttp_send(struct evhttp_request *req, struct evbuffer *databuf)
1934 evhttp_send_reply(struct evhttp_request *req, int code, const char *reason,
1943 evhttp_send_reply_start(struct evhttp_request *req, int code,
1958 evhttp_send_reply_chunk(struct evhttp_request *req, struct evbuffer *databuf)
1972 evhttp_send_reply_end(struct evhttp_request *req)
1991 evhttp_response_code(struct evhttp_request *req, int code, const char *reason)
2001 evhttp_send_page(struct evhttp_request *req, struct evbuffer *databuf)
2161 evhttp_dispatch_callback(struct httpcbq *callbacks, struct evhttp_request *req)
2188 evhttp_handle_request(struct evhttp_request *req, void *arg)
2391 void (*cb)(struct evhttp_request *, void *), void *cbarg)
2426 void (*cb)(struct evhttp_request *, void *), void *cbarg)
2436 struct evhttp_request *
2437 evhttp_request_new(void (*cb)(struct evhttp_request *, void *), void *arg)
2439 struct evhttp_request *req = NULL;
2442 if ((req = calloc(1, sizeof(struct evhttp_request))) == NULL) {
2484 evhttp_request_free(struct evhttp_request *req)
2509 evhttp_request_set_chunked_cb(struct evhttp_request *req,
2510 void (*cb)(struct evhttp_request *, void *))
2520 evhttp_request_uri(struct evhttp_request *req) {
2571 struct evhttp_request *req;
2580 req->kind = EVHTTP_REQUEST;