/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file
*/
#include "lib.h"
#include "buffer.h"
#include "str.h"
#include "iostream-pump.h"
#include "iostream-proxy.h"
#include <unistd.h>
struct iostream_proxy {
unsigned int ref;
void *context;
};
static void
enum iostream_proxy_side side,
{
switch (pump_status) {
break;
break;
break;
default:
i_unreached();
}
}
static
struct iostream_proxy *proxy)
{
}
static
struct iostream_proxy *proxy)
{
}
struct iostream_proxy *
{
right_input != NULL &&
left_output != NULL &&
right_output != NULL);
/* create proxy */
return proxy;
}
{
}
void *context)
{
}
struct istream *iostream_proxy_get_istream(struct iostream_proxy *proxy, enum iostream_proxy_side side)
{
switch(side) {
default: i_unreached();
}
}
struct ostream *iostream_proxy_get_ostream(struct iostream_proxy *proxy, enum iostream_proxy_side side)
{
switch(side) {
default: i_unreached();
}
}
{
}
{
return;
/* pumps will call stop internally
if refcount drops to 0 */
}
}
{
}
enum iostream_proxy_side side)
{
switch (side) {
case IOSTREAM_PROXY_SIDE_LEFT:
}
i_unreached();
}
{
}