]> xenbits.xensource.com Git - libvirt.git/commit
util: Introduce virTypedParameterRemote datatype
authorErik Skultety <eskultet@redhat.com>
Tue, 2 Feb 2016 14:33:30 +0000 (15:33 +0100)
committerErik Skultety <eskultet@redhat.com>
Wed, 3 Feb 2016 14:46:45 +0000 (15:46 +0100)
commit41a459947f58c302ff5cbad824fa1737fb3ec374
treee035ed3604f1233e53f781df2f0c09ff25cb5a3e
parent1e93470df0dd0fff678914d53b7431af71f60d97
util: Introduce virTypedParameterRemote datatype

Both admin and remote protocols define their own types
(remote_typed_param vs admin_typed_param). Because of the naming convention,
admin typed params wouldn't be able to reuse the serialization/deserialization
methods, which are tailored for use by remote protocol, even if those method
were exported properly. In that case, introduce a new internal data type
structurally copying both admin and remote protocols which, eventually, would
allow serializer and deserializer to be used in a more generic way.
src/util/virtypedparam.h