D-bus array data transfer example in C

Marco Cavallini koansoftware at gmail.com
Wed Oct 1 14:20:25 PDT 2008


Hi,
I am trying to develop a IPC connection between two applications written
in pure C using D-Bus.
I found extremely useful this example:
http://dbus.freedesktop.org/doc/dbus/libdbus-tutorial.html
Now I am able to send signal from an application 'A' and receive it from
another 'B'.

Unfortunately I need more, I actually need to send some data from 'A' to
'B' using something like an array or a struct but I spen hours seeking
in the net without success.
Does anybody have a hint, a link a piece of code showing the two cases:
sending and receiving an array in pure C (not Glib please)?

TIA

/marco


More information about the dbus mailing list