Apache2
h2_c1_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_c1_io
 

Functions

apr_status_t h2_c1_io_init (h2_c1_io *io, struct h2_session *session)
 
apr_status_t h2_c1_io_add_data (h2_c1_io *io, const char *buf, size_t length)
 
apr_status_t h2_c1_io_add (h2_c1_io *io, apr_bucket *b)
 
apr_status_t h2_c1_io_append (h2_c1_io *io, apr_bucket_brigade *bb)
 
apr_status_t h2_c1_io_pass (h2_c1_io *io)
 
apr_status_t h2_c1_io_assure_flushed (h2_c1_io *io)
 
int h2_c1_io_needs_flush (h2_c1_io *io)
 
int h2_c1_io_pending (h2_c1_io *io)
 
apr_status_t h2_c1_read (struct h2_session *session)
 

Function Documentation

◆ h2_c1_io_add()

apr_status_t h2_c1_io_add ( h2_c1_io io,
apr_bucket b 
)

◆ h2_c1_io_add_data()

apr_status_t h2_c1_io_add_data ( h2_c1_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

◆ h2_c1_io_append()

apr_status_t h2_c1_io_append ( h2_c1_io io,
apr_bucket_brigade bb 
)

◆ h2_c1_io_assure_flushed()

apr_status_t h2_c1_io_assure_flushed ( h2_c1_io io)

if there is any data pendiong or was any data send since the last FLUSH, send out a FLUSH now.

◆ h2_c1_io_init()

apr_status_t h2_c1_io_init ( h2_c1_io io,
struct h2_session session 
)

◆ h2_c1_io_needs_flush()

int h2_c1_io_needs_flush ( h2_c1_io io)

Check if the buffered amount of data needs flushing.

◆ h2_c1_io_pass()

apr_status_t h2_c1_io_pass ( h2_c1_io io)

Pass any buffered data on to the connection output filters.

Parameters
iothe connection io

◆ h2_c1_io_pending()

int h2_c1_io_pending ( h2_c1_io io)

Check if we have output pending.

◆ h2_c1_read()

apr_status_t h2_c1_read ( struct h2_session session)

Read c1 input and pass it on to nghttp2.

Parameters
sessionthe session
when_pending!= 0 if only pending input (sitting in filters) needs to be read