I am trying to modify some code using systemd dbus.
The method call looks like this:
res = sd_bus_call_method(bus, SERVICE_NAME, OBJECT_PATH, INTERFACE, "AddData", &error, &m, "ss", data->key, data->valyue); Now I'm trying to change that to:
res = sd_bus_call_method(bus, SERVICE_NAME, OBJECT_PATH, INTERFACE, "AddData", &error, &m, "(a(ss))", /* WHAT DO I PASS HERE? */); I can't find examples or documentation and the code is not super clear to me.