doveadm-stats.c revision 650cd8feabfc3f7ed9847cfe429e4ad4f9e32bd9
/* Copyright (c) 2011 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "network.h"
#include "istream.h"
#include "str.h"
#include "strescape.h"
#include "doveadm.h"
#include "doveadm-print.h"
#include <unistd.h>
static const char *const*
{
const char *line;
char **args;
unsigned int i;
return NULL;
return (void *)args;
}
static void stats_lookup(const char *path)
{
#define TOP_CMD "EXPORT\tsession\tconnected\n"
const char *const *args;
unsigned int i;
int fd;
/* read header */
i_info("no statistics available");
else {
/* read lines */
do {
T_BEGIN {
doveadm_print(args[i]);
}
} T_END;
}
if (input->stream_errno != 0)
}
{
const char *path;
int c;
switch (c) {
case 's':
break;
default:
}
}
}
struct doveadm_cmd doveadm_cmd_stats = {
};