mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
remote: Replace 'domain' with 'dom' in the XDR protocol
This simplifies the remote protocol code generator. Also rename 'ret' to 'result' to resolve a naming conflict in the generator.
This commit is contained in:
@@ -35,7 +35,7 @@ struct remote_nonnull_secret {
|
||||
};
|
||||
struct remote_nonnull_domain_snapshot {
|
||||
remote_nonnull_string name;
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
struct remote_error {
|
||||
int code;
|
||||
@@ -1341,14 +1341,14 @@ struct remote_domain_has_managed_save_image_args {
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_has_managed_save_image_ret {
|
||||
int ret;
|
||||
int result;
|
||||
};
|
||||
struct remote_domain_managed_save_remove_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_snapshot_create_xml_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
remote_nonnull_string xml_desc;
|
||||
int flags;
|
||||
};
|
||||
@@ -1363,14 +1363,14 @@ struct remote_domain_snapshot_dump_xml_ret {
|
||||
remote_nonnull_string xml;
|
||||
};
|
||||
struct remote_domain_snapshot_num_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
int flags;
|
||||
};
|
||||
struct remote_domain_snapshot_num_ret {
|
||||
int num;
|
||||
};
|
||||
struct remote_domain_snapshot_list_names_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
int nameslen;
|
||||
int flags;
|
||||
};
|
||||
@@ -1381,7 +1381,7 @@ struct remote_domain_snapshot_list_names_ret {
|
||||
} names;
|
||||
};
|
||||
struct remote_domain_snapshot_lookup_by_name_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
remote_nonnull_string name;
|
||||
int flags;
|
||||
};
|
||||
@@ -1389,14 +1389,14 @@ struct remote_domain_snapshot_lookup_by_name_ret {
|
||||
remote_nonnull_domain_snapshot snap;
|
||||
};
|
||||
struct remote_domain_has_current_snapshot_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
int flags;
|
||||
};
|
||||
struct remote_domain_has_current_snapshot_ret {
|
||||
int result;
|
||||
};
|
||||
struct remote_domain_snapshot_current_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
int flags;
|
||||
};
|
||||
struct remote_domain_snapshot_current_ret {
|
||||
@@ -1411,7 +1411,7 @@ struct remote_domain_snapshot_delete_args {
|
||||
int flags;
|
||||
};
|
||||
struct remote_domain_open_console_args {
|
||||
remote_nonnull_domain domain;
|
||||
remote_nonnull_domain dom;
|
||||
remote_string devname;
|
||||
u_int flags;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user