]> xenbits.xensource.com Git - libvirt.git/commit
Refactor message sending to allow code reuse for data streams
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 10 Jul 2009 15:10:56 +0000 (16:10 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 16 Jul 2009 15:09:48 +0000 (16:09 +0100)
commit9c9ed0f3f658db503120d8137f42cb8ab4deb624
treeeab863a114181130acc854daa5d51f497b93883b
parent7a61c1383455ffb70e28eabaf3b898c8fbb1cbd3
Refactor message sending to allow code reuse for data streams

Splits up the 'call' method moving generic IO code out into
separate method to allow it to be easily reused for sending
data streams

* src/remote_internal.c: Split 'call' into two methods, the first
  with same name serializes a set of method arguments into a
  message, the second 'remoteIO' takes a pre-serialized messages,
  sends it and awaits a reply
src/remote_internal.c