1sasl_set_alloSci(m3pSlAeSLA)uthentication Security Layer Library Fsuansclt_isoents_alloc(3SASL)
2
3
4
6 sasl_set_alloc - set the memory allocation functions used by the SASL
7 library
8
10 cc [ flag ... ] file ... -lsasl [ library ... ]
11 #include <sasl/sasl.h>
12
13 void sasl_set_alloc(sasl_malloc_t *m, sasl_calloc_t *c, sasl_realloc_t *r,
14 sasl_free_t *f);
15
16
18 Use the sasl_set_alloc() interface to set the memory allocation rou‐
19 tines that the SASL library and plug-ins will use.
20
22 c A pointer to a calloc() function
23
24
25 f A pointer to a free() function
26
27
28 m A pointer to amalloc() function
29
30
31 r A pointer to a realloc() function
32
33
35 sasl_set_alloc() has no return values.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Availability │SUNWlibsasl │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │Interface Stability │Obsolete │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │MT-Level │Unsafe │
51 └─────────────────────────────┴─────────────────────────────┘
52
54 attributes(5)
55
57 While most of libsasl is MT-Safe, sasl_set_* modifies the global state
58 and should be considered Unsafe.
59
60
61
62SunOS 5.11 22 Oct 2003 sasl_set_alloc(3SASL)