GNetworkMonitorWindows: Add IPv4/IPv6 network monitor backend for windows

Added a Windows backend to GNetworkMonitor, using NotifyRouteChange2()
(available on Vista and later). It marshals the route change callbacks
to the thread-specific default main context the GNetworkMonitor was
constructed in.

https://bugzilla.gnome.org/show_bug.cgi?id=685442
This commit is contained in:
Jan-Michael Brummer
2017-12-26 14:06:08 +01:00
committed by Philip Withnall
parent 3ee859d5fc
commit f9aacf3952
5 changed files with 394 additions and 0 deletions

View File

@@ -388,6 +388,8 @@ else
'gwin32volumemonitor.c',
'gwin32inputstream.c',
'gwin32outputstream.c',
'gnetworkmonitorwindows.c',
'gnetworkmonitorwindows.h',
)
gio_win_rc = configure_file(