libvirt/build-aux
Daniel P. Berrangé 5de317b8e7 src: introduce helper API for creating GSource for socket
We need to be able to create event loop watches using the
GSource API for sockets. GIOChannel is able todo this, but
we don't want to use the GIOChannel APIs for reading/writing,
and testing shows just using its GSource APIs is unreliable
on Windows.

This patch thus creates a standalone helper API for creating
a GSource for a socket file descriptor. This impl is derived
from code in QEMU's io/channel-watch.c file that was written
by myself & Paolo Bonzini & thus under Red Hat copyright.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-02-07 15:03:53 +00:00
..
check-spacing.pl Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
syntax-check.mk src: introduce helper API for creating GSource for socket 2020-02-07 15:03:53 +00:00
useless-if-before-free build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00
vc-list-files build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00