gio: add network connectivity state to GNetworkMonitor
authorDan Winship <danw@gnome.org>
Wed, 16 Apr 2014 14:39:12 +0000 (10:39 -0400)
committerBastien Nocera <hadess@hadess.net>
Fri, 5 Dec 2014 16:37:41 +0000 (17:37 +0100)
commit8d08b821090d5394175c17f375a192bb3f824c0c
tree60225be8ca9f1e71b84dcf28e3bc7fd9d117e83f
parented68d80e61b60833c15b69e57117e7f267757632
gio: add network connectivity state to GNetworkMonitor

Add a property to GNetworkMonitor indicating the level of network
connectivity: none/local, limited, stuck behind a portal, or full.

The default implementation just returns none or full depending on the
value of is-available.

https://bugzilla.gnome.org/show_bug.cgi?id=664562
gio/gioenums.h
gio/gnetworkmonitor.c
gio/gnetworkmonitor.h
gio/gnetworkmonitorbase.c
gio/tests/network-monitor.c