#include <qdir.h>#include "runtests.h"#include <ctype.h>#include <unistd.h>#include <qmessagebox.h>#include <sys/stat.h>#include <stdlib.h>#include <sys/types.h>#include <pwd.h>#include <netinet/in.h>#include "pppdata.h"Include dependency graph for runtests.cpp:

Go to the source code of this file.
Defines | |
| #define | _PATH_RESCONF "/etc/resolv.conf" |
Functions | |
| const char * | pppdPath () |
| static void | decode_version (const char *_buf, int *version, int *modification, int *patch) |
| void | pppdVersion (int *version, int *modification, int *patch) |
| int | uidFromName (const char *uname) |
| const char * | homedirFromUid (uid_t uid) |
| const char * | getHomeDir () |
| int | runTests () |
Variables | |
| uid_t | euid |
|
|
Definition at line 44 of file runtests.cpp. |
|
||||||||||||||||||||
|
Definition at line 61 of file runtests.cpp. References buf, and qstrdup(). Referenced by pppdVersion(). |
|
|
Definition at line 176 of file runtests.cpp. References homedirFromUid(). |
|
|
Definition at line 158 of file runtests.cpp. Referenced by getHomeDir(). |
|
|
Definition at line 71 of file modem.cpp. References p, PPPDNAME, pppdPath(), and PPPDSEARCHPATH. Referenced by KPPPWidget::beginConnect(), Modem::execpppd(), pppdPath(), pppdVersion(), runTests(), and InterfacePPP::start(). |
|
||||||||||||||||
|
Definition at line 92 of file runtests.cpp. References decode_version(), output, p, pppdPath(), and size. |
|
|
Definition at line 188 of file runtests.cpp. References _PATH_RESCONF, buf, QFile::encodeName(), f, FALSE, QString::length(), NULL, pppdPath(), s, QString::stripWhiteSpace(), TEST_CRITICAL, TEST_OK, TEST_WARNING, tr, TRUE, uidFromName(), and warning(). Referenced by KPPPWidget::KPPPWidget(), and PPPConfigWidget::PPPConfigWidget(). |
|
|
Definition at line 141 of file runtests.cpp. References NULL. Referenced by runTests(). |
|
|
|
1.4.2