[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 3/9] Separate code for encoding outgoing remote message headers
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 3/9] Separate code for encoding outgoing remote message headers
- Date: Thu, 16 Jul 2009 15:08:43 +0200
On Tue, Jul 14, 2009 at 11:18:23AM +0100, Daniel P. Berrange wrote:
> Introduces an API for encoding the header field for outgoing messages
> allowing some duplicated code to be eliminated
[...]
> - /* Serialise the return header. */
> - xdrmem_create (&xdr, msg->buffer, sizeof msg->buffer, XDR_ENCODE);
Heh I didn't know one could use sizeof like that
I will admit I don't follow all the subtleties of xdr_ routines, but
that looks similar.
ACK,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]