diff options
Diffstat (limited to 'src/old-stats/mail-domain.h')
-rw-r--r-- | src/old-stats/mail-domain.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/old-stats/mail-domain.h b/src/old-stats/mail-domain.h new file mode 100644 index 0000000..23e2fbe --- /dev/null +++ b/src/old-stats/mail-domain.h @@ -0,0 +1,22 @@ +#ifndef MAIL_DOMAIN_H +#define MAIL_DOMAIN_H + +struct stats; + +extern struct mail_domain *stable_mail_domains; + +struct mail_domain *mail_domain_login_create(const char *name); +void mail_domain_login(struct mail_domain *domain); +void mail_domain_disconnected(struct mail_domain *domain); +struct mail_domain *mail_domain_lookup(const char *name); +void mail_domain_refresh(struct mail_domain *domain, + const struct stats *diff_stats) ATTR_NULL(2); + +void mail_domain_ref(struct mail_domain *domain); +void mail_domain_unref(struct mail_domain **domain); + +void mail_domains_free_memory(void); +void mail_domains_init(void); +void mail_domains_deinit(void); + +#endif |