Home

Traffic Server Software Developers Kit

INKIOBufferReaderStart

Starts an IO buffer reader.

Prototype

INKIOBufferBlock INKIOBufferReaderStart (INKIOBufferReader readerp)

Description

Gets the read start block for the IO buffer reader. INKIOBufferReaderStart may return NULL if there is no data available for reading; it may also return an IO buffer block with no data available for reading. You should check for both conditions.

Returns

The read start block for the IO buffer reader.

INK_ERROR_PTR if an error occurs.