/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "llist.h"
#include "strescape.h"
#include "istream.h"
#include "ostream.h"
#include "master-service.h"
#include "mail-session.h"
#include "mail-user.h"
#include "mail-command.h"
#include "fifo-input-connection.h"
#include <unistd.h>
struct fifo_input_connection {
int fd;
};
static int
{
*error_r = "Missing command";
return -1;
}
args++;
*error_r = "Unknown command";
return -1;
}
{
case -2:
i_error("BUG: Mail server sent too much data");
return;
case -1:
return;
}
} T_END;
}
{
return conn;
}
{
i_error("close(conn) failed: %m");
}
void fifo_input_connections_destroy_all(void)
{
while (fifo_conns != NULL) {
}
}