Simple Authentication Security Layer Library Functions
saslchalpromptt(3SASL)
NAME
saslchalpromptt - prompt for input in response to a chal-
lenge
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include
int saslchalpromptt(void *context, int id, const char *challenge,
const char *prompt, const char *defresult, const char **result,
unsigned *len);
DESCRIPTION
Use the saslchalpromptt() callback interface to prompt for
input in response to a server challenge.
PARAMETERS
context The context from the callback record.
id The callback id. id can have a value of
SASLCBECHOPROMPT or SASLCBNOECHOPROMPT
challenge The server's challenge.
prompt A prompt for the user.
defresult The default result. The value of defresult can
be NUL
result The user's response. result is a null-
terminated string.
len The length of the user's response.
RETURN VALUES
Like other SASL callback functions, saslchalpromptt()
returns an integer that corresponds to a SASL error code.
See for a complete list of SASL error codes.
ERORS
SASLOK The call to saslchalpromptt() was successful.
SunOS 5.11 Last change: 14 Oct 2003 1
Simple Authentication Security Layer Library Functions
saslchalpromptt(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), saslservernew(3SASL), attributes(5)
SunOS 5.11 Last change: 14 Oct 2003 2
Simple Authentication Security Layer Library Functions
saslchalpromptt(3SASL)
SunOS 5.11 Last change: 14 Oct 2003 3
|