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

NAME

6       sasl_getrealm_t - Realm Acquisition Callback
7
8

SYNOPSIS

10       #include <sasl/sasl.h>
11
12
13       int sasl_getrealm_t(void *context, int id,
14                       const char **availrealms,
15                           const char **result)
16
17

DESCRIPTION

19       sasl_getrealm_t   is   used   when   there   is   an  interaction  with
20       SASL_CB_GETREALM as the type.
21
22       If a mechanism would use this callback, but it is not present, then the
23       first  realm  listed is automatically selected.  (Note that a mechanism
24       may  still  force   the   existence   of   a   getrealm   callback   by
25       SASL_CB_GETREALM to its required_prompts list).
26
27       context context from the callback record
28
29       id callback ID (SASL_CB_GETREALM)
30
31       availrealms  A  string  list of the available realms.  NULL terminated,
32       may be empty.
33
34       result The chosen realm. (a NUL terminated string)
35
36

RETURN VALUE

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

SEE ALSO

43       sasl(3), sasl_callbacks(3)
44
45
46
47SASL man pages                       SASL        sasl_getrealm_t(10 July 2001)
Impressum