Commit Graph

3 Commits

Author SHA1 Message Date
Avi Kivity
e5a35ea048 db: add equality compare operators to serialization_format 2015-04-10 22:26:41 +03:00
Avi Kivity
6fee695095 db: replace most uses of protocol_version with serialization_format
Better type safety.
2015-03-16 18:15:16 +02:00
Avi Kivity
3aa8231c7a db: add serialization_format class
This is an abstraction layer boundary between transport and the rest of the
code.  Instead of the protocol version permeating through the code, encapsulate
it in a serialization_format variable.

This is intended to replace all uses of protocol_version outside transport.
2015-03-16 18:10:09 +02:00