1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
.. saslman:: sasl_set_alloc(3)
.. _sasl-reference-manpages-library-sasl_set_alloc:
=================================================================================
**sasl_set_alloc** - set the memory allocation functions used by the SASL library
=================================================================================
Synopsis
========
.. code-block:: C
#include <sasl/sasl.h>
void sasl_set_alloc(sasl_malloc_t *m,
sasl_calloc_t *c,
sasl_realloc_t *r,
sasl_free_t *f);
Description
===========
.. c:function:: void sasl_set_alloc(sasl_malloc_t *m,
sasl_calloc_t *c,
sasl_realloc_t *r,
sasl_free_t *f);
Use the **sasl_set_alloc()** interface to set the memory allocation
routines that the SASL library and plugāins will use.
:param m: A pointer to a malloc() function.
:param c: A pointer to a calloc() function.
:param r: A pointer to a realloc() function.
:param f: A pointer to a free() function.
Return Value
============
No return values.
See Also
========
:manpage:`malloc(3)`, :manpage:`calloc(3)`, :manpage:`realloc(3)`,
:manpage:`free(3)`.
|