Lines Matching refs:evhttp_request
181 struct evhttp_request *req);
183 struct evhttp_request *req);
190 static void evhttp_make_header(struct evhttp_connection *, struct evhttp_request *);
347 evhttp_response_needs_body(struct evhttp_request *req)
406 struct evhttp_request *req)
446 struct evhttp_request *req)
538 struct evhttp_request *req)
593 evhttp_make_header(struct evhttp_connection *evcon, struct evhttp_request *req)
602 if (req->kind == EVHTTP_REQUEST) {
646 evhttp_connection_incoming_fail(struct evhttp_request *req,
701 struct evhttp_request* req = TAILQ_FIRST(&evcon->requests);
702 void (*cb)(struct evhttp_request *, void *);
773 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
842 evhttp_handle_chunked_read(struct evhttp_request *req, struct evbuffer *buf)
933 evhttp_read_trailer(struct evhttp_connection *evcon, struct evhttp_request *req)
955 evhttp_read_body(struct evhttp_connection *evcon, struct evhttp_request *req)
1047 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1109 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1127 struct evhttp_request *req;
1197 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1305 struct evhttp_request *request = TAILQ_FIRST(&evcon->requests);
1312 struct evhttp_request *request = TAILQ_FIRST(&requests);
1326 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
1472 evhttp_parse_http_version(const char *version, struct evhttp_request *req)
1490 evhttp_parse_response_line(struct evhttp_request *req, char *line)
1524 evhttp_parse_request_line(struct evhttp_request *req, char *line)
1722 evhttp_parse_firstline(struct evhttp_request *req, struct evbuffer *buffer)
1747 case EVHTTP_REQUEST:
1787 evhttp_parse_headers(struct evhttp_request *req, struct evbuffer* buffer)
1849 evhttp_get_body_length(struct evhttp_request *req)
1910 evhttp_get_body(struct evhttp_connection *evcon, struct evhttp_request *req)
1915 if (req->kind == EVHTTP_REQUEST &&
1931 if (req->kind == EVHTTP_REQUEST && req->ntoread < 1) {
1940 if (req->kind == EVHTTP_REQUEST && REQ_VERSION_ATLEAST(req, 1, 1)) {
1975 struct evhttp_request *req)
1997 struct evhttp_request *req)
2019 case EVHTTP_REQUEST:
2240 struct evhttp_request *req,
2244 req->kind = EVHTTP_REQUEST;
2291 evhttp_cancel_request(struct evhttp_request *req)
2347 struct evhttp_request *req = TAILQ_FIRST(&evcon->requests);
2375 evhttp_send_error(struct evhttp_request *req, int error, const char *reason)
2407 evhttp_send(struct evhttp_request *req, struct evbuffer *databuf)
2432 evhttp_send_reply(struct evhttp_request *req, int code, const char *reason,
2441 evhttp_send_reply_start(struct evhttp_request *req, int code,
2464 evhttp_send_reply_chunk(struct evhttp_request *req, struct evbuffer *databuf)
2490 evhttp_send_reply_end(struct evhttp_request *req)
2610 evhttp_response_code(struct evhttp_request *req, int code, const char *reason)
2626 evhttp_send_page(struct evhttp_request *req, struct evbuffer *databuf)
2875 evhttp_dispatch_callback(struct httpcbq *callbacks, struct evhttp_request *req)
3005 evhttp_handle_request(struct evhttp_request *req, void *arg)
3402 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3451 void (*cb)(struct evhttp_request *, void *), void *cbarg)
3461 struct evhttp_request *
3462 evhttp_request_new(void (*cb)(struct evhttp_request *, void *), void *arg)
3464 struct evhttp_request *req = NULL;
3467 if ((req = mm_calloc(1, sizeof(struct evhttp_request))) == NULL) {
3512 evhttp_request_free(struct evhttp_request *req)
3546 evhttp_request_own(struct evhttp_request *req)
3552 evhttp_request_is_owned(struct evhttp_request *req)
3558 evhttp_request_get_connection(struct evhttp_request *req)
3570 evhttp_request_set_chunked_cb(struct evhttp_request *req,
3571 void (*cb)(struct evhttp_request *, void *))
3581 evhttp_request_get_uri(const struct evhttp_request *req) {
3588 evhttp_request_get_evhttp_uri(const struct evhttp_request *req) {
3596 evhttp_request_get_host(struct evhttp_request *req)
3634 evhttp_request_get_command(const struct evhttp_request *req) {
3639 evhttp_request_get_response_code(const struct evhttp_request *req)
3645 struct evkeyvalq *evhttp_request_get_input_headers(struct evhttp_request *req)
3651 struct evkeyvalq *evhttp_request_get_output_headers(struct evhttp_request *req)
3657 struct evbuffer *evhttp_request_get_input_buffer(struct evhttp_request *req)
3663 struct evbuffer *evhttp_request_get_output_buffer(struct evhttp_request *req)
3717 struct evhttp_request *req;
3740 req->kind = EVHTTP_REQUEST;