1 |
pcg |
1.1 |
/* |
2 |
|
|
dropin.h -- header file for dropin.c |
3 |
|
|
Copyright (C) 2000,2001 Ivo Timmermans <ivo@o2w.nl>, |
4 |
|
|
2000,2001 Guus Sliepen <guus@sliepen.eu.org> |
5 |
|
|
|
6 |
pcg |
1.2 |
This file is part of GVPE. |
7 |
|
|
|
8 |
|
|
GVPE is free software; you can redistribute it and/or modify |
9 |
pcg |
1.1 |
it under the terms of the GNU General Public License as published by |
10 |
|
|
the Free Software Foundation; either version 2 of the License, or |
11 |
|
|
(at your option) any later version. |
12 |
|
|
|
13 |
|
|
This program is distributed in the hope that it will be useful, |
14 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
|
GNU General Public License for more details. |
17 |
|
|
|
18 |
|
|
You should have received a copy of the GNU General Public License |
19 |
pcg |
1.2 |
along with gvpe; if not, write to the Free Software |
20 |
pcg |
1.3 |
Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 |
pcg |
1.1 |
*/ |
22 |
|
|
|
23 |
|
|
#ifndef __DROPIN_H__ |
24 |
|
|
#define __DROPIN_H__ |
25 |
|
|
|
26 |
|
|
#ifdef __cplusplus |
27 |
|
|
extern "C" { |
28 |
|
|
#endif |
29 |
|
|
|
30 |
|
|
#ifndef HAVE_DAEMON |
31 |
|
|
extern int daemon(int, int); |
32 |
|
|
#endif |
33 |
|
|
|
34 |
|
|
#ifndef HAVE_GET_CURRENT_DIR_NAME |
35 |
|
|
extern char *get_current_dir_name(void); |
36 |
|
|
#endif |
37 |
|
|
|
38 |
|
|
#ifndef HAVE_ASPRINTF |
39 |
|
|
extern int asprintf(char **, const char *, ...); |
40 |
|
|
#endif |
41 |
|
|
|
42 |
|
|
#ifdef __cplusplus |
43 |
|
|
} |
44 |
|
|
#endif |
45 |
|
|
|
46 |
|
|
#endif /* __DROPIN_H__ */ |