Lines Matching defs:con
55 DBusConnection *con;
107 send_reply(DBusConnection *con, DBusMessage *msg, guint32 exit_type, gint32 return_code, gchar **error)
113 if (con == NULL || msg == NULL)
126 dbus_connection_send(con, reply, NULL);
158 send_reply(rd->con, rd->msg, HALD_RUN_FAILED, 0, NULL);
169 send_reply(rd->con, rd->msg, HALD_RUN_SUCCESS, WEXITSTATUS(status), error);
176 if(rd->con != NULL && rd->emit_pid_exited) {
186 dbus_connection_send(rd->con, signal, NULL);
204 send_reply(rd->con, rd->msg, HALD_RUN_TIMEOUT, 0, NULL);
236 run_request_run (run_request *r, DBusConnection *con, DBusMessage *msg, GPid *out_pid)
272 if (con && msg)
273 send_reply(con, msg, HALD_RUN_FAILED, 0, NULL);
291 rd->con = con;
337 send_reply(rd->con, rd->msg, HALD_RUN_KILLED, 0, NULL);