diff options
author | Dan Williams <dcbw@redhat.com> | 2013-07-25 10:59:28 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-10-31 14:15:07 -0500 |
commit | a007292937c0d7032c27735bdd4300124ad389d8 (patch) | |
tree | 29dc86a61cf973734e93f74db59d5120fe1ad5fe /src/vpn-manager/nm-vpn-manager.h | |
parent | 3660a80c29e5a4e3b52b9b726405736b745d6553 (diff) | |
download | NetworkManager-a007292937c0d7032c27735bdd4300124ad389d8.tar.gz |
core: move VPN active connection creation to the manager
Eventually the manager will create both NMActRequest and
NMVPNConnection subclasses directly, instead of leaving
NMVPNConnection creation to the VPN manager.
This also ensures that VPN connections get their user_requested
attribute set correctly, which wasn't happening before in the
case of secondary VPN connections.
Diffstat (limited to 'src/vpn-manager/nm-vpn-manager.h')
-rw-r--r-- | src/vpn-manager/nm-vpn-manager.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/vpn-manager/nm-vpn-manager.h b/src/vpn-manager/nm-vpn-manager.h index 1d398ea2cb..57f947b0e4 100644 --- a/src/vpn-manager/nm-vpn-manager.h +++ b/src/vpn-manager/nm-vpn-manager.h @@ -59,13 +59,9 @@ GType nm_vpn_manager_get_type (void); NMVPNManager *nm_vpn_manager_get (void); -NMActiveConnection *nm_vpn_manager_activate_connection (NMVPNManager *manager, - NMConnection *connection, - NMDevice *device, - const char *specific_object, - gboolean user_requested, - gulong user_uid, - GError **error); +gboolean nm_vpn_manager_activate_connection (NMVPNManager *manager, + NMVPNConnection *vpn, + GError **error); gboolean nm_vpn_manager_deactivate_connection (NMVPNManager *manager, NMVPNConnection *connection, |