#include "internal.h"Go to the source code of this file.
Functions | |
| const char * | gsasl_client_suggest_mechanism (Gsasl *ctx, const char *mechlist) |
| const char* gsasl_client_suggest_mechanism | ( | Gsasl * | ctx, | |
| const char * | mechlist | |||
| ) |
gsasl_client_suggest_mechanism:
| ctx | libgsasl handle. | |
| mechlist | input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). |
Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string.
Definition at line 37 of file suggest.c.
References Gsasl::client_mechs, gsasl_client_start(), gsasl_finish(), GSASL_OK, GSASL_VALID_MECHANISM_CHARACTERS, Gsasl::n_client_mechs, and Gsasl_mechanism::name.
1.4.7