Mercurial > dovecot > core-2.2
view src/stats/mail-ip.h @ 13294:c51fbe64eae1
Initial implementation of statistics gathering daemon and plugins to feed it.
Some statistics are still missing, some of the code is a bit ugly and the
internal protocols will probably still change.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 26 Aug 2011 05:15:12 +0300 |
parents | |
children | c93ca5e46a8a |
line wrap: on
line source
#ifndef MAIL_IP_H #define MAIL_IP_H extern struct mail_ip *stable_mail_ips; struct mail_ip *mail_ip_login(const struct ip_addr *ip_addr); struct mail_ip *mail_ip_lookup(const struct ip_addr *ip_addr); void mail_ip_refresh(struct mail_ip *ip, const struct mail_stats *diff_stats); void mail_ip_ref(struct mail_ip *ip); void mail_ip_unref(struct mail_ip **ip); void mail_ips_free_memory(void); void mail_ips_init(void); void mail_ips_deinit(void); #endif