]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Pass virshStreamCallbackDataPtr to virshStreamSink() and virshStreamSkip()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 2 Jul 2020 06:42:44 +0000 (08:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Aug 2020 11:32:53 +0000 (13:32 +0200)
commit9e745a97171e10f050962c166082439d6724e245
treeaa83b7441f92e942459a8d8e71d88e0187eac1e9
parent70b67c98d99da9e0f14e9dec97b0047f97af05dc
virsh: Pass virshStreamCallbackDataPtr to virshStreamSink() and virshStreamSkip()

These callback will need to know more that the FD they are
working on. Pass the structure that is passed to other stream
callbacks (e.g. virshStreamSource() or virshStreamSourceSkip())
instead of inventing a new one.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/virsh-util.c
tools/virsh-volume.c