OpenVPN 3 Core Library
|
#include <setupbase.hpp>
Public Types | |
typedef RCPtr< SetupBase > | Ptr |
![]() | |
typedef RCPtr< DestructorBase > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
OPENVPN_EXCEPTION (tun_win_setup) | |
virtual HANDLE | get_handle (std::ostream &os)=0 |
virtual HANDLE | establish (const TunBuilderCapture &pull, const std::wstring &openvpn_app_path, Stop *stop, std::ostream &os, RingBuffer::Ptr rings)=0 |
virtual bool | l2_ready (const TunBuilderCapture &pull)=0 |
virtual void | l2_finish (const TunBuilderCapture &pull, Stop *stop, std::ostream &os)=0 |
virtual void | confirm () |
virtual void | set_service_fail_handler (std::function< void()> &&handler) |
virtual Util::TapNameGuidPair | get_adapter_state ()=0 |
virtual void | set_adapter_state (const Util::TapNameGuidPair &state)=0 |
virtual DWORD | vpn_interface_index () const |
![]() | |
virtual void | destroy (std::ostream &os)=0 |
virtual | ~DestructorBase ()=default |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 32 of file setupbase.hpp.
Definition at line 34 of file setupbase.hpp.
|
inlinevirtual |
Reimplemented in openvpn::WinCommandAgent::SetupClient.
Definition at line 56 of file setupbase.hpp.
|
pure virtual |
Implemented in openvpn::TunWin::Setup, and openvpn::WinCommandAgent::SetupClient.
|
pure virtual |
Implemented in openvpn::WinCommandAgent::SetupClient, and openvpn::TunWin::Setup.
|
pure virtual |
Implemented in openvpn::WinCommandAgent::SetupClient, and openvpn::TunWin::Setup.
|
pure virtual |
Implemented in openvpn::WinCommandAgent::SetupClient, and openvpn::TunWin::Setup.
|
pure virtual |
Implemented in openvpn::WinCommandAgent::SetupClient, and openvpn::TunWin::Setup.
openvpn::TunWin::SetupBase::OPENVPN_EXCEPTION | ( | tun_win_setup | ) |
|
pure virtual |
Implemented in openvpn::WinCommandAgent::SetupClient, and openvpn::TunWin::Setup.
|
inlinevirtual |
Reimplemented in openvpn::WinCommandAgent::SetupClient.
Definition at line 60 of file setupbase.hpp.
|
inlinevirtual |
Reimplemented in openvpn::TunWin::Setup.
Definition at line 68 of file setupbase.hpp.