2 * virsh-completer.h: virsh completer callbacks
4 * Copyright (C) 2017 Red Hat, Inc.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <http://www.gnu.org/licenses/>.
21 #ifndef LIBVIRT_VIRSH_COMPLETER_H
22 # define LIBVIRT_VIRSH_COMPLETER_H
26 char ** virshDomainNameCompleter(vshControl
*ctl
,
31 VIRSH_DOMAIN_INTERFACE_COMPLETER_MAC
= 1 << 0, /* Return just MACs */
34 char ** virshDomainInterfaceCompleter(vshControl
*ctl
,
38 char ** virshDomainDiskTargetCompleter(vshControl
*ctl
,
42 char ** virshStoragePoolNameCompleter(vshControl
*ctl
,
46 char ** virshStorageVolNameCompleter(vshControl
*ctl
,
50 char ** virshInterfaceNameCompleter(vshControl
*ctl
,
54 char ** virshNetworkNameCompleter(vshControl
*ctl
,
58 char ** virshNetworkEventNameCompleter(vshControl
*ctl
,
62 char ** virshNodeDeviceNameCompleter(vshControl
*ctl
,
66 char ** virshNWFilterNameCompleter(vshControl
*ctl
,
70 char ** virshNWFilterBindingNameCompleter(vshControl
*ctl
,
74 char ** virshSecretUUIDCompleter(vshControl
*ctl
,
78 char ** virshSnapshotNameCompleter(vshControl
*ctl
,
82 char ** virshAllocpagesPagesizeCompleter(vshControl
*ctl
,
86 char ** virshSecretEventNameCompleter(vshControl
*ctl
,
90 char ** virshDomainEventNameCompleter(vshControl
*ctl
,
94 char ** virshPoolEventNameCompleter(vshControl
*ctl
,
98 char ** virshDomainInterfaceStateCompleter(vshControl
*ctl
,
102 char ** virshNodedevEventNameCompleter(vshControl
*ctl
,
106 char ** virshDomainDeviceAliasCompleter(vshControl
*ctl
,
110 char ** virshCellnoCompleter(vshControl
*ctl
,
114 char ** virshDomainShutdownModeCompleter(vshControl
*ctl
,
117 #endif /* LIBVIRT_VIRSH_COMPLETER_H */