blob: 9e8543c7ca7ae5b06cf235e7773accc5e2f9506c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef PPP_DATA_H
#define PPP_DATA_H
#include <qstring.h>
#include <qarray.h>
typedef struct PPPData {
struct {
bool IPAutomatic;
QString IPAddress;
QString IPSubMask;
bool GWAutomatic;
QString GWAddress;
bool GWIsDefault;
} IP;
struct {
short Mode; // 0 login, 1 chap/pap, 2 Terminal
struct {
QString Expect;
QString Send;
} Login;
struct {
QString Expect;
QString Send;
} Password;
short PCEMode; // 0 pap, 1, chap 2, EAP
QString Server;
QString Client;
QString Secret;
} Auth;
struct {
bool ServerAssigned;
QString DomainName;
QArray<QString *> Servers;
} DNS;
} PPPData_t;
#endif
|