mirror of
https://github.com/dovecot/core.git
synced 2026-10-23 22:08:58 +03:00
lib-sasl: dsasl-client - Drop dsasl_client_mech_get_name()
This commit is contained in:
committed by
timo.sirainen
parent
a26ea6e71c
commit
ef2937fcaa
@@ -98,11 +98,6 @@ dsasl_client_mech_find(struct dsasl_client *client, const char *name)
|
||||
return dsasl_client_mech_find_idx(client, name, &idx);
|
||||
}
|
||||
|
||||
const char *dsasl_client_mech_get_name(const struct dsasl_client_mech *mech)
|
||||
{
|
||||
return mech->name;
|
||||
}
|
||||
|
||||
bool dsasl_client_mech_uses_password(const struct dsasl_client_mech *mech)
|
||||
{
|
||||
return (mech->flags & DSASL_MECH_SEC_NO_PASSWORD) == 0;
|
||||
|
||||
@@ -49,7 +49,6 @@ void dsasl_client_unref(struct dsasl_client **_client);
|
||||
/* PLAIN mechanism always exists and can be accessed directly via this. */
|
||||
extern const struct dsasl_client_mech dsasl_client_mech_plain;
|
||||
|
||||
const char *dsasl_client_mech_get_name(const struct dsasl_client_mech *mech);
|
||||
bool dsasl_client_mech_uses_password(const struct dsasl_client_mech *mech);
|
||||
|
||||
int dsasl_client_check_settings(struct dsasl_client *client,
|
||||
|
||||
Reference in New Issue
Block a user