Hi, finally sending v2 of the series that Victor reviewed back in December. Main changes since v1: * tried to improve the design --> udscs and virtio_port are now implemented as subclasses of VDAgentConnection * reimplemented write in VDAgentConnection so that flush is now synchronous (doesn't use the "hack" with GMainLoop) Cheers, Jakub Janků (5): build: add GIO dependency introduce VDAgentConnection udscs: use GObject macro virtio: use GObject macro udscs-server: split initialization Makefile.am | 14 +- configure.ac | 2 +- src/udscs.c | 578 +++++++++---------------------------- src/udscs.h | 100 ++----- src/vdagent-connection.c | 322 +++++++++++++++++++++ src/vdagent-connection.h | 102 +++++++ src/vdagent/clipboard.c | 8 +- src/vdagent/clipboard.h | 4 +- src/vdagent/file-xfers.c | 6 +- src/vdagent/file-xfers.h | 4 +- src/vdagent/vdagent.c | 32 +- src/vdagent/x11-priv.h | 2 +- src/vdagent/x11.c | 2 +- src/vdagent/x11.h | 2 +- src/vdagentd/vdagentd.c | 306 ++++++++++---------- src/vdagentd/virtio-port.c | 420 +++++++++------------------ src/vdagentd/virtio-port.h | 63 ++-- 17 files changed, 934 insertions(+), 1033 deletions(-) create mode 100644 src/vdagent-connection.c create mode 100644 src/vdagent-connection.h -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel