Diffstat (limited to 'noncore/settings/networksettings2/ppp/pppdata.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/ppp/pppdata.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/ppp/pppdata.h b/noncore/settings/networksettings2/ppp/pppdata.h new file mode 100644 index 0000000..9e8543c --- a/dev/null +++ b/noncore/settings/networksettings2/ppp/pppdata.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #ifndef PPP_DATA_H | ||
2 | #define PPP_DATA_H | ||
3 | |||
4 | #include <qstring.h> | ||
5 | #include <qarray.h> | ||
6 | |||
7 | typedef struct PPPData { | ||
8 | struct { | ||
9 | bool IPAutomatic; | ||
10 | QString IPAddress; | ||
11 | QString IPSubMask; | ||
12 | bool GWAutomatic; | ||
13 | QString GWAddress; | ||
14 | bool GWIsDefault; | ||
15 | } IP; | ||
16 | struct { | ||
17 | short Mode; // 0 login, 1 chap/pap, 2 Terminal | ||
18 | struct { | ||
19 | QString Expect; | ||
20 | QString Send; | ||
21 | } Login; | ||
22 | struct { | ||
23 | QString Expect; | ||
24 | QString Send; | ||
25 | } Password; | ||
26 | short PCEMode; // 0 pap, 1, chap 2, EAP | ||
27 | QString Server; | ||
28 | QString Client; | ||
29 | QString Secret; | ||
30 | } Auth; | ||
31 | struct { | ||
32 | bool ServerAssigned; | ||
33 | QString DomainName; | ||
34 | QArray<QString *> Servers; | ||
35 | } DNS; | ||
36 | } PPPData_t; | ||
37 | |||
38 | #endif | ||