Diffstat (limited to 'noncore/settings/networksettings/ppp/runtests.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/runtests.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/runtests.h b/noncore/settings/networksettings/ppp/runtests.h new file mode 100644 index 0000000..efb1197 --- a/dev/null +++ b/noncore/settings/networksettings/ppp/runtests.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * kPPP: A pppd front end for the KDE project | ||
3 | * | ||
4 | * $Id$ | ||
5 | * | ||
6 | * Copyright (C) 1997 Bernd Johannes Wuebben | ||
7 | * wuebben@math.cornell.edu | ||
8 | * | ||
9 | * This file was contributed by Mario Weilguni <mweilguni@sime.com> | ||
10 | * Thanks Mario ! | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU Library General Public | ||
14 | * License as published by the Free Software Foundation; either | ||
15 | * version 2 of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This program is distributed in the hope that it will be useful, | ||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
20 | * Library General Public License for more details. | ||
21 | * | ||
22 | * You should have received a copy of the GNU Library General Public | ||
23 | * License along with this program; if not, write to the Free | ||
24 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
25 | */ | ||
26 | |||
27 | #ifndef __RUNTESTS__H__ | ||
28 | #define __RUNTESTS__H__ | ||
29 | |||
30 | #define SYSOPTIONS "/etc/ppp/options" | ||
31 | |||
32 | const int TEST_OK = 0; | ||
33 | const int TEST_WARNING = 1; | ||
34 | const int TEST_NOCONNECT = 2; | ||
35 | const int TEST_CRITICAL = 3; | ||
36 | |||
37 | // Various tests to be run at starttime | ||
38 | int runTests(); | ||
39 | const char* getHomeDir(); | ||
40 | void pppdVersion(int *version, int *modification, int *patch); | ||
41 | |||
42 | #ifdef __linux__ | ||
43 | bool ppp_available(void); | ||
44 | #endif | ||
45 | |||
46 | #endif | ||
47 | |||