|
gsasl
1.8.0
|
#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). |
Given a list of mechanisms, suggest which to use.
Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found.
1.7.6.1