1sasl_getsecret_t(10 July 2001)                  sasl_getsecret_t(10 July 2001)
2
3
4

NAME

6       sasl_getsecret_t - The SASL callback for secrets (passwords)
7
8
9

SYNOPSIS

11       #include <sasl/sasl.h>
12
13
14       int sasl_getsecret_t(sasl_conn_t *conn,
15                            void *context,
16                           int id,
17                           sasl_secret_t ** psecret);
18
19

DESCRIPTION

21       sasl_getsecret_t is used to retrieve the secret from the application. A
22       sasl_secret_t      should      be       allocated       to       length
23       sizeof(sasl_secret_t)+<length  of  secret>. It has two fields len which
24       is the length of the secret in bytes and data which contains the secret
25       itself (does not need to be null terminated).
26

RETURN VALUE

28       SASL callback functions should return SASL return codes. See sasl.h for
29       a complete list. SASL_OK indicates success.
30
31

CONFORMING TO

33       RFC 2222
34

SEE ALSO

36       sasl(3), sasl_callbacks(3), sasl_errors(3)
37
38
39
40SASL man pages                       SASL       sasl_getsecret_t(10 July 2001)
Impressum