Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib/hostpid.h @ 9451:9fff30644260 HEAD
istream-concat: Fixed a lot of bugs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 26 Oct 2009 17:06:57 -0400 |
parents | 2609eca99495 |
children |
rev | line source |
---|---|
6410
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
0
diff
changeset
|
1 #ifndef HOSTPID_H |
e4eb71ae8e96
Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents:
0
diff
changeset
|
2 #define HOSTPID_H |
0 | 3 |
4 extern const char *my_hostname; | |
5 extern const char *my_pid; | |
6 | |
8596
2609eca99495
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
7 /* Initializes my_hostname and my_pid. */ |
0 | 8 void hostpid_init(void); |
9 | |
8596
2609eca99495
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
10 /* Returns the current host+domain, or if it fails fallback to returning |
2609eca99495
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
11 hostname. */ |
2609eca99495
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
12 const char *my_hostdomain(void); |
2609eca99495
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Timo Sirainen <tss@iki.fi>
parents:
6410
diff
changeset
|
13 |
0 | 14 #endif |
15 |