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