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

Method FetchManagedInterfaces

src/sessionmgr/proxy-sessionmgr.hpp:779–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777
778
779 const std::vector<std::string> FetchManagedInterfaces() const
780 {
781 try
782 {
783 GVariant *r = proxy->Call(target,
784 "FetchManagedInterfaces");
785 auto intf_list = glib2::Value::ExtractVector<std::string>(r, 0);
786 return intf_list;
787 }
788 catch (const DBus::Proxy::Exception &)
789 {
790 throw SessionManager::Proxy::Exception("Failed to retrieve managed interfaces");
791 }
792 }
793
794
795 /**

Callers 1

Calls 1

ExceptionClass · 0.70

Tested by

no test coverage detected