1sasl_set_muteSxi(m3pSlAeSLA)uthentication Security Layer Library Fsuansclt_isoents_mutex(3SASL)
2
3
4
6 sasl_set_mutex - set the mutex lock functions used by the SASL library
7
9 cc [ flag ... ] file ... -lsasl [ library ... ]
10 #include <sasl/sasl.h>
11
12 void sasl_set_mutex(sasl_mutex_alloc_t *a, sasl_mutex_lock_t *l,
13 sasl_mutex_unlock_t *u, sasl_mutex_free_t *f);
14
15
17 Use the sasl_set_mutex() interface to set the mutex lock routines that
18 the SASL library and plug-ins will use.
19
21 a A pointer to the mutex lock allocation function
22
23
24 f A pointer to the mutex free or destroy function
25
26
27 l A pointer to the mutex lock function
28
29
30 u A pointer to the mutex unlock function
31
32
34 sasl_set_mutex() has no return values.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Availability │SUNWlibsasl │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Obsolete │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │MT-Level │Unsafe │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 attributes(5)
54
56 While most of libsasl is MT-Safe, sasl_set_* modifies the global state
57 and should be considered Unsafe.
58
59
60
61SunOS 5.11 22 Oct 2003 sasl_set_mutex(3SASL)