SASL_SETPROP(3SASL) | Simple Authentication Security Layer Library Functions | SASL_SETPROP(3SASL) |
sasl_setprop - set a SASL property
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_setprop(sasl_conn_t *conn, int propnum, const void *pvalue);
Use the sasl_setprop() interface to set the value of a SASL property. For example, an application can use sasl_setprop() to tell the SASL liabrary about any external negotiated security layer like TLS.
sasl_setprop() uses the following flags.
SASL_AUTH_EXTERNAL
SASL_SSF_EXTERNAL
SASL_DEFUSERREALM
SASL_SEC_PROPS
SASL_IPLOCALPORT
SASL_IPREMOTEPORT
conn
propnum
pvalue
sasl_setprop() returns an integer that corresponds to a SASL error code.
SASL_OK
See sasl_errors(3SASL) for information on SASL error codes.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
MT-Level | MT-Safe |
October 14, 2003 | OmniOS |