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>
* Returns: string list of completions on success,
* NULL otherwise.
*/
-static char **
+char **
virshCommaStringListComplete(const char *input,
const char **options)
{
const vshCmd *cmd,
unsigned int flags);
+char ** virshCommaStringListComplete(const char *input,
+ const char **options);
+
char ** virshStoragePoolNameCompleter(vshControl *ctl,
const vshCmd *cmd,
unsigned int flags);