summary refs log tree commit diff
path: root/src/nm-dispatcher.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-08-26 02:18:32 +0200
committerMichael Biebl <biebl@debian.org>2016-08-26 02:18:32 +0200
commit7514efc2f38c9ace4557d4e69d68e7d380389030 (patch)
tree7fb00fda86cfcc2ca377f191633a7cfdbfea7ca3 /src/nm-dispatcher.h
parentd6201f5d8daada3d64a0a3e0038e14eebec683ce (diff)
Imported Upstream version 1.4.0 upstream/1.4.0
Diffstat (limited to 'src/nm-dispatcher.h')
-rw-r--r--src/nm-dispatcher.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nm-dispatcher.h b/src/nm-dispatcher.h
index 42dcdc46..62818c45 100644
--- a/src/nm-dispatcher.h
+++ b/src/nm-dispatcher.h
@@ -24,7 +24,6 @@
 
 #include <stdio.h>
 
-#include "nm-default.h"
 #include "nm-connection.h"
 
 typedef enum {
@@ -38,7 +37,8 @@ typedef enum {
 	DISPATCHER_ACTION_VPN_PRE_DOWN,
 	DISPATCHER_ACTION_VPN_DOWN,
 	DISPATCHER_ACTION_DHCP4_CHANGE,
-	DISPATCHER_ACTION_DHCP6_CHANGE
+	DISPATCHER_ACTION_DHCP6_CHANGE,
+	DISPATCHER_ACTION_CONNECTIVITY_CHANGE
 } DispatcherAction;
 
 typedef void (*DispatcherFunc) (guint call_id, gpointer user_data);
@@ -75,6 +75,9 @@ gboolean nm_dispatcher_call_vpn_sync (DispatcherAction action,
                                       NMIP4Config *vpn_ip4_config,
                                       NMIP6Config *vpn_ip6_config);
 
+gboolean nm_dispatcher_call_connectivity (DispatcherAction action,
+                                          NMConnectivityState state);
+
 void nm_dispatcher_call_cancel (guint call_id);
 
 void nm_dispatcher_init (void);