hostpid.c revision ed9782b21a020daad7fed0b765e9a39a691e7e05
/* Copyright (c) 2002-2009 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)
{
/* 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;
}