#include <connection.h>
See vpnc --long-help
for a detailed description of connection parameters.
Public Types | |
enum | Err { OK, ERR_IPSEC_GATEWAY, ERR_NAME_SERVER_1, ERR_NAME_SERVER_2 } |
Public Member Functions | |
Connection () | |
Connection (Config &cfg) | |
~Connection () | |
Err | verify () |
void | store (Config &cfg) const |
Public Attributes | |
QString | name |
QString | ipsecGateway |
QString | ipsecId |
QString | ipsecSecret |
QString | xauthUser |
QString | xauthPassword |
QString | domain |
bool | interactive |
bool | singleDes |
bool | udp |
bool | disableNatT |
|
Return values for verify(). |
|
Constructor. |
|
Construct from a configuration file. |
|
Destructor. |
|
Store connection in a configuration file. |
|
Verify current settings. |