Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

sasl_set_mutex (3sasl)

Name

sasl_set_mutex - set the mutex lock functions used by the SASL library

Synopsis

cc [ flag ... ] file ... -lsasl   [ library ... ]
#include <sasl/sasl.h>

void sasl_set_mutex(sasl_mutex_alloc_t *a,
sasl_mutex_lock_t *l,
sasl_mutex_unlock_t *u,
sasl_mutex_free_t *f);

Description

sasl_set_mutex(3sasl)           SASL man pages           sasl_set_mutex(3sasl)



NAME
       sasl_set_mutex - set the mutex lock functions used by the SASL library


SYNOPSIS
       cc [ flag ... ] file ... -lsasl   [ library ... ]
       #include <sasl/sasl.h>

       void sasl_set_mutex(sasl_mutex_alloc_t *a,
                           sasl_mutex_lock_t *l,
                           sasl_mutex_unlock_t *u,
                           sasl_mutex_free_t *f);


DESCRIPTION
       Use  the sasl_set_mutex() interface to set the mutex lock routines that
       the SASL library and plug-ins will use.


PARAMETERS
       a A pointer to the mutex lock allocation function

       l A pointer to the mutex lock function

       u A pointer to the mutex unlock function

       f A pointer to the mutex free or destroy function


RETURN VALUES
       sasl_set_mutex() 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_mutex(3sasl)