+static void propagate(struct jreq *jreq, const char *msg, const char *method)
+{
+ char *reply = jbus_call_ss_sync(jbuses[0], method, msg);
+ if (reply)
+ jbus_reply_s(jreq, reply);
+ else
+ jbus_reply_error_s(jreq, error_system);
+}
+
+static void on_install(struct jreq *jreq, const char *msg)
+{
+ return propagate(jreq, msg, "install");
+}
+
+static void on_uninstall(struct jreq *jreq, const char *msg)
+{
+ return propagate(jreq, msg, "uninstall");
+}
+