Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/hostpid.h @ 8596:2609eca99495 HEAD
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Based on patch by Apple.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 07 Jan 2009 13:45:37 -0500 |
parents | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef HOSTPID_H #define HOSTPID_H extern const char *my_hostname; extern const char *my_pid; /* Initializes my_hostname and my_pid. */ void hostpid_init(void); /* Returns the current host+domain, or if it fails fallback to returning hostname. */ const char *my_hostdomain(void); #endif