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