ostream.c revision 98a73e104c7b9c3747053e63113451e24daf7f36
/* Copyright (c) 2002-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream.h"
#include "ostream-private.h"
{
}
{
return "";
}
}
{
}
{
}
{
i_panic("output stream %s is missing error handling",
}
}
{
}
void *context)
{
}
{
}
{
}
{
return;
}
{
return;
}
{
int ret = 1;
return -1;
}
stream->stream_errno = 0;
}
return ret;
}
{
return;
}
{
}
{
}
{
return -1;
}
stream->stream_errno = 0;
return -1;
}
return 1;
}
{
struct const_iovec iov;
}
unsigned int iov_count)
{
unsigned int i;
return -1;
}
stream->stream_errno = 0;
for (i = 0, total_size = 0; i < iov_count; i++)
if (total_size == 0)
return 0;
if (ret < 0) {
} else {
}
}
return ret;
}
{
}
{
struct const_iovec iov;
}
unsigned int iov_count)
{
return;
}
{
}
{
return;
(void)o_stream_flush(stream);
}
{
}
{
}
}
{
}
{
return -1;
}
outstream->stream_errno = 0;
}
return ret;
}
{
int ret;
return -1;
}
}
return ret;
}
{
struct const_iovec iov;
const unsigned char *data;
for (;;) {
block_size-1);
/* all sent */
break;
}
if (ret <= 0) {
if (ret == 0)
break;
return -1;
}
break;
}
}
{
}
{
}
{
}
static void
{
}
{
if (set) {
} else {
}
}
{
}
{
int ret;
return 1;
return ret;
}
static void
void *context)
{
}
static void
{
}
static size_t
{
return 0;
else
}
static int
{
return -1;
}
static int
const void *data ATTR_UNUSED,
{
return -1;
}
{
}
{
}
struct ostream *
{
}
}
}
}