libvirt/include/libvirt
Peter Krempa bbd54c10e7 API: Introduce VIR_DOMAIN_JOB_SUCCESS field for virDomainGetJobStats
The statistics fields are used in two places:

1) virDomainGetJobStats where the job type which ultimately holds
whether the job was successful or not is returned via a different
argument.

2) The virConnectDomainEventJobCompleted event where we report just the
statistics via typed parameters.

Since it might be useful to report the event also for jobs which
completed unsuccessfully and we don't have the means to transport the
state via a different variable with the event let's add a new field
which will hold the success state.

Since this is meant primarily for completed jobs a plain boolean is
sufficient to convey whether the job was successful or not.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-12-03 15:26:53 +01:00
..
libvirt-admin.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-common.h.in Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
libvirt-domain-checkpoint.h backup: Introduce virDomainCheckpoint APIs 2019-07-26 16:48:58 -05:00
libvirt-domain-snapshot.h snapshot: Add VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE flag 2019-07-10 17:34:58 -05:00
libvirt-domain.h API: Introduce VIR_DOMAIN_JOB_SUCCESS field for virDomainGetJobStats 2019-12-03 15:26:53 +01:00
libvirt-event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-host.h api: introduce virConnectSetIdentity for passing uid, gid, selinux info 2019-09-16 11:25:01 +01:00
libvirt-interface.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-lxc.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-network.h network: add virNetworkPortRef API 2019-06-19 11:21:38 +01:00
libvirt-nodedev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-nwfilter.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-qemu.h Add API to change qemu agent response timeout 2019-11-14 19:10:01 +01:00
libvirt-secret.h secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
libvirt-storage.h storage: Add iscsi-direct pool list type flag 2019-07-13 17:40:09 +02:00
libvirt-stream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt.h backup: Introduce virDomainCheckpoint APIs 2019-07-26 16:48:58 -05:00
Makefile.am include: stop distributing generated source files 2019-10-23 14:45:56 +02:00
virterror.h util: introduce virbpf helpers 2019-11-15 12:58:00 +01:00