]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Defines the basics of a generic RPC protocol in XDR
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 6 Dec 2010 17:03:10 +0000 (17:03 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 24 Jun 2011 10:48:10 +0000 (11:48 +0100)
commit980a132a24309a054049c881bf81b74f344daf4f
tree1b7d10dcaec5aa10fbc1a26906328ee9fdd85152
parent178bab1c53ed7a8f8d51e60accad47ef5683251e
Defines the basics of a generic RPC protocol in XDR

This patch defines the basics of a generic RPC protocol in XDR.
This is wire ABI compatible with the original remote_protocol.x.
It takes everything except for the RPC calls / events from that
protocol

 - The basic header virNetMessageHeader (aka remote_message_header)
 - The error object virNetMessageError  (aka remote_error)
 - Two dummy objects virNetMessageDomain & virNetMessageNetwork
   sadly needed to keep virNetMessageError ABI compatible with
   the old remote_error

The RPC protocol supports method calls, async events and
bidirectional data streams as before

* src/Makefile.am: Add rules for generating RPC code from
  protocol & define a new libvirt-net-rpc.la helper library
* src/rpc/virnetprotocol.x: New generic RPC protocol
.gitignore
src/Makefile.am
src/rpc/virnetprotocol.x [new file with mode: 0644]