In next commits the virsh-completer.c is going to be split into smaller files. Expose virshCommaStringListComplete() so that it can still be used from those new files. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- tools/virsh-completer.c | 2 +- tools/virsh-completer.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index 63e2fe17e6..f97bad75de 100644 --- a/tools/virsh-completer.c +++ b/tools/virsh-completer.c @@ -96,7 +96,7 @@ * Returns: string list of completions on success, * NULL otherwise. */ -static char ** +char ** virshCommaStringListComplete(const char *input, const char **options) { diff --git a/tools/virsh-completer.h b/tools/virsh-completer.h index 1b4694d44d..2b51d5d84d 100644 --- a/tools/virsh-completer.h +++ b/tools/virsh-completer.h @@ -38,6 +38,9 @@ char ** virshDomainDiskTargetCompleter(vshControl *ctl, const vshCmd *cmd, unsigned int flags); +char ** virshCommaStringListComplete(const char *input, + const char **options); + char ** virshStoragePoolNameCompleter(vshControl *ctl, const vshCmd *cmd, unsigned int flags); -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list