Re: [PATCH 5/6] Introduce alternate way to encode/decode arrays in DBus messages

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

 



On 20.03.2014 13:28, Daniel P. Berrange wrote:
Currently the DBus helper APIs require the values for an array
to be passed inline in the variadic argument list. This change
introduces support for passing arrays using a pointer to a plain
C array of the basic type. This is of particular benefit for
decoding messages when you don't know how many array elements
are being received.

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
  src/util/virdbus.c  | 121 ++++++++++++++++++++++++++++++++++++++++++++++------
  tests/virdbustest.c |  93 ++++++++++++++++++++++++++++++++++++++++
  2 files changed, 201 insertions(+), 13 deletions(-)

Nice, we have a test too!

ACK

Michal

--
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]