diff options
| author | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
| commit | 3ce667b6ee6b86291bbe60ef93cba7f11a5c5400 (patch) | |
| tree | af3daa7221e898b72f3de26eb2cf0c1b1c8661b0 /introspection/nm-settings.xml | |
| parent | f02d31d95af29678092d1ff01f714621bc9dcc0f (diff) | |
| parent | 33491bc4279481db8ae47213e34a6d695a0e8830 (diff) | |
Merge tag 'upstream/0.9.10.0'
Upstream version 0.9.10.0
Diffstat (limited to 'introspection/nm-settings.xml')
| -rw-r--r-- | introspection/nm-settings.xml | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/introspection/nm-settings.xml b/introspection/nm-settings.xml index c7914668..3a71959c 100644 --- a/introspection/nm-settings.xml +++ b/introspection/nm-settings.xml @@ -23,6 +23,7 @@ Retrieve the object path of a connection, given that connection's UUID. </tp:docstring> <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_get_connection_by_uuid"/> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> <arg name="uuid" type="s" direction="in"> <tp:docstring> The UUID to find the connection object path for. @@ -56,6 +57,83 @@ </arg> </method> + <method name="AddConnectionUnsaved"> + <tp:docstring> + Add new connection but do not save it to disk immediately. This + operation does not start the network connection unless (1) device is + idle and able to connect to the network described by the new connection, + and (2) the connection is allowed to be started automatically. + + Use the 'Save' method on the connection to save these changes + to disk. Note that unsaved changes will be lost if the + connection is reloaded from disk (either automatically on file + change or due to an explicit ReloadConnections call). + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_add_connection_unsaved"/> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="connection" type="a{sa{sv}}" direction="in"> + <tp:docstring> + Connection settings and properties. + </tp:docstring> + </arg> + <arg name="path" type="o" direction="out"> + <tp:docstring> + Object path of the new connection that was just added. + </tp:docstring> + </arg> + </method> + + <method name="LoadConnections"> + <tp:docstring> + Loads or reloads the indicated connections from disk. You + should call this after making changes directly to an on-disk + connection file to make sure that NetworkManager sees the + changes. (If "monitor-connection-files" in NetworkManager.conf + is "true", then this will have no real effect, but is + harmless.) As with AddConnection(), this operation does not + necessarily start the network connection. + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_load_connections"/> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="filenames" type="as" direction="in"> + <tp:docstring> + Array of paths to on-disk connection profiles in directories + monitored by NetworkManager. + </tp:docstring> + </arg> + <arg name="status" type="b" direction="out"> + <tp:docstring> + Success or failure of the operation as a whole. True if + NetworkManager at least tried to load the indicated + connections, even if it did not succeed. False if an error + occurred before trying to load the connections (eg, + permission denied). + </tp:docstring> + </arg> + <arg name="failures" type="as" direction="out"> + <tp:docstring> + Paths of connection files that could not be loaded. + </tp:docstring> + </arg> + </method> + + <method name="ReloadConnections"> + <tp:docstring> + Tells NetworkManager to reload all connection files from disk, + including noticing any added or deleted connection files. By + default, connections are re-read automatically any time they + change, so you only need to use this command if you have set + "monitor-connection-files=false" in NetworkManager.conf. + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_reload_connections"/> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="status" type="b" direction="out"> + <tp:docstring> + Success or failure. + </tp:docstring> + </arg> + </method> + <method name="SaveHostname"> <tp:docstring> Save the hostname to persistent configuration. @@ -69,6 +147,12 @@ </arg> </method> + <property name="Connections" type="ao" access="read"> + <tp:docstring> + List of object paths of available network connection profiles. + </tp:docstring> + </property> + <property name="Hostname" type="s" access="read"> <tp:docstring> The machine hostname stored in persistent configuration. @@ -107,6 +191,21 @@ </arg> </signal> + <signal name="ConnectionRemoved"> + <tp:docstring> + Emitted when a connection is no longer available. This happens when + the connection is deleted or if it is no longer accessible by any of + the system's logged-in users. After receipt of this signal, the + connection no longer exists and cannot be used. Also see the + Settings.Connection.Removed signal. + </tp:docstring> + <arg name="connection" type="o"> + <tp:docstring> + Object path of the removed connection. + </tp:docstring> + </arg> + </signal> + </interface> </node> |