diff options
author | Dan Winship <danw@gnome.org> | 2013-07-30 16:31:31 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-08-28 10:54:08 -0400 |
commit | 07521da59115dff6c2394240d5fffade3cded62f (patch) | |
tree | a45a32fc4c7113f027501d775c78e08e58dfe9a0 /src/nm-manager.h | |
parent | 8732914815ef315cd94ba67ba4b8247d90412b13 (diff) | |
download | NetworkManager-07521da59115dff6c2394240d5fffade3cded62f.tar.gz |
core: provide additional network connectivity information
NM_STATE_CONNECTED_SITE doesn't distinguish between "behind a captive
portal" and "limited network connectivity" (ie, connected to a router
that has lost its upstream connection). Add a new NMManager
:connectivity property to provide this information.
Also add a CheckConnectivity method, which can be used to force NM to
re-check the connectivity state, which could be called by a client
after it completed a portal login, or fixed a network problem.
Diffstat (limited to 'src/nm-manager.h')
-rw-r--r-- | src/nm-manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-manager.h b/src/nm-manager.h index 6e376787e1..79165f0f4c 100644 --- a/src/nm-manager.h +++ b/src/nm-manager.h @@ -60,6 +60,7 @@ typedef enum { #define NM_MANAGER_WIMAX_ENABLED "wimax-enabled" #define NM_MANAGER_WIMAX_HARDWARE_ENABLED "wimax-hardware-enabled" #define NM_MANAGER_ACTIVE_CONNECTIONS "active-connections" +#define NM_MANAGER_CONNECTIVITY "connectivity" /* Not exported */ #define NM_MANAGER_HOSTNAME "hostname" |