2007-09-26 Tambet Ingo <tambet@gmail.com>
* libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the * plugin activation method. (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and unreference the connection. * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method * arguments: instead of passing properties hash and routes string list, pass NMConnection (in hashed form). * src/vpn-manager/nm-vpn-connection.c * (nm_vpn_connection_get_routes): Return routes as GSList, no need to copy stuff around anymore. (nm_vpn_connection_activate): Update the plugin activation method. * src/NetworkManagerSystem.c * (nm_system_vpn_device_set_from_ip4_config): Convert routes argument to GSList. * vpn-daemons/vpnc/src/nm-vpnc-service.c (real_connect): The arguments have changed, update. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2890 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -65,7 +65,7 @@ gboolean nm_system_device_set_from_ip4_config (NMDevice *dev);
|
||||
gboolean nm_system_vpn_device_set_from_ip4_config (NMDevice *active_device,
|
||||
const char *iface,
|
||||
NMIP4Config *config,
|
||||
char **routes);
|
||||
GSList *routes);
|
||||
|
||||
gboolean nm_system_vpn_device_unset_from_ip4_config (NMDevice *active_device,
|
||||
const char *iface,
|
||||
|
Reference in New Issue
Block a user