summaryrefslogtreecommitdiff
path: root/src/lxc_monitor_protocol-structs
blob: da72ec0493242d4004c1495e2d864b210ed6cdc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* -*- 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 {
        enum virLXCMonitorExitStatus status;
};
struct virLXCMonitorInitEventMsg {
        uint64_t                   initpid;
};
enum virLXCMonitorProcedure {
        VIR_LXC_MONITOR_PROC_EXIT_EVENT = 1,
        VIR_LXC_MONITOR_PROC_INIT_EVENT = 2,
};