1sasl_server_aSdidm_pplleugAiunt(h3eSnAtSiLc)ation Security Layer Lsiabsrla_rsyerFvuenrc_taidodn_splugin(3SASL)
2
3
4
6 sasl_server_add_plugin - add a SASL server plug-in
7
9 cc [ flag ... ] file ... -lsasl [ library ... ]
10 #include <sasl/saslplug.h>
11
12 int sasl_server_add_plugin(const char *plugname,
13 sasl_server_plug_init_t *cplugfunc);
14
15
17 Use the sasl_server_add_plugin() interface to add a server plug-in to
18 the current list of client plug-ins in the SASL library.
19
21 plugname The name of the server plug-in.
22
23
24 cplugfunc The value of cplugfunc is filled in by the
25 sasl_server_plug_init_t structure.
26
27
29 sasl_server_add_plugin() returns an integer that corresponds to a SASL
30 error code.
31
33 SASL_OK The call to sasl_client_add_plugin() was successful.
34
35
36 SASL_BADVERS Version mismatch with plug-in.
37
38
39 SASL_NOMEM Memory shortage failure.
40
41
42
43 See sasl_errors(3SASL) for information on other SASL error codes.
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Availability │SUNWlibsasl │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Evolving │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │MT-Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 sasl_errors(3SASL), attributes(5)
63
64
65
66SunOS 5.11 1 Oct 2003 sasl_server_add_plugin(3SASL)