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