[RFC][Patch] DBus Service C library

Shahar Frank shaharf at qumranet.com
Sun Aug 12 02:49:11 PDT 2007


Hi Marcel,

> 
> Hi Havoc,
> 
> >  > So, I decided to
> > > implement simple and more "traditional" C oriented Server library.
The
> > > library is not yet finished but I decided to contribute it hoping
that
> I
> > > can get some valuable feedback, advices, comments, idea, etc.
> >
> > It's great to see work in this area. Did you see:
> > http://lists.freedesktop.org/archives/dbus/2007-July/008159.html
> >
> > I think there are some ideas there you could incorporate.
> 
> if you look at the main Bluetooth daemon with D-Bus support, you find
a
> lot similar things. Especially the name owner changed tracker (which
we
> used a lot to cleanup after broken clients) and also helper functions
> for actual method and signal registration that allowed us to generate
> the introspection data dynamically.

Thanks for the tip. I will look into the Bluetooth daemon. If you have
specific ideas, mechanisms/code you think I should use (or avoid using)
please tell me.

> Main reason to not use dbus-glib is the dependency on GObject. We
don't
> want that for a daemon and we don't need it. So having something a
> little bit more advanced than raw libdbus with proper main loop
> integration and useful helpers is really the way to go.
> 

Fully agree. I have a very similar problem.

> Regards
> 
> Marcel

Shahar


More information about the dbus mailing list