mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-03 01:49:24 -05:00
remote: remove special case for getting version
The on-the-wire protocol is identical; XDR guarantees that both 'hyper' and 'unsigned hyper' are transmitted as 8 bytes. * src/remote/remote_protocol.x (remote_get_version_ret) (remote_get_lib_version_ret): Match public API. * daemon/remote_generator.pl: Drop special case. * src/remote_protocol-structs: Reflect updated type.
This commit is contained in:
@@ -115,10 +115,10 @@ struct remote_get_type_ret {
|
||||
remote_nonnull_string type;
|
||||
};
|
||||
struct remote_get_version_ret {
|
||||
int64_t hv_ver;
|
||||
uint64_t hv_ver;
|
||||
};
|
||||
struct remote_get_lib_version_ret {
|
||||
int64_t lib_ver;
|
||||
uint64_t lib_ver;
|
||||
};
|
||||
struct remote_get_hostname_ret {
|
||||
remote_nonnull_string hostname;
|
||||
|
||||
Reference in New Issue
Block a user