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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 | |
48 | |