1aae6dea4237087210bbeea88e7c668397299121
[tinc] / src / process.h
1 #ifndef TINC_PROCESS_H
2 #define TINC_PROCESS_H
3
4 /*
5     process.h -- header file for process.c
6     Copyright (C) 1999-2005 Ivo Timmermans,
7                   2000-2013 Guus Sliepen <guus@tinc-vpn.org>
8
9     This program is free software; you can redistribute it and/or modify
10     it under the terms of the GNU General Public License as published by
11     the Free Software Foundation; either version 2 of the License, or
12     (at your option) any later version.
13
14     This program is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.
18
19     You should have received a copy of the GNU General Public License along
20     with this program; if not, write to the Free Software Foundation, Inc.,
21     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
23
24 #include "system.h"
25
26 extern bool do_detach;
27 extern bool use_logfile;
28 extern bool use_syslog;
29
30 extern bool detach(void);
31
32 #ifdef HAVE_MINGW
33 #include "event.h"
34
35 extern io_t stop_io;
36 extern bool init_service(void);
37 #endif
38
39 #endif