Main Page | Alphabetical List | Class List | File List | Class Members

Connection Class Reference

#include <connection.h>

List of all members.


Detailed Description

A virtual private network connection.

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


Member Enumeration Documentation

enum Connection::Err
 

Return values for verify().

Enumerator:
OK  All good.
ERR_IPSEC_GATEWAY  Invalid gateway IP address.
ERR_NAME_SERVER_1  Invalid name server 1 IP address.
ERR_NAME_SERVER_2  Invalid name server 2 IP address.


Constructor & Destructor Documentation

Connection::Connection  ) 
 

Constructor.

Connection::Connection Config &  cfg  ) 
 

Construct from a configuration file.

Connection::~Connection  ) 
 

Destructor.


Member Function Documentation

void Connection::store Config &  cfg  )  const
 

Store connection in a configuration file.

Connection::Err Connection::verify  ) 
 

Verify current settings.


The documentation for this class was generated from the following files:
Generated on Fri Aug 19 23:02:10 2005 for Viperin-Z by  doxygen 1.4.4