return APR_SUCCESS;
}
-AP_DECLARE(apr_bucket *) h2_bucket_eoc_make(apr_bucket *b,
- h2_session *session)
+apr_bucket * h2_bucket_eoc_make(apr_bucket *b, h2_session *session)
{
h2_bucket_eoc *h;
h->session = session;
b = apr_bucket_shared_make(b, h, 0, 0);
- b->type = &ap_bucket_type_h2_eoc;
+ b->type = &h2_bucket_type_eoc;
return b;
}
-AP_DECLARE(apr_bucket *) h2_bucket_eoc_create(apr_bucket_alloc_t *list,
- h2_session *session)
+apr_bucket * h2_bucket_eoc_create(apr_bucket_alloc_t *list, h2_session *session)
{
apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
}
}
-AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_h2_eoc = {
+const apr_bucket_type_t h2_bucket_type_eoc = {
"H2EOC", 5, APR_BUCKET_METADATA,
bucket_destroy,
bucket_read,
struct h2_session;
/** End Of HTTP/2 SESSION (H2EOC) bucket */
-AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_h2_eoc;
+extern const apr_bucket_type_t h2_bucket_type_eoc;
-AP_DECLARE(apr_bucket *) h2_bucket_eoc_make(apr_bucket *b,
- struct h2_session *session);
+apr_bucket * h2_bucket_eoc_make(apr_bucket *b,
+ struct h2_session *session);
-AP_DECLARE(apr_bucket *) h2_bucket_eoc_create(apr_bucket_alloc_t *list,
- struct h2_session *session);
+apr_bucket * h2_bucket_eoc_create(apr_bucket_alloc_t *list,
+ struct h2_session *session);
#endif /* mod_http2_h2_bucket_eoc_h */
return APR_SUCCESS;
}
-AP_DECLARE(apr_bucket *) h2_bucket_eos_make(apr_bucket *b,
- h2_stream *stream)
+apr_bucket *h2_bucket_eos_make(apr_bucket *b, h2_stream *stream)
{
h2_bucket_eos *h;
h->stream = stream;
b = apr_bucket_shared_make(b, h, 0, 0);
- b->type = &ap_bucket_type_h2_eos;
+ b->type = &h2_bucket_type_eos;
return b;
}
-AP_DECLARE(apr_bucket *) h2_bucket_eos_create(apr_bucket_alloc_t *list,
- h2_stream *stream)
+apr_bucket *h2_bucket_eos_create(apr_bucket_alloc_t *list,
+ h2_stream *stream)
{
apr_bucket *b = apr_bucket_alloc(sizeof(*b), list);
}
}
-AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_h2_eos = {
+AP_DECLARE_DATA const apr_bucket_type_t h2_bucket_type_eos = {
"H2EOS", 5, APR_BUCKET_METADATA,
bucket_destroy,
bucket_read,
struct h2_stream;
/** End Of HTTP/2 STREAM (H2EOS) bucket */
-AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_h2_eos;
+extern const apr_bucket_type_t h2_bucket_type_eos;
-AP_DECLARE(apr_bucket *) h2_bucket_eos_make(apr_bucket *b,
- struct h2_stream *stream);
+apr_bucket *h2_bucket_eos_make(apr_bucket *b, struct h2_stream *stream);
-AP_DECLARE(apr_bucket *) h2_bucket_eos_create(apr_bucket_alloc_t *list,
- struct h2_stream *stream);
+apr_bucket *h2_bucket_eos_create(apr_bucket_alloc_t *list,
+ struct h2_stream *stream);
#endif /* mod_http2_h2_bucket_stream_eos_h */