mail-ip.c revision 5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294
/* Copyright (c) 2011-2013 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "hash.h"
#include "llist.h"
#include "global-memory.h"
#include "stats-settings.h"
#include "mail-stats.h"
#include "mail-ip.h"
/* ips are sorted by their last_update timestamp, oldest first */
struct mail_ip *stable_mail_ips;
{
return sizeof(*ip);
}
{
ip->num_logins++;
return ip;
}
ip->num_logins++;
return ip;
}
{
}
{
}
{
}
{
}
{
if (diff_stats != NULL)
}
void mail_ips_free_memory(void)
{
unsigned int diff;
mail_ips_head == NULL)
break;
break;
}
}
void mail_ips_init(void)
{
}
void mail_ips_deinit(void)
{
while (mail_ips_head != NULL)
}