summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/introspection/nm-vpn-manager.xml
blob: 57665f61a76f56e689c7d36aa19c152ef2e7ed2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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>