|
OpenVPN 3 Core Library
|
Namespaces | |
| namespace | Console |
| namespace | Handle |
| namespace | HandleComm |
| namespace | LogUtil |
Classes | |
| struct | DestroyEvent |
| struct | Error |
| class | Event |
| class | Impersonate |
| struct | LastError |
| class | LogFile |
| struct | NamedPipeImpersonate |
| struct | NamedPipePeerInfo |
| struct | NamedPipePeerInfoClient |
| struct | NamedPipePeerInfoCS |
| struct | NamedPipePeerInfoServer |
| struct | NetApi |
| class | Reg |
| Abstraction of Windows Registry operations. More... | |
| class | ScopedHANDLE |
| struct | SecurityAttributes |
| class | Service |
Typedefs | |
| typedef std::unique_ptr< wchar_t[]> | UTF16 |
| typedef std::unique_ptr< char[]> | UTF8 |
Functions | |
| OPENVPN_EXCEPTION (win_call) | |
| std::string | call (const std::string &cmd) |
| std::wstring | module_name () |
| std::string | module_name_utf8 () |
| std::string | omiclient_path () |
| template<typename REG = Win::Reg> | |
| static std::wstring | interface_dns_domain (const std::wstring &itf_guid) |
| Read interface specific domain suffix. | |
| template<typename REG = Win::Reg> | |
| static bool | dhcp_enabled_on_itf (typename REG::Key &itf_key) |
| Checks if DHCP is enabled for an interface. | |
| template<typename E > | |
| static void | check_reg_error (DWORD status, const std::string &key) |
| OPENVPN_SIMPLE_EXCEPTION (win_utf16) | |
| wchar_t * | utf16 (const std::string &str, int cp=CP_UTF8) |
| size_t | utf16_strlen (const wchar_t *str) |
| char * | utf8 (wchar_t *str) |
| typedef std::unique_ptr<wchar_t[]> openvpn::Win::UTF16 |
Definition at line 24 of file unicode.hpp.
| typedef std::unique_ptr<char[]> openvpn::Win::UTF8 |
Definition at line 25 of file unicode.hpp.
|
inline |
|
static |
|
static |
Checks if DHCP is enabled for an interface.
| REG | the Registry abstraction to use (default: Win::Reg) |
| itf_key | REG::Key of the interface to check for |
Definition at line 128 of file netutil.hpp.
|
static |
Read interface specific domain suffix.
It can be either be the one assigned by DHCP or manually.
| REG | the Registry abstraction to use (default: Win::Reg) |
| itf_guid | The interface GUID string |
Definition at line 98 of file netutil.hpp.
|
inline |
|
inline |
|
inline |
| openvpn::Win::OPENVPN_EXCEPTION | ( | win_call | ) |
| openvpn::Win::OPENVPN_SIMPLE_EXCEPTION | ( | win_utf16 | ) |
|
inline |
|
inline |
|
inline |