auth-client.c revision 59151b71059df1190acd75d8717ed04a7920c862
/* Copyright (C) 2003 Timo Sirainen */
#include "lib.h"
#include "buffer.h"
#include "ioloop.h"
#include "hash.h"
#include "auth-client.h"
#include "auth-server-connection.h"
#include <dirent.h>
{
}
const char *socket_paths,
{
struct auth_client *client;
return client;
}
{
struct auth_server_connection *next;
struct auth_mech_desc *mech;
for (i = 0; i < size; i++)
}
}
const struct auth_mech_desc *
unsigned int *mech_count)
{
const struct auth_mech_desc *mechs;
return mechs;
}
const struct auth_mech_desc *
{
const struct auth_mech_desc *mech;
for (i = 0; i < size; i++) {
return &mech[i];
}
return NULL;
}
const char *mech,
struct auth_connect_id *id_r)
{
struct auth_server_connection *conn;
const char *error;
return FALSE;
return TRUE;
}
{
client->conn_waiting_handshake_count == 0 &&
}
void *context)
{
}
static void reconnect_timeout(void *context)
{
}
const char *list)
{
const char *const *path;
t_push();
}
}
t_pop();
}
{
} else {
/* we're chrooted */
i_fatal("opendir(.) failed when trying to get list of "
"authentication servers: %m");
}
if (name[0] == '.')
continue;
/* already connected */
continue;
}
/* Normally they're sockets, but in UnixWare they're
created as fifos. */
}
}
i_error("closedir() failed: %m");
}
}
}
}