void axl_stream_set_buffer_alloc ( axlStream stream,
axlStreamAlloc  handler,
axlPointer  data 
)

Allows to configure the handler to be executed to alloc memory for the axl_stream_get_until* API.

Parameters:
stream The stream to configure with the alloc function.
handler The handler to be called when the streams requires to alloc memory.
data User defined pointer to be called to the allocator function defined by the handler parameter.