1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00

Name the protocol version types

This makes the code clearer, and will help us replace them with proper
structs and get rid of the macros later.
This commit is contained in:
John Ericson 2023-10-17 11:15:36 -04:00
parent e92cac789f
commit ff68426095
6 changed files with 22 additions and 8 deletions

View file

@ -30,7 +30,7 @@ struct RemoteStore::Connection
* sides support. (If the maximum doesn't exist, we would fail to
* establish a connection and produce a value of this type.)
*/
unsigned int daemonVersion;
WorkerProto::Version daemonVersion;
/**
* Whether the remote side trusts us or not.