mail-stats.c revision 4d615d2599ee858fa0a9cc4043883b1be1e058a4
/* Copyright (c) 2011-2016 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "mail-stats.h"
#include "stats-carbon.h"
#include "stats-settings.h"
#include "str.h"
struct mail_global mail_global_stats;
static void
mail_global_stats_sent(void *ctx)
{
}
static void
{
unsigned long ts = (unsigned long)ioloop_time;
ts);
/* then export rest of the stats */
for(size_t i = 0; i < stats_field_count(); i++) {
stats_field_name(i));
}
/* and send them along */
}
}
void mail_global_init(void)
{
NULL);
}
void mail_global_deinit(void)
{
}
void mail_global_login(void)
{
}
void mail_global_disconnected(void)
{
}
{
if (diff_stats != NULL)
}