mech.c revision 3685c7c8ca227960360c720b8bd515801a9e5ad6
883N/A#include "var-expand.h"
883N/A#include "auth-client-connection.h"
883N/A#include "auth-master-connection.h"
883N/Aconst char *const *auth_realms;
883N/Aconst char *default_realm;
883N/Aconst char *anonymous_username;
1574N/Astatic int set_use_cyrus_sasl;
883N/Astatic int ssl_require_client_cert;
const unsigned char *data,
ip_size = 0;
#ifdef USE_CYRUS_SASL2
if (set_use_cyrus_sasl)
if (ssl_require_client_cert &&
if (verbose) {
const unsigned char *data,
callback))
if (data_size == 0)
void *reply_data;
if (!success) {
return FALSE;
return TRUE;
return TRUE;
return FALSE;
return str;
const struct var_expand_table *
const char *(*escape_func)(const char *))
return tab;
const char *p, *ip;
void auth_failure_buf_flush(void)
for (i = 0; i < size; i++) {
void mech_init(void)
const char *const *mechanisms;
const char *env;
*mechanisms);
mechanisms++;
#ifdef USE_CYRUS_SASL2
if (set_use_cyrus_sasl)
void mech_deinit(void)