2017-10-31 03:24:21 -05:00
|
|
|
/*
|
|
|
|
* virsh-completer.h: virsh completer callbacks
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2019-06-18 11:13:15 -05:00
|
|
|
#pragma once
|
2017-10-31 03:24:21 -05:00
|
|
|
|
2019-06-18 11:13:15 -05:00
|
|
|
#include "vsh.h"
|
2017-10-31 03:24:21 -05:00
|
|
|
|
2019-07-13 11:00:35 -05:00
|
|
|
#include "virsh-completer-domain.h"
|
2019-07-13 11:27:12 -05:00
|
|
|
#include "virsh-completer-pool.h"
|
2018-05-15 06:18:23 -05:00
|
|
|
|
2019-07-18 10:18:28 -05:00
|
|
|
char ** virshCommaStringListComplete(const char *input,
|
|
|
|
const char **options);
|
|
|
|
|
2018-01-12 07:15:11 -06:00
|
|
|
char ** virshStorageVolNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 07:26:35 -06:00
|
|
|
char ** virshInterfaceNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 07:35:40 -06:00
|
|
|
char ** virshNetworkNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2019-03-04 21:17:39 -06:00
|
|
|
char ** virshNetworkEventNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-12-12 10:58:31 -06:00
|
|
|
char ** virshNetworkPortUUIDCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 07:44:37 -06:00
|
|
|
char ** virshNodeDeviceNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 07:51:34 -06:00
|
|
|
char ** virshNWFilterNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-05-09 11:44:35 -05:00
|
|
|
char ** virshNWFilterBindingNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 08:00:40 -06:00
|
|
|
char ** virshSecretUUIDCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2019-03-13 16:04:51 -05:00
|
|
|
char ** virshCheckpointNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-01-12 08:28:30 -06:00
|
|
|
char ** virshSnapshotNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2018-05-21 06:53:44 -05:00
|
|
|
char ** virshAllocpagesPagesizeCompleter(vshControl *ctl,
|
2018-05-24 04:04:33 -05:00
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2018-05-21 06:53:44 -05:00
|
|
|
|
2018-05-23 01:32:40 -05:00
|
|
|
char ** virshSecretEventNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
|
|
|
|
2019-07-14 04:47:34 -05:00
|
|
|
char ** virshNodeDeviceEventNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2018-05-23 01:32:46 -05:00
|
|
|
|
2019-07-14 04:47:34 -05:00
|
|
|
char ** virshNodeDeviceCapabilityNameCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|
2019-06-14 07:27:13 -05:00
|
|
|
|
2018-05-25 02:12:37 -05:00
|
|
|
char ** virshCellnoCompleter(vshControl *ctl,
|
|
|
|
const vshCmd *cmd,
|
|
|
|
unsigned int flags);
|