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

@@ -345,6 +345,8 @@ win32_actual_sources = \
gwin32outputstream.c \
gwin32outputstream.h \
gwin32networking.h \
gnetworkmonitorwindows.c \
gnetworkmonitorwindows.h \
$(NULL)
win32_more_sources_for_vcproj = \