mech.c revision 20caa6854f0ba83719248a94464a7a24bb7dbd20
#include "common.h"
#include "ioloop.h"
#include "buffer.h"
#include "hash.h"
#include "mech.h"
#include "login-connection.h"
#include <stdlib.h>
struct mech_module_list {
const char *const *auth_realms;
const char *default_realm;
static int set_use_cyrus_sasl;
#ifdef USE_CYRUS_SASL2
if (set_use_cyrus_sasl) {
callback);
const unsigned char *data,
if (data_size == 0)
void *reply_data;
if (success) {
if (!success) {
void mech_init(void)
const char *const *mechanisms;
const char *env;
auth_mechanisms = 0;
*mechanisms);
mechanisms++;
if (auth_mechanisms == 0)
#ifdef USE_CYRUS_SASL2
if (set_use_cyrus_sasl)
void mech_deinit(void)