libvirt/src/util
Peter Krempa 12a330b50c util: json: Introduce helper to prepend string into a virJSONValueObject
Libvirt treats the JSON objects as lists thus the values appear in the
order they were added. To avoid too much changes introduce a helper
which allows to prepend a string which will allow to keep certain
outputs in order.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-07-18 17:59:34 +02:00
..
iohelper.c
Makefile.inc.am util: Drop virsexpr module 2019-07-09 10:27:20 +02:00
viralloc.c
viralloc.h util: alloc: use #pragma once 2019-06-19 17:12:31 +02:00
virarch.c
virarch.h util: arch.h: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virarptable.c
virarptable.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viratomic.c
viratomic.h util: atomic: use #pragma once 2019-06-19 17:12:31 +02:00
viraudit.c
viraudit.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virauth.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauth.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virauthconfig.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauthconfig.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virautoclean.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virbitmap.c util: Introduce virBitmapUnion() 2019-06-04 09:29:35 +02:00
virbitmap.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virbuffer.c virBuffer: Try harder to free buffer 2019-05-06 09:33:10 +02:00
virbuffer.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircgroup.c util: vircgroupv2: stop enabling missing controllers with systemd 2019-06-28 15:17:37 +02:00
vircgroup.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupbackend.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupbackend.h util: vircgroupv2: stop enabling missing controllers with systemd 2019-06-28 15:17:37 +02:00
vircgrouppriv.h util: vircgroup: move virCgroupGetValueStr out of virCgroupGetValueForBlkDev 2019-06-21 14:35:57 +02:00
vircgroupv1.c Revert "util: vircgroup: pass parent cgroup into virCgroupDetectControllersCB" 2019-06-28 15:17:26 +02:00
vircgroupv1.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupv2.c util: vircgroupv2: stop enabling missing controllers with systemd 2019-06-28 15:17:37 +02:00
vircgroupv2.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virclosecallbacks.c
virclosecallbacks.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircommand.c util: command: Ignore bitmap errors when enumerating file descriptors to close 2019-07-18 15:55:16 +02:00
vircommand.h util: remove code spawning with systemd activation env vars 2019-07-12 16:55:40 +01:00
vircommandpriv.h util: command: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virconf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virconf.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircrypto.c
vircrypto.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virdbus.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virdbus.h util: dbus: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virdbuspriv.h util: dbus: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virdevmapper.c
virdevmapper.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virdnsmasq.c lib: Don't use virReportSystemError() if virCommandRun() fails 2019-04-12 15:56:28 +02:00
virdnsmasq.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virebtables.c
virebtables.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virendian.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virenum.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virenum.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virerror.c Revert "error: Add VIR_ERR_DEPRECATED error code" 2019-06-27 14:47:10 +01:00
virerror.h util: error: Add API for prefixing last set error with a string 2019-06-20 17:10:24 +02:00
virerrorpriv.h util: error: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virevent.c
virevent.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vireventpoll.c
vireventpoll.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfcp.c
virfcp.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfdstream.c
virfdstream.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfile.c virFileRemoveXAttr: Report error on failure 2019-07-03 08:36:03 +02:00
virfile.h virfile: Make virFileGetXAttr report errors 2019-07-03 08:36:03 +02:00
virfilecache.c
virfilecache.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfirewall.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virfirewall.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewalld.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virfirewalld.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewalldpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewallpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirmware.c
virfirmware.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virgettext.c
virgettext.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virgic.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virgic.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virhash.c util: hash: Append to hash buckets when adding new entries 2019-04-25 13:28:16 +02:00
virhash.h util: hash: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhashcode.c
virhashcode.h util: hash: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhook.c network: convert hook script to take a network port XML 2019-06-17 15:19:54 +01:00
virhook.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virhostcpu.c util: Add virHostCPUGetTscInfo 2019-06-03 18:07:16 +02:00
virhostcpu.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostcpupriv.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostdev.c virhostdev: Use VIR_AUTOPTR more 2019-06-20 10:29:54 +02:00
virhostdev.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostmem.c
virhostmem.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
viridentity.c
viridentity.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virinitctl.c
virinitctl.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viriptables.c
viriptables.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viriscsi.c
viriscsi.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virjson.c util: json: Introduce helper to prepend string into a virJSONValueObject 2019-07-18 17:59:34 +02:00
virjson.h util: json: Introduce helper to prepend string into a virJSONValueObject 2019-07-18 17:59:34 +02:00
virkeycode.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virkeycode.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virkeyfile.c
virkeyfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virkmod.c
virkmod.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlease.c
virlease.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlockspace.c
virlockspace.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlog.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virlog.h util: log: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmacaddr.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virmacaddr.h util: mac: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmacmap.c
virmacmap.h util: mac: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmdev.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virmdev.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virmodule.c
virmodule.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnetdev.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdev.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevbandwidth.c
virnetdevbandwidth.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevbridge.c util: Fix uninitalized variable to avoid garbage value. 2019-04-30 09:44:21 +02:00
virnetdevbridge.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevip.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdevip.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevmacvlan.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virnetdevmacvlan.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevmidonet.c
virnetdevmidonet.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevopenvswitch.c test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevopenvswitch.h test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevtap.c util: add helper method for re-attaching a tap device to a bridge 2019-04-16 14:44:53 +01:00
virnetdevtap.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevveth.c
virnetdevveth.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevvlan.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetdevvlan.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevvportprofile.c util: add API for copying virtual port profile data 2019-04-17 14:12:56 +01:00
virnetdevvportprofile.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetlink.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetlink.h util: netlink: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnodesuspend.c nodesuspend: report unsupported if systemd & pm-utils aren't available 2019-06-17 15:02:24 +01:00
virnodesuspend.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnuma.c util: Propagate numad failures correctly 2019-06-04 10:13:07 +02:00
virnuma.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virobject.c
virobject.h util: object: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virpci.c virpci: report dev->name in virPCIGetHeaderType error message 2019-06-24 18:06:59 +02:00
virpci.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virperf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virperf.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virpidfile.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virpidfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virpolkit.c lib: Avoid double close when passing FDs with virCommandPassFD() 2019-05-17 16:01:11 +02:00
virpolkit.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virportallocator.c
virportallocator.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virprobe.h util: virprobe.h: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virprocess.c util: assume modern CPU_ALLOC macros always exist 2019-07-09 18:44:19 +01:00
virprocess.h qemusecuritymock: Mock virProcessRunInFork 2019-07-03 08:36:03 +02:00
virqemu.c
virqemu.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virrandom.c
virrandom.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virresctrl.c virresctrl: Sort resctrl array correctly in virResctrlMonitorGetStats() 2019-05-13 14:38:58 +02:00
virresctrl.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virresctrlpriv.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virrotatingfile.c
virrotatingfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsi.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsi.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsihost.c
virscsihost.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsivhost.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsivhost.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virseclabel.c
virseclabel.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsecret.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virsecret.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsocketaddr.c util: add API for resolving socket service names 2019-07-11 14:13:03 +01:00
virsocketaddr.h util: add API for resolving socket service names 2019-07-11 14:13:03 +01:00
virstorageencryption.c
virstorageencryption.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstoragefile.c util: storage: Don't leak metadata on repeated calls of virStorageFileGetMetadata 2019-07-18 17:54:22 +02:00
virstoragefile.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstoragefilebackend.c
virstoragefilebackend.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstring.c
virstring.h util: string: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virsysinfo.c virSysinfoReadARM: Try reading DMI table 2019-06-03 17:59:38 +02:00
virsysinfo.h util: sysinfo: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsysinfopriv.h util: sysinfo: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsystemd.c util: move code for getting listen FDs into systemd module 2019-07-12 16:55:40 +01:00
virsystemd.h util: add APIs for facilitating use of systemd activation FDs 2019-07-12 16:55:39 +01:00
virsystemdpriv.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virthread.c
virthread.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virthreadjob.c
virthreadjob.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virthreadpool.c
virthreadpool.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virtime.c util: Fix uninitalized variable to avoid garbage value. 2019-07-18 11:31:19 +02:00
virtime.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virtpm.c
virtpm.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virtypedparam.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virtypedparam.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viruri.c
viruri.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virusb.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virusb.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virutil.c util: remove unused helper for getting UNIX socket path 2019-07-12 16:55:40 +01:00
virutil.h util: remove unused helper for getting UNIX socket path 2019-07-12 16:55:40 +01:00
viruuid.c
viruuid.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virvhba.c
virvhba.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virvsock.c
virvsock.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virxdrdefs.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virxml.c
virxml.h util: xml: use #pragma once in headers 2019-06-19 17:12:33 +02:00