Hi,<br><br>Passing the dbus structure with low level api is really difficult, you need to write lot of code and can make mistakes easily. So I would recommend you to use any binding may be dbus-glib. I tried to use once by using low level C api and it was very difficult. As per my understanding you need to attach an iterator with you message, then open a container put the structure members in the container and then close the container. The same way parsing is rather difficult.
<br><br>I am also looking in glib binding. If you download the dbus-glib binding source code, that has some examples in dbus/example/ dir. that might help you.<br><br>-Br<br>Naveen<br><br><div class="gmail_quote">On Jan 21, 2008 4:25 PM, Trilok Soni <
<a href="mailto:soni.trilok@gmail.com">soni.trilok@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I want to pass "structure" over d-bus, I see that d-bus specification
<br>mentions how to add that<br>with "(" and ")" notions. But, I am not able to find any example with<br>dbus low-level apis or dbus-glib binding<br>demonstrating that functionality. Can any one please point me the same
<br>or example introspection xml<br>file which I could use with dbus-binding tool to generate the dummy<br>sever/client code?<br><br>Apart from this How do we specify "argument" of the method taking<br>"void *" as argument, I have to write a method
<br>which take "void *" as argument, what is equivalent in dbus-glib binding type?<br><font color="#888888"><br>--<br>--Trilok Soni<br>_______________________________________________<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org">
dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br></font></blockquote></div><br>