2000-11-16 17:54:29 +00:00
|
|
|
/*
|
|
|
|
process.h -- header file for process.c
|
2002-06-21 10:11:37 +00:00
|
|
|
Copyright (C) 1999-2002 Ivo Timmermans <ivo@o2w.nl>,
|
|
|
|
2000-2002 Guus Sliepen <guus@sliepen.eu.org>
|
2000-11-16 17:54:29 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
2002-06-21 10:11:37 +00:00
|
|
|
$Id: process.h,v 1.1.2.11 2002/06/21 10:11:13 guus Exp $
|
2000-11-16 17:54:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TINC_PROCESS_H__
|
|
|
|
#define __TINC_PROCESS_H__
|
|
|
|
|
2000-11-16 22:12:23 +00:00
|
|
|
#include "config.h"
|
2000-11-16 17:54:29 +00:00
|
|
|
|
2001-03-01 21:32:04 +00:00
|
|
|
extern int do_detach;
|
|
|
|
|
2000-11-16 22:12:23 +00:00
|
|
|
extern void setup_signals(void);
|
|
|
|
extern int execute_script(const char *);
|
|
|
|
extern int detach(void);
|
2001-09-01 12:36:53 +00:00
|
|
|
extern int kill_other(int);
|
2000-11-22 22:18:03 +00:00
|
|
|
extern void cleanup_and_exit(int);
|
2000-11-16 22:12:23 +00:00
|
|
|
|
2000-11-16 17:54:29 +00:00
|
|
|
#endif /* __TINC_PROCESS_H__ */
|