1.. saslman:: sasl_set_mutex(3)
2
3.. _sasl-reference-manpages-library-sasl_set_mutex:
4
5
6==========================================================================
7**sasl_set_mutex** - set the mutex lock 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_mutex(sasl_mutex_alloc_t *a,
18                        sasl_mutex_lock_t *l,
19                        sasl_mutex_unlock_t *u,
20                        sasl_mutex_free_t *f);
21
22Description
23===========
24
25.. c:function::  void sasl_set_mutex(sasl_mutex_alloc_t *a,
26        sasl_mutex_lock_t *l,
27        sasl_mutex_unlock_t *u,
28        sasl_mutex_free_t *f);
29
30    Use the **sasl_set_mutex()** interface to set the mutex lock
31    routines that the SASL library and plug‐ins will use.
32
33    :param a: A pointer to the mutex lock allocation function.
34    :param l: A pointer to the mutex lock function.
35    :param u: A pointer to the mutex unlock function.
36    :param f: A pointer to the mutex free or destroy function.
37
38Return Value
39============
40
41No return values.
42