diff options
Diffstat (limited to 'src/old-stats/mail-ip.h')
-rw-r--r-- | src/old-stats/mail-ip.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/old-stats/mail-ip.h b/src/old-stats/mail-ip.h new file mode 100644 index 0000000..f7ff864 --- /dev/null +++ b/src/old-stats/mail-ip.h @@ -0,0 +1,19 @@ +#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); +void mail_ip_disconnected(struct mail_ip *ip); +struct mail_ip *mail_ip_lookup(const struct ip_addr *ip_addr); +void mail_ip_refresh(struct mail_ip *ip, const struct stats *diff_stats) + ATTR_NULL(2); + +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 |