/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "istream.h"
#include "istream-multiplex.h"
#include "doveadm.h"
#include "doveadm-dump.h"
#include <stdio.h>
#include <unistd.h>
{
}
static const struct doveadm_cmd_dump *
{
return *dumpp;
}
return NULL;
}
static const struct doveadm_cmd_dump *
{
return *dumpp;
}
return NULL;
}
{
int c;
switch (c) {
case 't':
break;
default:
}
}
optind--;
} else {
}
} else {
}
}
};
{
const unsigned char *data;
unsigned int i;
/* A bit kludgy: istream-multiplex returns 0 if a wrong channel is
being read from. This causes a panic with blocking istreams.
Work around this by assuming that the file istream isn't blocking. */
for (i = 1; i < channels_count; i++)
bool have_input;
do {
have_input = FALSE;
for (i = 0; i < channels_count; i++) {
printf("\n");
have_input = TRUE;
}
}
} while (have_input);
if (channels[0]->stream_errno != 0)
for (i = 0; i < channels_count; i++)
i_stream_unref(&channels[i]);
}
"multiplex",
NULL,
};
};
void print_dump_types(void)
{
unsigned int i;
}
void doveadm_dump_init(void)
{
unsigned int i;
for (i = 0; i < N_ELEMENTS(dumps_builtin); i++)
}
void doveadm_dump_deinit(void)
{
array_free(&dumps);
}