/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "connection.h"
#include "imap-master-connection.h"
struct imap_master_connection {
void *context;
};
{
i_error("Timeout communicating with %s (version %sreceived)",
}
void *context,
struct imap_master_connection **conn_r,
const char **error_r)
{
"net_connect_unix(%s) failed: %m", path);
return ret;
}
return 1;
}
{
}
{
(struct imap_master_connection *)_conn;
}
static int
{
(struct imap_master_connection *)_conn;
if (!_conn->version_received) {
return -1;
return 1;
} else {
/* we're finished now with this connection - disconnect it */
return -1;
}
}
.service_name_in = "imap-master",
.service_name_out = "imap-master",
.major_version = 1,
.minor_version = 0,
};
};
void imap_master_connections_init(void)
{
}
void imap_master_connections_deinit(void)
{
}