typedef char*(*) axlStreamAlloc(int size, axlPointer data)

Handler used to represent the set of functions that could be used to configure the axl stream allocation method.

See axl_stream_set_buffer_alloc.

Parameters:
size The amount of memory to be allocated (memory requested by the axl stream).
data User defined pointer configured at axl_stream_set_buffer_alloc.
Returns:
The handler must return newly allocated memory to hold size bytes.