summaryrefslogtreecommitdiffstats
path: root/tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml')
-rw-r--r--tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml71
1 files changed, 69 insertions, 2 deletions
diff --git a/tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml b/tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml
index e7647e1d6..5fb11622a 100644
--- a/tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml
+++ b/tdecore/networkbackends/network-manager/introspection/nm-vpn-plugin.xml
@@ -55,6 +55,18 @@
</tp:possible-errors>
</method>
+ <method name="SetConfig">
+ <tp:docstring>
+ Set generic connection details on the connection.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_config"/>
+ <arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
+ <tp:docstring>
+ Generic configuration details for the connection.
+ </tp:docstring>
+ </arg>
+ </method>
+
<method name="SetIp4Config">
<tp:docstring>
Set IPv4 details on the connection.
@@ -62,7 +74,21 @@
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip4_config"/>
<arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
<tp:docstring>
- Ip4Config details for the conneciton.
+ Ip4Config details for the connection. You must call
+ SetConfig() before calling this.
+ </tp:docstring>
+ </arg>
+ </method>
+
+ <method name="SetIp6Config">
+ <tp:docstring>
+ Set IPv6 details on the connection.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip6_config"/>
+ <arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
+ <tp:docstring>
+ Ip6Config details for the connection. You must call
+ SetConfig() before calling this.
</tp:docstring>
</arg>
</method>
@@ -96,6 +122,17 @@
</arg>
</signal>
+ <signal name="Config">
+ <tp:docstring>
+ The plugin obtained generic configuration information.
+ </tp:docstring>
+ <arg name="config" type="a{sv}" tp:type="String_Variant_Map">
+ <tp:docstring>
+ The configuration information.
+ </tp:docstring>
+ </arg>
+ </signal>
+
<signal name="Ip4Config">
<tp:docstring>
The plugin obtained an IPv4 configuration.
@@ -107,6 +144,17 @@
</arg>
</signal>
+ <signal name="Ip6Config">
+ <tp:docstring>
+ The plugin obtained an IPv6 configuration.
+ </tp:docstring>
+ <arg name="ip6config" type="a{sv}" tp:type="String_Variant_Map">
+ <tp:docstring>
+ The IPv6 configuration.
+ </tp:docstring>
+ </arg>
+ </signal>
+
<signal name="LoginBanner">
<tp:docstring>
Emitted when the plugin receives a login banner from the VPN service.
@@ -122,11 +170,30 @@
<tp:docstring>
Emitted when a failure in the VPN plugin occurs.
</tp:docstring>
- <arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
+ <arg name="reason" type="u" tp:type="NM_VPN_PLUGIN_FAILURE">
<tp:docstring>
Reason code for the failure.
</tp:docstring>
</arg>
</signal>
+
+ <tp:enum name="NM_VPN_PLUGIN_FAILURE" type="u">
+ <tp:enumvalue suffix="LOGIN_FAILED" value="0">
+ <tp:docstring>
+ Login failed.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="CONNECT_FAILED" value="1">
+ <tp:docstring>
+ Connect failed.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="BAD_IP_CONFIG" value="2">
+ <tp:docstring>
+ Invalid IP configuration returned from the VPN plugin.
+ </tp:docstring>
+ </tp:enumvalue>
+ </tp:enum>
+
</interface>
</node>