[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/9] Split generic RPC message dispatch code out from remote protocol API handlers



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 veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]