doveadm-print.c revision 0b9801048312b6c0d14c801545afebb02bbb74f3
/* Copyright (c) 2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "doveadm-print-private.h"
#include <stdio.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;
};
static struct doveadm_print_context *ctx;
bool doveadm_print_is_initialized(void)
{
}
{
struct doveadm_print_header hdr;
struct doveadm_print_header_context *hdr_ctx;
}
void doveadm_print_header_simple(const char *key_title)
{
}
void doveadm_print(const char *value)
{
const struct doveadm_print_header_context *headers;
unsigned int count;
for (;;) {
ctx->header_idx = 0;
ctx->header_idx++;
} else {
break;
}
}
ctx->header_idx++;
}
{
T_BEGIN {
} T_END;
}
{
if (size == 0)
ctx->header_idx++;
}
{
struct doveadm_print_header_context *hdr;
/* command doesn't really print anything */
return;
}
return;
}
}
i_unreached();
}
void doveadm_print_flush(void)
{
}
void doveadm_print_init(const char *name)
{
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)
{
struct doveadm_print_header_context *hdr;
return;
}