1SASL_CHALPROMPT_T(3)              Cyrus SASL              SASL_CHALPROMPT_T(3)
2
3
4

NAME

6       sasl_chalprompt_t - Cyrus SASL documentation
7

SYNOPSIS

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

DESCRIPTION

17       int sasl_chalprompt_t(void *context,
18
19       int id,
20
21       const char *challenge,
22
23       const char *prompt,
24
25       const char *defresult,
26
27       const char **result,
28
29       unsigned *len)
30              sasl_chalprompt_t   is used to prompt for input in response to a
31              server challenge.
32
33              Parameters
34
35context – is the context from the callback record
36
37id – is the callback id (either  SASL_CB_ECHOPROMPT  or
38                       SASL_CB_NOECHOPROMPT)
39
40challenge – the server’s challenge
41
42prompt – A prompt for the user
43
44defresult – Default result (may be NULL)
45
46len – Length of the user’s response.
47
48              Result The user’s response (a NUL terminated string) or SASL er‐
49                     ror code.
50

RETURN VALUE

52       The user’s response  (NUL  terminated),  or  a  SASL  error  code.  See
53       sasl_errors(3).
54

SEE ALSO

56       sasl(3), sasl_errors(3), sasl_callbacks(3)
57

AUTHOR

59       The Cyrus Team
60
62       1993-2016, The Cyrus Team
63
64
65
66
672.1.28                         February 18, 2022          SASL_CHALPROMPT_T(3)
Impressum