[libvirt] [PATCH 1/9] Split generic RPC message dispatch code out from remote protocol API handlers
Daniel Veillard
veillard at redhat.com
Thu Jul 16 13:00:24 UTC 2009
On Tue, Jul 14, 2009 at 11:17:16AM +0100, Daniel P. Berrange wrote:
> * qemud/dispatch.c, qemud/dispatch.h: Generic code handling dispatch of
> RPC messages.
> * qemud/Makefile.am: Add dispatch.c to build
> * qemud/qemud.c: Include dispatch.h
> * qemud/qemud.h: Remove remoteDispatchClientRequest, remoteRelayDomainEvent
> now in dispatch.h
> * qemud/remote.c: Remove remoteDispatchClientRequest, remoteRelayDomainEvent
> now in dispatch.c, and dispatch_args, dispatch_ret, dispatch_fn & dispatch_data
> now in remote.h
> * qemud/remote.h: Add typedefs for dispatch_args, dispatch_ret,
> dispatch_fn, dispath_data. Add remoteGetDispatchData() API
okay, except for remoteGetDispatchData() this is basically cut and paste
good idea to refactor,
ACK
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list