]> git.ipfire.org Git - thirdparty/libvirt.git/commit
API: discourage usage of non-ListAll APIs
authorJán Tomko <jtomko@redhat.com>
Sun, 4 Oct 2020 22:20:27 +0000 (00:20 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 24 Aug 2021 14:26:55 +0000 (16:26 +0200)
commitfb234839a7ef2fb606fe63ce62f71e69168623d3
tree1695b06dc89f27545b574ce33a2e15ef26fcbec0
parentc7f3a1f7870dc5f07b45da0cd4b4ebe123d17118
API: discourage usage of non-ListAll APIs

They require the caller to provide the maximum number
of array elements upfront, leading to either incomplete
results or violations of the zero-one-infinity rule.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt-domain-snapshot.c
src/libvirt-domain.c
src/libvirt-interface.c
src/libvirt-network.c
src/libvirt-nodedev.c
src/libvirt-nwfilter.c
src/libvirt-secret.c
src/libvirt-storage.c