Callback for service changed

Thiago Macieira thiago at kde.org
Thu May 9 02:08:13 UTC 2019


On Tuesday, 7 May 2019 17:36:03 PDT JH wrote:
> Thanks Lawrence, could you pint me a reference or an example how it
> does in C? All I can find is the Python API, I don't even know which
> message type for C API.

To react to signals, you need to use dbus_connection_add_filter() and make 
sure you return DBUS_HANDLER_RESULT_NOT_YET_HANDLED.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products





More information about the dbus mailing list