/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "hostpid.h"
#include <unistd.h>
#include <netdb.h>
void hostpid_init(void)
{
const char *value;
/* allow calling hostpid_init() multiple times to reset hostname */
i_fatal("gethostname() failed: %m");
}
if (value[0] == '\0' ||
}
void hostpid_deinit(void)
{
}
const char *my_hostdomain(void)
{
const char *name;
/* failed, use just the hostname */
name = my_hostname;
}
}
}
return my_domain;
}