dbus_message_set/get_data usage

Brosseau, Vincent vincent.brosseau at bruker.fr
Wed Dec 11 06:37:27 PST 2013

Hi everybody,

dbus_message_set_data() requires a slot id, which can be created with dbus_message_allocate_data_slot().
Then I can "attach" any type of data to the message (via a pointer), as far as I understand.

But when I want to get these data in the program which received the message, dbus_message_get_data() requires the slot id too ! So how can I do, since I don't know the slot id created by the sender ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20131211/de073b8f/attachment.html>

More information about the dbus mailing list