OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ClientAPI::OpenVPNClientHelper Class Reference

#include <ovpncli.hpp>

Collaboration diagram for openvpn::ClientAPI::OpenVPNClientHelper:
[legend]

Public Member Functions

 OpenVPNClientHelper ()
 
 ~OpenVPNClientHelper ()
 
 OpenVPNClientHelper (OpenVPNClientHelper &)=delete
 
MergeConfig merge_config (const std::string &path, bool follow_references)
 
MergeConfig merge_config_string (const std::string &config_content)
 
EvalConfig eval_config (const Config &config)
 
std::string crypto_self_test ()
 

Static Public Member Functions

static long max_profile_size ()
 
static bool parse_dynamic_challenge (const std::string &cookie, DynamicChallenge &dc)
 
static std::string platform ()
 
static std::string copyright ()
 

Static Private Member Functions

static MergeConfig build_merge_config (const ProfileMerge &)
 
static void parse_config (const Config &, EvalConfig &, OptionList &)
 

Private Attributes

InitProcess::Initinit
 

Friends

class OpenVPNClient
 

Detailed Description

Helper class for OpenVPN clients. Provider helper method to be used with the

See also
OpenVPNClient class.

Definition at line 553 of file ovpncli.hpp.

Constructor & Destructor Documentation

◆ OpenVPNClientHelper() [1/2]

openvpn::ClientAPI::OpenVPNClientHelper::OpenVPNClientHelper ( )

Definition at line 707 of file ovpncli.cpp.

◆ ~OpenVPNClientHelper()

openvpn::ClientAPI::OpenVPNClientHelper::~OpenVPNClientHelper ( )

Definition at line 712 of file ovpncli.cpp.

◆ OpenVPNClientHelper() [2/2]

openvpn::ClientAPI::OpenVPNClientHelper::OpenVPNClientHelper ( OpenVPNClientHelper )
delete

Member Function Documentation

◆ build_merge_config()

OPENVPN_CLIENT_EXPORT MergeConfig openvpn::ClientAPI::OpenVPNClientHelper::build_merge_config ( const ProfileMerge pm)
staticprivate

Definition at line 744 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ copyright()

OPENVPN_CLIENT_EXPORT std::string openvpn::ClientAPI::OpenVPNClientHelper::copyright ( )
static

Definition at line 1410 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ crypto_self_test()

OPENVPN_CLIENT_EXPORT std::string openvpn::ClientAPI::OpenVPNClientHelper::crypto_self_test ( )

Definition at line 1405 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ eval_config()

OPENVPN_CLIENT_EXPORT EvalConfig openvpn::ClientAPI::OpenVPNClientHelper::eval_config ( const Config config)

Definition at line 761 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ max_profile_size()

OPENVPN_CLIENT_EXPORT long openvpn::ClientAPI::OpenVPNClientHelper::max_profile_size ( )
static

Definition at line 717 of file ovpncli.cpp.

◆ merge_config()

OPENVPN_CLIENT_EXPORT MergeConfig openvpn::ClientAPI::OpenVPNClientHelper::merge_config ( const std::string &  path,
bool  follow_references 
)

Definition at line 722 of file ovpncli.cpp.

◆ merge_config_string()

OPENVPN_CLIENT_EXPORT MergeConfig openvpn::ClientAPI::OpenVPNClientHelper::merge_config_string ( const std::string &  config_content)

Definition at line 734 of file ovpncli.cpp.

◆ parse_config()

OPENVPN_CLIENT_EXPORT void openvpn::ClientAPI::OpenVPNClientHelper::parse_config ( const Config config,
EvalConfig eval,
OptionList options 
)
staticprivate

Definition at line 608 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ parse_dynamic_challenge()

OPENVPN_CLIENT_EXPORT bool openvpn::ClientAPI::OpenVPNClientHelper::parse_dynamic_challenge ( const std::string &  cookie,
DynamicChallenge dc 
)
static

Definition at line 812 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ platform()

OPENVPN_CLIENT_EXPORT std::string openvpn::ClientAPI::OpenVPNClientHelper::platform ( )
static

Definition at line 1415 of file ovpncli.cpp.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ OpenVPNClient

friend class OpenVPNClient
friend

Definition at line 556 of file ovpncli.hpp.

Member Data Documentation

◆ init

InitProcess::Init* openvpn::ClientAPI::OpenVPNClientHelper::init
private

Definition at line 603 of file ovpncli.hpp.


The documentation for this class was generated from the following files: