jbus_reply_error_s(jreq, error_system);
}
+#if defined(EXPLICIT_CALL)
/*
* On query "install" from 'jreq' with parameters of 'msg'.
*/
{
return propagate(jreq, msg, "uninstall");
}
+#endif
/*
* On system signaling that applications list changed
|| jbus_add_service_j(user_bus, "continue", on_continue, NULL)
|| jbus_add_service_j(user_bus, "runners", on_runners, NULL)
|| jbus_add_service_j(user_bus, "state", on_state, NULL)
+#if defined(EXPLICIT_CALL)
|| jbus_add_service_s(user_bus, "install", on_install, NULL)
|| jbus_add_service_s(user_bus, "uninstall", on_uninstall, NULL)) {
+#else
+ || jbus_add_service_s(user_bus, "install", (void (*)(struct jreq *, const char *, void *))propagate, "install")
+ || jbus_add_service_s(user_bus, "uninstall", (void (*)(struct jreq *, const char *, void *))propagate, "uninstall")) {
+#endif
ERROR("adding services failed");
return 1;
}