NetworkManager r2927 - in trunk: . introspection libnm-glib src



Author: dcbw
Date: 2007-10-03 15:48:25 +0100 (Wed, 03 Oct 2007)
New Revision: 2927
ViewCVS link: http://svn.gnome.org/viewcvs/NetworkManager?rev=2927&view=rev

Modified:
   trunk/ChangeLog
   trunk/introspection/nm-manager-client.xml
   trunk/introspection/nm-manager.xml
   trunk/libnm-glib/nm-client.c
   trunk/libnm-glib/nm-client.h
   trunk/src/nm-manager.c
   trunk/src/nm-manager.h
Log:
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()






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]