|
OpenVPN 3 Core Library
|
#include <dns.hpp>
Public Member Functions | |
| ActionDelete (const std::string &itf_name, const std::string &search_domains) | |
| void | execute (std::ostream &log) override |
| Undo any modification to the DNS settings. | |
| std::string | to_string () const override |
| Return the log message. | |
Public Member Functions inherited from openvpn::Action | |
| virtual Json::Value | to_json () const |
| virtual | ~Action ()=default |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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 | |
Public Types inherited from openvpn::Action | |
| typedef RCPtr< Action > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Public Attributes inherited from openvpn::Action | |
| std::string | mark |
|
inline |
|
inlineoverridevirtual |
Undo any modification to the DNS settings.
| log | where the log message goes |
Implements openvpn::Action.
|
inlineoverridevirtual |
Return the log message.
Implements openvpn::Action.
Definition at line 478 of file dns.hpp.
|
private |
|
private |