diff options
author | Dan Williams <dcbw@redhat.com> | 2007-10-03 14:48:25 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-10-03 14:48:25 +0000 |
commit | f9fd8667d131bb6334e9eaa07a49bce567cb43d9 (patch) | |
tree | 9c38f1abdf005a39e2551d48ae354d431e317bae /introspection/nm-manager.xml | |
parent | d7f6aa32f95754d003b6bb8baeabbd2b739b4096 (diff) | |
download | NetworkManager-f9fd8667d131bb6334e9eaa07a49bce567cb43d9.tar.gz |
2007-10-03 Dan Williams <dcbw@redhat.com>
Add a GetActiveConnections() method on the Manager object.
* src/nm-manager.c
src/nm-manager.h
introspection/nm-manager.xml
- (connection_get_settings_cb): keep connection type around too
- (impl_manager_get_active_connections, add_one_connection_element):
implement; returns all active connections and what devices they
apply to
* libnm-glib/nm-client.c
libnm-glib/nm-client.h
introspection/nm-manager-client.xml
- (nm_client_get_devices): GPtrArray elements are allocated and owned
by the caller; free here to avoid memory leak
- (nm_client_get_active_connections): implement; return the list of
active connections
- (nm_client_free_active_connection_element): implement; free an element
of the GSList returned by nm_client_get_active_connections()
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2927 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'introspection/nm-manager.xml')
-rw-r--r-- | introspection/nm-manager.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml index 5020343eac..24c48164ad 100644 --- a/introspection/nm-manager.xml +++ b/introspection/nm-manager.xml @@ -23,6 +23,18 @@ <arg name="specific_object" type="o" direction="in"/> </method> + <method name="GetActiveConnections"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_active_connections"/> + <!-- 'connections' is an array of structs + consisting of the following elements: + service name + connection object path + specific object + array of (device object path) + --> + <arg name="connections" type="a(sooao)" direction="out"/> + </method> + <method name="Sleep"> <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/> <arg name="sleep" type="b" direction="in"/> |