mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
703d4ed594
As long as we guarantee RPC struct layout stability, we might as well also guarantee RPC enum value constancy. * src/Makefile.am (r1, r2, PDWTAGS): Adjust rule to pick up named and anonymous enums. * src/remote_protocol-structs: Add enum values. * src/qemu_protocol-structs: Likewise. * src/virnetprotocol-structs: Likewise.
26 lines
705 B
C
26 lines
705 B
C
/* -*- c -*- */
|
|
struct remote_nonnull_domain {
|
|
remote_nonnull_string name;
|
|
remote_uuid uuid;
|
|
int id;
|
|
};
|
|
struct qemu_monitor_command_args {
|
|
remote_nonnull_domain dom;
|
|
remote_nonnull_string cmd;
|
|
u_int flags;
|
|
};
|
|
struct qemu_monitor_command_ret {
|
|
remote_nonnull_string result;
|
|
};
|
|
struct qemu_domain_attach_args {
|
|
u_int pid;
|
|
u_int flags;
|
|
};
|
|
struct qemu_domain_attach_ret {
|
|
remote_nonnull_domain dom;
|
|
};
|
|
enum qemu_procedure {
|
|
QEMU_PROC_MONITOR_COMMAND = 1,
|
|
QEMU_PROC_DOMAIN_ATTACH = 2,
|
|
};
|