sasl_set_alloc - set the memory allocation functions used by the SASL library
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> void sasl_set_alloc(sasl_malloc_t *m, sasl_calloc_t *c, sasl_realloc_t *r, sasl_free_t *f);
sasl_set_alloc(3sasl) SASL man pages sasl_set_alloc(3sasl)
NAME
sasl_set_alloc - set the memory allocation functions used by the SASL
library
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#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
Use the sasl_set_alloc() interface to set the memory allocation rou-
tines that the SASL library and plug-ins will use.
PARAMETERS
m A pointer to a malloc() function
c A pointer to a calloc() function
r A pointer to a realloc() function
f A pointer to a free() function
RETURN VALUES
sasl_set_alloc() has no return values.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+----------------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+----------------------------------+
|Availability | system/library/security/libsasl2 |
+---------------+----------------------------------+
|Stability | Pass-through volatile |
+---------------+----------------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-
sasl-2.1.26.tar.gz.
Further information about this software can be found on the open source
community website at https://www.cyrusimap.org/sasl/.
SASL 22 Oct 2003 sasl_set_alloc(3sasl)