Re: [Spice-devel] [RFC spice-vdagent 05/18] add VDAgentConnection

2018-09-03 Thread Jakub Janku
Hey, On Tue, Aug 28, 2018 at 10:04 AM Victor Toso wrote: > > Hi, > > On Tue, Aug 14, 2018 at 08:53:39PM +0200, Jakub Janků wrote: > > Add a set of helper functions built around GIO that can be used to > > easily write messages to and read from the given FD. > > > > Since VDAgentConnection uses GI

Re: [Spice-devel] [RFC spice-vdagent 05/18] add VDAgentConnection

2018-08-28 Thread Victor Toso
Hi, On Tue, Aug 14, 2018 at 08:53:39PM +0200, Jakub Janků wrote: > Add a set of helper functions built around GIO that can be used to > easily write messages to and read from the given FD. > > Since VDAgentConnection uses GIO, > it integrates well with GMainLoop. > > Read messages must begin wit

[Spice-devel] [RFC spice-vdagent 05/18] add VDAgentConnection

2018-08-14 Thread Jakub Janků
Add a set of helper functions built around GIO that can be used to easily write messages to and read from the given FD. Since VDAgentConnection uses GIO, it integrates well with GMainLoop. Read messages must begin with a header of a fixed size. Message body size can vary. User of VDAgentConnecti