hostpid.c revision ce9a7b1f31609bc30c998803248fa8aeb902d95f
/* Copyright (c) 2002-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "hostpid.h"
#include <unistd.h>
#include <netdb.h>
const char *my_hostname = NULL;
void hostpid_init(void)
{
i_unreached();
}
/* allow calling hostpid_init() multiple times to reset hostname */
}
const char *my_hostdomain(void)
{
const char *name;
/* failed, use just the hostname */
name = my_hostname;
}
}
return my_domain;
}