doveadm-print-server.c revision d03a871a77f8ec36f48f5fea98d810e51b186fdb
/* Copyright (c) 2010-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "str.h"
#include "strescape.h"
#include "ostream.h"
#include "client-connection.h"
#include "doveadm-server.h"
#include "doveadm-print-private.h"
struct doveadm_print_server_context {
unsigned int header_idx, header_count;
};
static struct doveadm_print_server_context ctx;
static void doveadm_print_server_flush(void);
static void doveadm_print_server_init(void)
{
}
static void doveadm_print_server_deinit(void)
{
}
static void
{
/* no need to transfer these. the client should already know what
it's getting */
ctx.header_count++;
}
static void doveadm_print_server_print(const char *value)
{
ctx.header_idx = 0;
}
}
static void
{
if (size == 0) {
return;
}
T_BEGIN {
} T_END;
}
static void doveadm_print_server_flush(void)
{
if (doveadm_client == NULL)
return;
}
struct doveadm_print_vfuncs doveadm_print_server_vfuncs = {
};