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:
Eric Blake
2011-05-18 15:25:03 -06:00
parent 7647422a8c
commit 8fcbc0c63c
3 changed files with 13 additions and 18 deletions
+2 -2
View File
@@ -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;