dbus signal and sending parameters

Thiago Macieira thiago at kde.org
Tue Dec 26 06:03:22 PST 2006

Arvind Ayyangar wrote:
>I am using the sytem bus for the two application and dbus-monitor
>doesn't seem to show the traffic over the system bus

It does if you run it with the --system option.

>if (!dbus_message_iter_init(msg, &args)){
>                                 printf ("No parameters \n");
>                         }
>    else {
>           dbus_message_iter_get_basic(&args, &sigValue);
>           dbus_message_iter_get_basic(&args, &timeout);
>    }

The code above is missing a dbus_message_iter_next() call.

>Can we pass a structure instead?

Yes, if you want.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061226/8ec1f607/attachment.pgp

More information about the dbus mailing list