Re: [libvirt] [PATCH 01/10] Provide a simple object for encoding/decoding RPC messages

2011-03-18 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 01:34:53PM -0600, Eric Blake wrote: > On 03/15/2011 11:51 AM, Daniel P. Berrange wrote: > > This provides a new struct that contains a buffer for the RPC > > message header+payload, as well as a decoded copy of the message > > header. There is an API for applying a XDR encod

Re: [libvirt] [PATCH 01/10] Provide a simple object for encoding/decoding RPC messages

2011-03-15 Thread Eric Blake
On 03/15/2011 11:51 AM, Daniel P. Berrange wrote: > This provides a new struct that contains a buffer for the RPC > message header+payload, as well as a decoded copy of the message > header. There is an API for applying a XDR encoding & decoding > of the message headers and payloads. There are also

[libvirt] [PATCH 01/10] Provide a simple object for encoding/decoding RPC messages

2011-03-15 Thread Daniel P. Berrange
This provides a new struct that contains a buffer for the RPC message header+payload, as well as a decoded copy of the message header. There is an API for applying a XDR encoding & decoding of the message headers and payloads. There are also APIs for maintaining a simple FIFO queue of message insta