#ifndef MAIL_HOST_H
#define MAIL_HOST_H
#include "net.h"
#include "user-directory.h"
struct mail_host_list;
struct mail_vhost {
unsigned int hash;
};
to add pointers to them. */
struct mail_tag {
/* "" = no tag */
char *name;
/* temporary user -> host associations */
};
struct mail_host {
unsigned int user_count;
unsigned int vhost_count;
vhost_count=0. */
bool down;
char *ip_str;
char *hostname;
/* host was recently changed and ring hasn't synced yet since */
};
struct mail_host *
const char *tag_name);
struct mail_host *
struct mail_host *
struct mail_host *
const char *tag_name);
const char *hosts_string);
const char *log_prefix);
const char *log_prefix);
struct mail_tag *
struct user *
unsigned int username_hash);
struct mail_host_list *
mail_hosts_init(unsigned int user_expire_secs,
#endif