.auth_new = mech_apop_auth_new,
.auth_initial = mech_apop_auth_initial,
- .auth_free = mech_generic_auth_free
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_dovecot_token_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_dovecot_token_auth_continue,
- .auth_free = mech_generic_auth_free
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_anonymous_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_anonymous_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_cram_md5_auth_new,
.auth_initial = mech_cram_md5_auth_initial,
.auth_continue = mech_cram_md5_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_digest_md5_auth_new,
.auth_initial = mech_digest_md5_auth_initial,
.auth_continue = mech_digest_md5_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
void mech_digest_test_set_nonce(struct auth_request *auth_request,
.auth_new = mech_external_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_external_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_login_auth_new,
.auth_initial = mech_login_auth_initial,
.auth_continue = mech_login_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_oauth2_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_oauthbearer_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
const struct mech_module mech_xoauth2 = {
.auth_new = mech_oauth2_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_xoauth2_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
void mech_oauth2_initialize(void)
.auth_new = mech_plain_auth_new,
.auth_initial = mech_generic_auth_initial,
.auth_continue = mech_plain_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
.auth_new = mech_winbind_ntlm_auth_new,
.auth_initial = mech_winbind_auth_initial,
.auth_continue = mech_winbind_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
const struct mech_module mech_winbind_spnego = {
.auth_new = mech_winbind_spnego_auth_new,
.auth_initial = mech_winbind_auth_initial,
.auth_continue = mech_winbind_auth_continue,
- .auth_free = mech_generic_auth_free,
+ .auth_free = sasl_server_mech_generic_auth_free,
};
}
}
-void mech_generic_auth_free(struct auth_request *request)
+void sasl_server_mech_generic_auth_free(struct auth_request *request)
{
pool_unref(&request->pool);
}
void mech_generic_auth_initial(struct auth_request *request,
const unsigned char *data, size_t data_size);
-void mech_generic_auth_free(struct auth_request *request);
+void sasl_server_mech_generic_auth_free(struct auth_request *request);
struct mechanisms_register *
mech_register_init(const struct auth_settings *set);