Re: non-standard types in remote XDR definitions

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

 



On Wed, Jan 25, 2017 at 10:55:37AM -0500, Matt Broadstone wrote:
> Hello,
> 
> I have been experimenting with the remote protocol defined in the
> `src/remote/remote_protocol.x`
> (https://libvirt.org/git/?p=libvirt.git;a=blob_plain;f=src/remote/remote_protocol.x;hb=HEAD),
> and noticed that there a number of types used that are not defined in
> the XDR RFC, specifically: unsigned char, char, unsigned short, short
> (I might have missed one or two).  I'm wondering if these are missing
> typedefs, or whether they are custom extensions to the RFC.  Does
> anyone have more information on this? If the latter case is the fact,
> are these values padded to 4 bytes per the spec?

The libvirt RPC protocol is an internal impl detail, not for 3rd party
use. So our only goal is to be compatible with rpcgen binaries that are
used during builds on supported platforms. As such what's in the RFC
is not particularly relevant.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
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]
  Powered by Linux