/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "istream.h"
#include "ostream.h"
#include "doveadm-print-private.h"
struct doveadm_print_header_context {
const char *key;
char *sticky_value;
bool sticky;
};
struct doveadm_print_context {
const struct doveadm_print_vfuncs *v;
unsigned int header_idx;
bool print_stream_open;
};
bool doveadm_print_is_initialized(void)
{
}
{
}
{
}
static void doveadm_print_sticky_headers(void)
{
unsigned int count;
for (;;) {
ctx->header_idx = 0;
ctx->header_idx++;
} else {
break;
}
}
}
{
ctx->header_idx++;
}
{
T_BEGIN {
} T_END;
}
{
if (!ctx->print_stream_open) {
}
if (size == 0) {
ctx->header_idx++;
}
}
{
const unsigned char *data;
}
doveadm_print_stream("", 0);
if (input->stream_errno != 0) {
return -1;
}
return 0;
}
{
/* command doesn't really print anything */
return;
}
return;
}
}
i_unreached();
}
void doveadm_print_flush(void)
{
}
void doveadm_print_unstick_headers(void)
{
}
}
{
unsigned int i;
/* already forced the type */
return;
}
for (i = 0; doveadm_print_vfuncs_all[i] != NULL; i++) {
ctx->v = doveadm_print_vfuncs_all[i];
break;
}
}
}
void doveadm_print_deinit(void)
{
return;
}
}