- add a SASL client plug-in
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/saslplug.h> int sasl_client_add_plugin(const char *plugname, sasl_client_plug_init_t *cplugfunc);
Use the sasl_client_add_plugin() interface to add a client plug-in to the current list of client plug-ins in the SASL library.
The name of the client plug-in.
The value of cplugfunc is filled in by the sasl_client_plug_init_t structure.
sasl_client_add_plugin() returns an integer that corresponds to a SASL error code.
The call to sasl_client_add_plugin() was successful.
Version mismatch with plug-in.
Memory shortage failure.
See sasl_errors(3SASL) for information on other SASL error codes.
See attributes(5) for descriptions of the following attributes: