/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "hostpid.h"
#include "ioloop.h"
#include "buffer.h"
#include "str.h"
#include "net.h"
#include "write-full.h"
#include "time-util.h"
#include "istream.h"
#include "ostream.h"
#include "iostream-private.h"
#include "iostream-rawlog-private.h"
#include "istream-rawlog.h"
#include "ostream-rawlog.h"
#include "iostream-rawlog.h"
#include <unistd.h>
#include <fcntl.h>
static void
{
return;
(unsigned int)ioloop_timeval.tv_usec);
}
}
{
}
static void
{
const unsigned char *p;
bool line_ends;
while (size > 0) {
if (p != NULL) {
break;
} else {
}
}
}
}
static void
{
if (!rstream->line_continued)
start = i;
}
}
}
}
{
return;
else
i_error("write(%s) failed: %s",
}
}
{
}
static void
{
old_output = *output;
}
static int
{
const char *host;
unsigned int ips_count;
/* tcp:host:port */
return 0;
path += 4;
return 0;
return 0;
if (ret != 0) {
return -1;
}
if (fd == -1) {
return -1;
}
return 1;
}
{
static unsigned int counter = 0;
int ret;
return ret < 0 ? -1 : 0;
return -1;
}
counter++;
}
{
if (in_fd == -1) {
return -1;
}
if (out_fd == -1) {
i_close_fd(&in_fd);
return -1;
}
old_output = *output;
return 0;
}
{
return ret < 0 ? -1 : 0;
if (fd == -1) {
return -1;
}
return 0;
}
{
}
old_output = *output;
}
}