1sasl_chalprompt_t(3)            SASL man pages            sasl_chalprompt_t(3)
2
3
4

NAME

6       sasl_chalprompt_t - Realm Acquisition Callback
7
8

SYNOPSIS

10       #include <sasl/sasl.h>
11
12
13       int sasl_chalprompt_t(void *context, int id,
14                         const char *challenge,
15                             const char *prompt, const char *defresult,
16                             const char **result, unsigned *len)
17
18

DESCRIPTION

20       sasl_chalprompt_t  is  used to prompt for input in response to a server
21       challenge.
22
23       context context from the callback record
24
25       id callback id (either SASL_CB_ECHOPROMPT or SASL_CB_NOECHOPROMPT)
26
27       challenge the server's challenge
28
29       prompt A prompt for the user
30
31       defresult Default result (may be NULL)
32
33       result The user's response (a NUL terminated string)
34
35       len Length of the user's response.
36
37

RETURN VALUE

39       SASL callback functions should return SASL return codes. See sasl.h for
40       a complete list. SASL_OK indicates success.
41
42

SEE ALSO

44       sasl(3), sasl_callbacks(3)
45
46
47
48SASL                             10 July 2001             sasl_chalprompt_t(3)
Impressum