]> xenbits.xensource.com Git - libvirt.git/commit
Split out code for handling incoming method call messages
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 10 Jul 2009 11:53:54 +0000 (12:53 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 16 Jul 2009 15:09:47 +0000 (16:09 +0100)
commit47cab734995fa9521b1df05d37e9978eedd8d3a2
tree172d80de7ff00b824b9801497388bd9b97350100
parentaf4dad0fa25707e50164e8e0323910499693ceff
Split out code for handling incoming method call messages

The remoteDispatchClientRequest() method is currently hardwired to
assume there is only one type of incoming message, a method call.
To allow for alternate types of incoming messags, the code that is
specific to method calls is being split into a separate method
remoteDispatchClientCall

* qemud/dispatch.c: Move method call specific code out into
  remoteDispatchClientCall. Add a helper remoteSerializeError
  for returning error messages to client
qemud/dispatch.c