- added missing files for starter
[strongswan.git] / programs / starter / invokecharon.h
1 /* strongSwan charon launcher
2 * Copyright (C) 2001-2002 Mathieu Lafon - Arkoon Network Security
3 * Copyright (C) 2006 Martin Willi - Hochschule fuer Technik Rapperswil
4 *
5 * Ported from invokepluto.h to fit charons needs.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
16 *
17 * RCSID $Id: invokecharon.h $
18 */
19
20 #ifndef _STARTER_CHARON_H_
21 #define _STARTER_CHARON_H_
22
23 #define CHARON_RESTART_DELAY 5
24
25 extern void starter_charon_sigchild (pid_t pid);
26 extern pid_t starter_charon_pid (void);
27 extern int starter_stop_charon (void);
28 extern int starter_start_charon(struct starter_config *cfg, bool debug);
29
30 #endif /* _STARTER_CHARON_H_ */
31