SASL_CHALPROMPT_T(3SASL) | Simple Authentication Security Layer Library Functions | SASL_CHALPROMPT_T(3SASL) |
sasl_chalprompt_t - prompt for input in response to a challenge
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_chalprompt_t(void *context, int id, const char *challenge,
const char *prompt, const char *defresult, const char **result,
unsigned *len);
Use the sasl_chalprompt_t() callback interface to prompt for input in response to a server challenge.
context
id
challenge
prompt
defresult
result
len
Like other SASL callback functions, sasl_chalprompt_t() returns an integer that corresponds to a SASL error code. See <sasl.h> for a complete list of SASL error codes.
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 |