ASYNC_get_mem_functions

Retrieve the current custom ASYNC stack allocator callbacks.

Synopsis

Declared in <openssl/async.h>

void
ASYNC_get_mem_functions(
    ASYNC_stack_alloc_fn* alloc_fn,
    ASYNC_stack_free_fn* free_fn);

Parameters

NameDescription
alloc_fnReceives the installed allocator, or NULL if the default is in use.
free_fnReceives the installed free callback, or NULL if the default is in use.