MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / ProtocolLookup

Method ProtocolLookup

src/client/proxy-devposture.hpp:101–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 std::string ProtocolLookup(const std::string &enterprise_id) const
102 {
103 using namespace std::string_literals;
104
105 try
106 {
107 GVariant *r = proxy->Call(target,
108 "ProtocolLookup",
109 glib2::Value::CreateTupleWrapped(enterprise_id));
110
111 return glib2::Value::Extract<std::string>(r, 0);
112 }
113 catch (const DBus::Proxy::Exception &e)
114 {
115 throw Exception("Error during protocol lookup: "s + e.what());
116 }
117 }
118
119 std::string RunChecks(const std::string &protocol,
120 const std::string &request) const

Callers 2

CoreVPNClientMethod · 0.80
devposture_proxyFunction · 0.80

Calls 2

ExceptionClass · 0.70
whatMethod · 0.45

Tested by 1

devposture_proxyFunction · 0.64