2000-11-16 17:54:29 +00:00
|
|
|
/*
|
|
|
|
process.h -- header file for process.c
|
2001-01-07 17:09:07 +00:00
|
|
|
Copyright (C) 1999-2001 Ivo Timmermans <itimmermans@bigfoot.com>,
|
|
|
|
2000,2001 Guus Sliepen <guus@sliepen.warande.net>
|
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.
|
|
|
|
|
2001-03-01 21:32:04 +00:00
|
|
|
$Id: process.h,v 1.1.2.8 2001/03/01 21:32:04 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);
|
2000-11-22 22:18:03 +00:00
|
|
|
extern int kill_other(void);
|
|
|
|
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__ */
|