mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
4d2cf054d4
Explicit 'enum' keyword does not work with portablexdr-rpcgeb, causing its parser to fail. Fix method is borrowed from virnetprotocol.x Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
17 lines
481 B
C
17 lines
481 B
C
/* -*- c -*- */
|
|
enum virLXCMonitorExitStatus {
|
|
VIR_LXC_MONITOR_EXIT_STATUS_ERROR = 0,
|
|
VIR_LXC_MONITOR_EXIT_STATUS_SHUTDOWN = 1,
|
|
VIR_LXC_MONITOR_EXIT_STATUS_REBOOT = 2,
|
|
};
|
|
struct virLXCMonitorExitEventMsg {
|
|
virLXCMonitorExitStatus status;
|
|
};
|
|
struct virLXCMonitorInitEventMsg {
|
|
uint64_t initpid;
|
|
};
|
|
enum virLXCMonitorProcedure {
|
|
VIR_LXC_MONITOR_PROC_EXIT_EVENT = 1,
|
|
VIR_LXC_MONITOR_PROC_INIT_EVENT = 2,
|
|
};
|