axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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
streamThe stream to configure with the alloc function.
handlerThe handler to be called when the streams requires to alloc memory.
dataUser defined pointer to be called to the allocator function defined by the handler parameter.

References axl_return_if_fail.