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

2011-03-21 Thread Eric Blake
On 03/18/2011 12:54 PM, 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 02/12] Provide a simple object for encoding/decoding RPC messages

2011-03-18 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