summaryrefslogtreecommitdiffstats
path: root/tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml')
-rw-r--r--tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml b/tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml
new file mode 100644
index 000000000..57665f61a
--- /dev/null
+++ b/tdecore/networkbackends/network-manager/introspection/nm-vpn-manager.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <interface name="org.freedesktop.NetworkManager.VPN.Manager">
+ <method name="Connect">
+ <tp:docstring>
+ Establish a VPN connection.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_connect"/>
+ <arg name="connection_type" type="s" direction="in">
+ <tp:docstring>
+ String describing the connection type.
+ </tp:docstring>
+ </arg>
+ <arg name="connection" type="o" direction="in">
+ <tp:docstring>
+ Object path of the network connection to establish the VPN connection on.
+ </tp:docstring>
+ </arg>
+ <arg name="device" type="o" direction="in">
+ <tp:docstring>
+ Object path of the device to establish the VPN connection on.
+ </tp:docstring>
+ </arg>
+ <arg name="vpn_connection" type="o" direction="out">
+ <tp:docstring>
+ Object path of the newly created VPN connection.
+ </tp:docstring>
+ </arg>
+ </method>
+
+ <method name="ListConnections">
+ <tp:docstring>
+ Get the list of active VPN connections.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_get_connections"/>
+ <arg name="connections" type="ao" direction="out">
+ <tp:docstring>
+ List of object paths of active VPN connections.
+ </tp:docstring>
+ </arg>
+ </method>
+
+ </interface>
+</node>
+