mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
virsh: Move/add some of function declarations to virsh-domain.h
The upcoming patches introduce completers into virsh-completer-domain.c, They will invoke the functions which are defined in virsh-domain.c, So these functions need to be declared in virsh-domain.h. Signed-off-by: Lin Ma <lma@suse.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
aa54cb9d35
commit
7a975279b1
@ -8910,7 +8910,6 @@ static const vshCmdOptDef opts_send_process_signal[] = {
|
||||
{.name = NULL}
|
||||
};
|
||||
|
||||
VIR_ENUM_DECL(virDomainProcessSignal);
|
||||
VIR_ENUM_IMPL(virDomainProcessSignal,
|
||||
VIR_DOMAIN_PROCESS_SIGNAL_LAST,
|
||||
"nop", "hup", "int", "quit", "ill", /* 0-4 */
|
||||
|
@ -39,3 +39,7 @@ typedef enum {
|
||||
VIR_ENUM_DECL(virshDomainHostnameSource);
|
||||
|
||||
extern const vshCmdDef domManagementCmds[];
|
||||
|
||||
VIR_ENUM_DECL(virDomainProcessSignal);
|
||||
VIR_ENUM_DECL(virDomainLifecycle);
|
||||
VIR_ENUM_DECL(virDomainLifecycleAction);
|
||||
|
Loading…
x
Reference in New Issue
Block a user