sasl_server_plug_init_t - server plug‐in entry point

Synopsis

#include <sasl/saslplug.h>

int sasl_server_plug_init_t(const sasl_utils_t *utils,
                                      int max_version,
                                     int *out_version,
                        sasl_server_plug_t **pluglist,
                                       int *plugcount);

Description

int sasl_server_plug_init_t(const sasl_utils_t *utils,
int max_version,
int *out_version,
sasl_server_plug_t **pluglist,
int *plugcount);

The sasl_server_plug_init_t callback function is the server plugin entry point.

Parameters
  • utils – The utility callback functions.

  • max_version – The highest server plugin version supported.

  • out_version – The server plugin version of the result.

  • pluglist – The list of server mechanism plugins.

  • plugcount – The number of server mechanism plugins.

Returns

Returns SASL_OK on success. See sasl_errors(3) for meanings of other return codes.

Return Value

SASL functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success.

Conforming to

RFC 4422