]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: Pass opaque data in vshCompleter and introduce autoCompleteOpaque
authorNishith Shah <nishithshah.2211@gmail.com>
Tue, 6 Sep 2016 12:04:37 +0000 (12:04 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Sep 2016 15:46:40 +0000 (17:46 +0200)
commitcbbaa17faf2e8dd92455d69daaa05178be4dce05
tree1a2834d496f972837531cf65b5a2cbc67ddedda8
parentf8435a434abf0d3e47daad7f152d9db96dd38f5d
tools: Pass opaque data in vshCompleter and introduce autoCompleteOpaque

This patch changes the signature of vshCompleters, allowing to pass along
some data that we might want to along with the completers; for example,
we might want to pass the autocomplete vshControl along with the
completer, in case the completer requires a connection to libvirtd.

Signed-off-by: Nishith Shah <nishithshah.2211@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/vsh.c
tools/vsh.h