1 #ifndef MAIL_IP_H
2 #define MAIL_IP_H
3 
4 extern struct mail_ip *stable_mail_ips;
5 
6 struct mail_ip *mail_ip_login(const struct ip_addr *ip_addr);
7 void mail_ip_disconnected(struct mail_ip *ip);
8 struct mail_ip *mail_ip_lookup(const struct ip_addr *ip_addr);
9 void mail_ip_refresh(struct mail_ip *ip, const struct stats *diff_stats)
10 	ATTR_NULL(2);
11 
12 void mail_ip_ref(struct mail_ip *ip);
13 void mail_ip_unref(struct mail_ip **ip);
14 
15 void mail_ips_free_memory(void);
16 void mail_ips_init(void);
17 void mail_ips_deinit(void);
18 
19 #endif
20