Apache2
h2_request.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef __mod_h2__h2_request__
18 #define __mod_h2__h2_request__
19 
20 #include "h2.h"
21 
22 h2_request *h2_request_create(int id, apr_pool_t *pool, const char *method,
23  const char *scheme, const char *authority,
24  const char *path, apr_table_t *header);
25 
27  request_rec *r);
28 
30  const char *name, size_t nlen,
31  const char *value, size_t vlen,
32  size_t max_field_len, int *pwas_added);
33 
35  const char *name, size_t nlen,
36  const char *value, size_t vlen);
37 
39  size_t raw_bytes);
40 
42 
53  int no_body);
54 
55 #if AP_HAS_RESPONSE_BUCKETS
56 apr_bucket *h2_request_create_bucket(const h2_request *req, request_rec *r);
57 #endif
58 
59 #endif /* defined(__mod_h2__h2_request__) */
request_rec * r
Definition: mod_dav.h:518
dav_error * src
Definition: mod_dav.h:186
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char * name
Definition: mod_dav.h:805
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
apr_status_t h2_request_rcreate(h2_request **preq, apr_pool_t *pool, request_rec *r)
apr_status_t h2_request_add_header(h2_request *req, apr_pool_t *pool, const char *name, size_t nlen, const char *value, size_t vlen, size_t max_field_len, int *pwas_added)
apr_status_t h2_request_end_headers(h2_request *req, apr_pool_t *pool, size_t raw_bytes)
request_rec * h2_create_request_rec(const h2_request *req, conn_rec *conn, int no_body)
h2_request * h2_request_create(int id, apr_pool_t *pool, const char *method, const char *scheme, const char *authority, const char *path, apr_table_t *header)
apr_status_t h2_request_add_trailer(h2_request *req, apr_pool_t *pool, const char *name, size_t nlen, const char *value, size_t vlen)
h2_request * h2_request_clone(apr_pool_t *p, const h2_request *src)
Definition: apr_buckets.h:229
Structure to store things which are per connection.
Definition: httpd.h:1193
Definition: h2.h:169
A structure that represents the current request.
Definition: httpd.h:856
apr_pool_t * p