]> granicus.if.org Git - apache/blob - modules/http2/h2_bucket_eoc.h
rework of output handling on stream/session close, rework of cleartext (http:) output...
[apache] / modules / http2 / h2_bucket_eoc.h
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_http2_h2_bucket_eoc_h
17 #define mod_http2_h2_bucket_eoc_h
18
19 struct h2_session;
20
21 /** End Of HTTP/2 SESSION (H2EOC) bucket */
22 AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_h2_eoc;
23
24
25 AP_DECLARE(apr_bucket *) h2_bucket_eoc_make(apr_bucket *b, 
26                                             struct h2_session *session);
27
28 AP_DECLARE(apr_bucket *) h2_bucket_eoc_create(apr_bucket_alloc_t *list,
29                                               struct h2_session *session);
30
31 #endif /* mod_http2_h2_bucket_eoc_h */