Home

Traffic Server Software Developers Kit

INKIOBufferDestroy

Destroys an IO buffer.

Prototype

INKReturnCode INKIOBufferDestroy (INKIOBuffer bufp)

Description

Destroys the IO buffer bufp. Since two IO buffers can share data, this does not necessarily free all of the data associated with the IO buffer - it simply decrements the appropriate reference counts.

Returns

INK_SUCCESS if the IO buffer is successfully destroyed.

INK_ERROR if an error occurs.