te
Copyright (C) 1998-2003, Carnegie Mellon Univeristy. All Rights Reserved.
Portions Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
Copyright (C) 1998-2003, Carnegie Mellon Univeristy. All Rights Reserved.
Portions Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
sasl_server_add_plugin 3sasl "1 Oct 2003" SASL "SASL man pages"
NAME
sasl_server_add_plugin - add a SASL server plug-in
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/saslplug.h> "int sasl_server_add_plugin(const char *" plugname ", " " sasl_server_plug_init_t *" cplugfunc "); "
DESCRIPTION
Use the
sasl_server_add_plugin() interface to add a server plug-in to the current list of client plug-ins in the SASL library.
PARAMETERS
plugname The name of the server plug-in.
cplugfunc The value of cplugfunc is filled in by the sasl_server_plug_init_t structure.
"RETURN VALUES"
sasl_server_add_plugin() returns an integer that corresponds to a SASL error code.
ERRORS
0.8i SASL_OK The call to sasl_client_add_plugin() was successful.
0.8i SASL_BADVERS Version mismatch with plug-in.
0.8i SASL_NOMEM Memory shortage failure.
0.8i See sasl_errors(3SASL) for information on other SASL error codes.
"SEE ALSO"
sasl_errors(3SASL)