How create a reply without dbus_message_new_method_return?

Havoc Pennington hp at redhat.com
Tue Oct 25 20:14:24 PDT 2005


On Tue, 2005-10-25 at 12:26 -0200, Claudio Takahasi wrote:
> 
> I know that I can create the reply message when I receive the msg and
> add the arguments
> after. But this approach is a little bit "ugly". I want extract the
> values required to create
> the reply and create it after using the "dbus_message_new" function.
> 

Just look at the source code for dbus_message_new_method_return()

If you cut-and-paste that, that's how you reply without using it ;-)

Havoc




More information about the dbus mailing list