summaryrefslogtreecommitdiff
path: root/src/nm-dispatcher.h
diff options
context:
space:
mode:
authorMario Sanchez Prada <mario@endlessm.com>2016-07-20 16:21:12 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2016-07-28 22:22:14 +0200
commitdfd9d85bebc11bd8719ca60447c01bc3ea52769e (patch)
tree3c82cfd20c105c0dbd4b753030ab02f702ec6147 /src/nm-dispatcher.h
parent283562ef18cbc2d62a567656e8fc0bc3fb5d433d (diff)
downloadNetworkManager-dfd9d85bebc11bd8719ca60447c01bc3ea52769e.tar.gz
nm-dispatcher: Added new 'connectivity-state' parameter to private D-Bus API
In order to pass the connectivity state to the relevant hooks along with the event itself, we need to add this parameter for the 'Action' method of then internal 'org.freedesktop.nm_dispatcher' interface, which will be sent by the network manager main process to the dispatcher. https://bugzilla.gnome.org/show_bug.cgi?id=768969
Diffstat (limited to 'src/nm-dispatcher.h')
-rw-r--r--src/nm-dispatcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-dispatcher.h b/src/nm-dispatcher.h
index 72c7e6e815..47cb64816b 100644
--- a/src/nm-dispatcher.h
+++ b/src/nm-dispatcher.h
@@ -76,7 +76,8 @@ gboolean nm_dispatcher_call_vpn_sync (DispatcherAction action,
NMIP4Config *vpn_ip4_config,
NMIP6Config *vpn_ip6_config);
-gboolean nm_dispatcher_call_connectivity (DispatcherAction action);
+gboolean nm_dispatcher_call_connectivity (DispatcherAction action,
+ NMConnectivityState state);
void nm_dispatcher_call_cancel (guint call_id);