/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "fdpass.h"
#include "ostream-file-private.h"
#include "ostream-unix.h"
struct unix_ostream {
int write_fd;
};
static void
{
}
const struct const_iovec *iov,
unsigned int iov_count)
{
/* no fd */
}
/* send first iovec along with fd */
if (iov_count == 0)
return 0;
if (ret < 0)
return ret;
/* update stream */
/* caller will call us again to write the rest */
return sent;
}
/* send remaining iovecs */
if (ret < 0)
return sent;
}
{
return output;
}
{
return FALSE;
return TRUE;
}