/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "net.h"
#include "istream.h"
#include "ostream.h"
#include "llist.h"
#include "strescape.h"
#include "master-service.h"
#include "replication-common.h"
#include "replicator-connection.h"
#include "notify-connection.h"
struct notify_connection {
int refcount;
int fd;
};
{
if (CONNECTION_IS_FIFO(conn))
return TRUE;
return FALSE;
}
{
}
static int
{
const char *const *args;
/* <username> \t <priority> */
i_error("Client sent invalid input");
return -1;
}
return -1;
}
if (priority != REPLICATION_PRIORITY_SYNC)
else {
}
return 0;
}
{
const char *line;
int ret;
case -2:
/* buffer full */
i_error("Client sent too long line");
(void)notify_input_error(conn);
return;
case -1:
/* disconnected */
return;
}
T_BEGIN {
} T_END;
if (ret < 0) {
if (!notify_input_error(conn))
return;
}
}
}
{
if (!fifo) {
}
}
{
return;
}
{
if (!CONNECTION_IS_FIFO(conn))
}
void notify_connections_destroy_all(void)
{
}