nm: Pass external gateway to NM
[strongswan.git] / src / 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
18 #ifndef _STARTER_CHARON_H_
19 #define _STARTER_CHARON_H_
20
21 #define CHARON_RESTART_DELAY 5
22
23 extern void starter_charon_sigchild (pid_t pid, int status);
24 extern pid_t starter_charon_pid (void);
25 extern int starter_stop_charon (void);
26 extern int starter_start_charon(struct starter_config *cfg, bool no_fork, bool attach_gdb);
27
28 #endif /* _STARTER_CHARON_H_ */
29