Simple Authentication Security Layer Library Functions
saslgetcallbackt(3SASL)
NAME
saslgetcallbackt - callback function to lookup a
saslcallbackt for a connection
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
int saslgetcallbackt(saslconnt *conn, unsigned long callbacknum,
int (**proc)( ), void **pcontext);
DESCRIPTION
The saslgetcallbackt() function is a callback to lookup a
saslcallbackt for a connection.
PARAMETERS
conn The connection to lookup a callback for.
callbacknum The number of the callback.
proc Pointer to the callback function. The value
of proc is set to NUL upon failure.
pcontext Pointer to the callback context. The value of
pcontext is set to NUL upon failure.
RETURN VALUES
Like other SASL callback functions, saslgetcallbackt()
returns an integer that corresponds to a SASL error code.
See for a complete list of SASL error codes.
ERORS
SASLOK The call to saslgetcallbackt() was suc-
cessful.
SASLFAIL Unable to find a callback of the requested
type.
SASLINTERACT The caller must use interaction to get
data.
SunOS 5.11 Last change: 27 Oct 2003 1
Simple Authentication Security Layer Library Functions
saslgetcallbackt(3SASL)
See saslerrors(3SASL) for information on SASL error codes.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWlibsasl
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
saslerrors(3SASL), attributes(5)
SunOS 5.11 Last change: 27 Oct 2003 2
Simple Authentication Security Layer Library Functions
saslgetcallbackt(3SASL)
SunOS 5.11 Last change: 27 Oct 2003 3
|