1sasl_getcallbSaicmkp_lte(3ASuAtShLe)ntication Security Layer LibrasrayslF_ugnecttciaolnlsback_t(3SASL)
2
3
4
6 sasl_getcallback_t - callback function to lookup a sasl_callback_t for
7 a connection
8
10 cc [ flag ... ] file ... -lsasl [ library ... ]
11 #include <sasl/saslplug.h>
12
13 int sasl_getcallback_t(sasl_conn_t *conn, unsigned long callbacknum,
14 int (**proc)( ), void **pcontext);
15
16
18 The sasl_getcallback_t() function is a callback to lookup a sasl_call‐
19 back_t for a connection.
20
22 conn The connection to lookup a callback for.
23
24
25 callbacknum The number of the callback.
26
27
28 proc Pointer to the callback function. The value of proc is
29 set to NULL upon failure.
30
31
32 pcontext Pointer to the callback context. The value of pcontext
33 is set to NULL upon failure.
34
35
37 Like other SASL callback functions, sasl_getcallback_t() returns an
38 integer that corresponds to a SASL error code. See <sasl.h> for a com‐
39 plete list of SASL error codes.
40
42 SASL_OK The call to sasl_getcallback_t() was successful.
43
44
45 SASL_FAIL Unable to find a callback of the requested type.
46
47
48 SASL_INTERACT The caller must use interaction to get data.
49
50
51
52 See sasl_errors(3SASL) for information on SASL error codes.
53
55 See attributes(5) for descriptions of the following attributes:
56
57
58
59
60 ┌─────────────────────────────┬─────────────────────────────┐
61 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Availability │SUNWlibsasl │
64 ├─────────────────────────────┼─────────────────────────────┤
65 │Interface Stability │Evolving │
66 ├─────────────────────────────┼─────────────────────────────┤
67 │MT-Level │MT-Safe │
68 └─────────────────────────────┴─────────────────────────────┘
69
71 sasl_errors(3SASL), attributes(5)
72
73
74
75SunOS 5.11 27 Oct 2003 sasl_getcallback_t(3SASL)