Contact cannot be a null ptr, and it is accessed before anyway. Disscussed with kedge.
[kdenetwork.git] / kppp / main.h
bloba114f983cf456740c4004adc4c8ca4a3969fbb2d
1 /*
3 * kPPP: A pppd front end for the KDE project
5 * $Id$
6 *
7 * Copyright (C) 1997 Bernd Johannes Wuebben
8 * wuebben@math.cornell.edu
10 * based on EzPPP:
11 * Copyright (C) 1997 Jay Painter
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.
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.
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.
29 #ifndef _MAIN_H_
30 #define _MAIN_H_
32 #include <string.h>
33 #include <sys/types.h>
34 #include <sys/wait.h>
35 #include <signal.h>
37 #include "kpppwidget.h"
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();
46 #endif