Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib/hostpid.h @ 9191:b340ecb24469 HEAD
Fix VPATH build of RQUOTA support.
Some rpcgen derive #include "..." paths from the infile argument.
This will be off for VPATH builds, as the generated rquota_xdr.c
code will look in $(srcdir), but we'll generate the rquota.h file in
$(builddir). Play safe and copy rquota.x to $(builddir) first.
This fixes the build on openSUSE 11.1.
author | Matthias Andree <matthias.andree@gmx.de> |
---|---|
date | Tue, 07 Jul 2009 21:01:36 +0200 |
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 |