Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_conn_io.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  h2_conn_io
 

Functions

apr_status_t h2_conn_io_init (h2_conn_io *io, conn_rec *c, const struct h2_config *cfg)
 
apr_status_t h2_conn_io_write (h2_conn_io *io, const char *buf, size_t length)
 
apr_status_t h2_conn_io_pass (h2_conn_io *io, apr_bucket_brigade *bb)
 
apr_status_t h2_conn_io_flush (h2_conn_io *io)
 
int h2_conn_io_needs_flush (h2_conn_io *io)
 

Function Documentation

apr_status_t h2_conn_io_flush ( h2_conn_io io)

Pass any buffered data on to the connection output filters.

Parameters
iothe connection io
flushif a flush bucket should be appended to any output
apr_status_t h2_conn_io_init ( h2_conn_io io,
conn_rec c,
const struct h2_config cfg 
)
int h2_conn_io_needs_flush ( h2_conn_io io)

Check if the buffered amount of data needs flushing.

apr_status_t h2_conn_io_pass ( h2_conn_io io,
apr_bucket_brigade bb 
)
apr_status_t h2_conn_io_write ( h2_conn_io io,
const char *  buf,
size_t  length 
)

Append data to the buffered output.

Parameters
bufthe data to append
lengththe length of the data to append