sasl_canonusSimple_Authentication Security Laysasl_canonuser_add_plugin(3SASL)NAMEsasl_canonuser_add_plugin - add a SASL user canonicalization plug-in
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include <sasl/saslplug.h>
int sasl_canonuser_add_plugin(const char *plugname,
sasl_canonuser_plug_init_t *cplugfunc);
DESCRIPTION
Use the sasl_canonuser_add_plugin() interface to add a user canonical‐
ization plug-in to the current list of user canonicalization plug-ins
in the SASL library.
PARAMETERS
plugname The name of the user canonicalization plug-in.
cplugfunc The value of cplugfunc is filled in by the
sasl_canonuser_plug_init_t structure.
RETURN VALUESsasl_server_add_plugin() returns an integer that corresponds to a SASL
error code.
ERRORS
SASL_OK The call to sasl_client_add_plugin() was successful.
SASL_BADVERS Version mismatch with plug-in.
SASL_NOMEM Memory shortage failure.
See sasl_errors(3SASL) for information on other SASL error codes.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │SUNWlibsasl │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Evolving │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOsasl_errors(3SASL), attributes(5)SunOS 5.10 16 Sep 2003 sasl_canonuser_add_plugin(3SASL)