1sasl_chalpromSpitm_ptl(e3SAAuStLh)entication Security Layer LibrarsyasFlu_ncchtailopnrsompt_t(3SASL)
2
3
4

NAME

6       sasl_chalprompt_t - prompt for input in response to a challenge
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsasl   [ library ... ]
10       #include <sasl/sasl.h>
11
12       int sasl_chalprompt_t(void *context, int id, const char *challenge,
13            const char *prompt, const char *defresult, const char **result,
14            unsigned *len);
15
16

DESCRIPTION

18       Use  the  sasl_chalprompt_t() callback interface to prompt for input in
19       response to a server challenge.
20

PARAMETERS

22       context      The context from the callback record.
23
24
25       id           The callback id. id can have a value of SASL_CB_ECHOPROMPT
26                    or SASL_CB_NOECHOPROMPT
27
28
29       challenge    The server's challenge.
30
31
32       prompt       A prompt for the user.
33
34
35       defresult    The default result. The value of defresult can be NULL
36
37
38       result       The user's response. result is a null-terminated string.
39
40
41       len          The length of the user's response.
42
43

RETURN VALUES

45       Like  other  SASL  callback  functions,  sasl_chalprompt_t() returns an
46       integer that corresponds to a SASL error code. See <sasl.h> for a  com‐
47       plete list of SASL error codes.
48

ERRORS

50       SASL_OK    The call to sasl_chalprompt_t() was successful.
51
52
53
54       See sasl_errors(3SASL) for information on SASL error codes.
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Availability                 │SUNWlibsasl                  │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │Interface Stability          │Evolving                     │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │MT-Level                     │MT-Safe                      │
70       └─────────────────────────────┴─────────────────────────────┘
71

SEE ALSO

73       sasl_errors(3SASL), sasl_server_new(3SASL), attributes(5)
74
75
76
77SunOS 5.11                        14 Oct 2003         sasl_chalprompt_t(3SASL)
Impressum