Query: sasl_seterror
OS: sunos
Section: 3sasl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sasl_seterror(3SASL) Simple Authentication Security Layer Library Functions sasl_seterror(3SASL)NAMEsasl_seterror - set the error stringSYNOPSIScc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> void sasl_seterror(sasl_conn_t *conn, unsigned flags, const char *fmt, ...);DESCRIPTIONThe sasl_seterror() interface sets the error string that will be returned by sasl_errdetail(3SASL). Use syslog(3C) style formatting, that is, use printf()--style with %m as the most recent errno error. The sasl_seterror() interface is primarily used by server callback functions and internal plug-ins, for example, with the sasl_authorize_t callback. The sasl_seterror() interface triggers a call to the SASL logging callback, if any, with a level of SASL_LOG_FAIL, unless the SASL_NOLOG flag is set. Make the message string sensitive to the current language setting. If there is no SASL_CB_LANGUAGE callback, message strings must be i- default. Otherwise, UTF-8 is used. Use of RFC 2482 for mixed-language text is encouraged. If the value of conn is NULL, the sasl_seterror() interface fails.PARAMETERSconn The sasl_conn_t for which the call to sasl_seterror() applies. flags If set to SASL_NOLOG, the call to sasl_seterror() is not logged. fmt A syslog(3C) style format string.RETURN VALUESsasl_seterror() has no return values.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlibsasl | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOsasl_errdetail(3SASL), syslog(3C), attributes(5) Whistler, K. and Adams, G. RFC 2482, Language Tagging in Unicode Plain Text. Network Working Group. January 1999. SunOS 5.10 14 Oct 2003 sasl_seterror(3SASL)
Related Man Pages |
---|
sasl_getcallback_t(3sasl) - sunos |
sasl_setpass(3sasl) - sunos |
sasl_seterror(3sasl) - sunos |
sasl_auxprop_request(3sasl) - opensolaris |
sasl_setpass(3sasl) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
liblogging 0.7.0 (Development branch) |
liblogging 0.7.1 (Development branch) |