Re: [libvirt] [PATCH 3/9] Separate code for encoding outgoing remote message headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]