OpenVPN 3 Core Library
|
#include <dns.hpp>
Public Member Functions | |
ActionCreate (const std::string &itf_name, const std::string &search_domains) | |
void | execute (std::ostream &log) override |
Apply DNS data to the system. | |
std::string | to_string () const override |
Produce a textual representating of the DNS data. | |
![]() | |
virtual Json::Value | to_json () const |
virtual | ~Action ()=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. | |
Private Attributes | |
const std::string | itf_name_ |
const std::string | search_domains_ |
Additional Inherited Members | |
![]() | |
typedef RCPtr< Action > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
![]() | |
std::string | mark |
|
inline |
|
inlineoverridevirtual |
Apply DNS data to the system.
log | where the rules will be logged to |
Implements openvpn::Action.
|
inlineoverridevirtual |
Produce a textual representating of the DNS data.
Implements openvpn::Action.
Definition at line 440 of file dns.hpp.
|
private |
|
private |