Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_headers.h
Go to the documentation of this file.
1 /* Copyright 2015 greenbytes GmbH (https://www.greenbytes.de)
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8 
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef __mod_h2__h2_headers__
17 #define __mod_h2__h2_headers__
18 
19 #include "h2.h"
20 
21 struct h2_bucket_beam;
22 
24 
25 #define H2_BUCKET_IS_HEADERS(e) (e->type == &h2_bucket_type_headers)
26 
28 
30  h2_headers *r);
31 
33 
35  apr_bucket_brigade *dest,
36  const apr_bucket *src);
37 
46  apr_table_t *notes, apr_pool_t *pool);
47 
56  apr_table_t *header, apr_pool_t *pool);
57 
66  const struct h2_request *req, apr_pool_t *pool);
67 
69 
70 #endif /* defined(__mod_h2__h2_headers__) */
struct apr_bucket_alloc_t apr_bucket_alloc_t
Definition: apr_buckets.h:123
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:556
h2_headers * h2_headers_create(int status, apr_table_t *header, apr_table_t *notes, apr_pool_t *pool)
Definition: h2.h:118
Definition: h2_bucket_beam.h:177
h2_headers * h2_headers_rcreate(request_rec *r, int status, apr_table_t *header, apr_pool_t *pool)
Definition: apr_buckets.h:258
apr_bucket * h2_bucket_headers_make(apr_bucket *b, h2_headers *r)
const apr_bucket_type_t h2_bucket_type_headers
int h2_headers_are_response(h2_headers *headers)
Definition: apr_buckets.h:224
dav_error * src
Definition: mod_dav.h:186
h2_headers * h2_bucket_headers_get(apr_bucket *b)
h2_headers * h2_headers_die(apr_status_t type, const struct h2_request *req, apr_pool_t *pool)
A structure that represents the current request.
Definition: httpd.h:805
Definition: h2.h:132
apr_bucket * h2_bucket_headers_beam(struct h2_bucket_beam *beam, apr_bucket_brigade *dest, const apr_bucket *src)
int status
Definition: mod_dav.h:141
apr_bucket * h2_bucket_headers_create(apr_bucket_alloc_t *list, h2_headers *r)
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
Definition: apr_buckets.h:131
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
request_rec * r
Definition: mod_dav.h:519