axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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
sizeThe amount of memory to be allocated (memory requested by the axl stream).
dataUser defined pointer configured at axl_stream_set_buffer_alloc.
Returns
The handler must return newly allocated memory to hold size bytes.