Async DBusMessage reads using the C API

John (J5) Palmieri johnp at redhat.com
Mon Nov 7 10:22:25 PST 2005


Hi, 

Thanks for the patch.  Can you send it in unified diff format.  It will
also need a test case for both the dispatch and non dispatching methods.
Though your example might be good enough for this it needs to be added
as part of the diff and setup to run on make check.

On Mon, 2005-11-07 at 11:13 +0000, Matthew Johnson wrote:
> On Fri, 4 Nov 2005, Havoc Pennington wrote:
> 
> > On Fri, 2005-11-04 at 10:25 +0000, Matthew Johnson wrote:
> >
> > I think the right patch is probably:
> > - make the body of read_write_dispatch() into a private function
> >   that takes a "dbus_bool_t dispatch" argument
> > - wrap it in two public functions, one that calls it with TRUE
> >   and another that calls with with FALSE
> >
> > i.e. this is exactly like read_write_dispatch except it never
> > dispatches.
> >
> OK, I have attached a patch which should do that, and a test case which
> uses it.
> 
> Matt
> 
> -- 
> Matthew Johnson
> http://www.matthew.ath.cx/
> _______________________________________________ dbus mailing list dbus at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dbus
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list