Re: Dbus Howto



В Вск, 12/10/2008 в 16:21 +0200, Dennis Hilmar пишет:
> Hi
> 
> It seems that python is the most used language when dealing with dbus
> (I googled). But this is not good news for an embedded developer, who
> has dedicated his life to C... 
> 
> I was wondering if anyone knows about a good C programming DBus howto?
> I will make a blog about my discoveries...
> 
Hm, there are a lot of docs here:

http://www.freedesktop.org/wiki/Software/dbus#head-f208dd08ee19201b857adb8c80c8e02a9ccf9ff1

For example this one mentions low-level API

http://www.redhat.com/magazine/003jan05/features/dbus/

Also, there is dbus mailing list on freedesktop.org, you can always ask
quesitons there.

> What I would really like to know is how to find the services I need in
> my programs. Fx right now I just want the simplest way of detecting a
> new USB device through Hal.
> 
It's better to use libhal here, not dbus interface or check libhal
sources if you need something simplier. For example check API on

libhal_ctx_set_device_added 

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



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