summary refs log tree commit diff
path: root/introspection/nm-agent-manager.xml
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
committerMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
commit9f806e97a24bba61417ae312fcc0da40914266fb (patch)
tree4a25723414ceac11b4cba0558aa16f6f4b459f4b /introspection/nm-agent-manager.xml
parent8baa1aca8dfd35e3190d7d5655eb83b5b901e263 (diff)
Imported Upstream version 0.8.999 upstream/0.8.999
Diffstat (limited to 'introspection/nm-agent-manager.xml')
-rw-r--r--introspection/nm-agent-manager.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/introspection/nm-agent-manager.xml b/introspection/nm-agent-manager.xml
new file mode 100644
index 00000000..0b1e3e6e
--- /dev/null
+++ b/introspection/nm-agent-manager.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+  <interface name="org.freedesktop.NetworkManager.AgentManager">
+
+    <method name="Register">
+      <tp:docstring>
+        Called by secret Agents to register their ability to provide and save
+        network secrets.
+      </tp:docstring>
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_register"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+      <arg name="identifier" type="s" direction="in">
+        <tp:docstring>
+          Identifies this agent; only one agent in each user session may use the
+          same identifier.  Identifier formatting follows the same rules as
+          D-Bus bus names with the exception that the ':' character is not
+          allowed.  The valid set of characters is "[A-Z][a-z][0-9]_-." and the
+          identifier is limited in length to 255 characters with a minimum
+          of 3 characters.  An example valid identifier is 'org.gnome.nm-applet'
+          (without quotes).
+        </tp:docstring>
+      </arg>
+    </method>
+
+    <method name="Unregister">
+      <tp:docstring>
+        Called by secret Agents to notify NetworkManager that they will no
+        longer handle requests for network secrets.  Agents are automatically
+        unregistered when they disconnect from D-Bus.
+      </tp:docstring>
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_unregister"/>
+      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+    </method>
+
+  </interface>
+</node>
+