Re: bluez+dbus: why glib binding

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1202220823.15090.88.camel@violet>
Hi Choi,

> i am intersted to understand why did bluez daemon choose to use the
> glib binding of dbus.

the bluez-utils don't depend on dbus-glib. It is an option that we use
for testing and nothing more.

> i understand it is easier than the low level c library.
> 
> but - doesn't glib impose a new depedanbility ?
> 
> and - does the bluez daemon use glib for something other than dbus ?

We use glib for the mainloop, the XML parser and other things. However
currently you can configure it to use the included eglib which means you
don't have to depend on glib.

However the option to use eglib will go away with the 4.x series. We
will have hard dependencies on dbus and glib (not dbus-glib).

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.