tools: Expose virshCommaStringListComplete()

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@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Michal Privoznik 2019-07-18 17:18:28 +02:00
parent a0e4f6549d
commit 3afcc74af6
2 changed files with 4 additions and 1 deletions

View File

@ -96,7 +96,7 @@
* Returns: string list of completions on success,
* NULL otherwise.
*/
static char **
char **
virshCommaStringListComplete(const char *input,
const char **options)
{

View File

@ -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);