1 | /* |
2 | * |
3 | * kPPP: A pppd front end for the KDE project |
4 | * |
5 | * $Id$ |
6 | * |
7 | * Copyright (C) 1997 Bernd Johannes Wuebben |
8 | * wuebben@math.cornell.edu |
9 | * |
10 | * based on EzPPP: |
11 | * Copyright (C) 1997 Jay Painter |
12 | * |
13 | * This program is free software; you can redistribute it and/or |
14 | * modify it under the terms of the GNU Library General Public |
15 | * License as published by the Free Software Foundation; either |
16 | * version 2 of the License, or (at your option) any later version. |
17 | * |
18 | * This program is distributed in the hope that it will be useful, |
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
21 | * Library General Public License for more details. |
22 | * |
23 | * You should have received a copy of the GNU Library General Public |
24 | * License along with this program; if not, write to the Free |
25 | * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
26 | */ |
27 | |
28 | |
29 | #ifndef _MAIN_H_ |
30 | #define _MAIN_H_ |
31 | |
32 | #include <string.h> |
33 | #include <sys/types.h> |
34 | #include <sys/wait.h> |
35 | #include <signal.h> |
36 | |
37 | #include "kpppwidget.h" |
38 | |
39 | void killpppd(); |
40 | void sighandler(int); |
41 | pid_t execute_command(const QString &); |
42 | pid_t create_pidfile(); |
43 | bool remove_pidfile(); |
44 | void myShutDown(); |
45 | |
46 | #endif |
47 | |