Lines Matching defs:con
57 DBusConnection *con;
109 send_reply(DBusConnection *con, DBusMessage *msg, guint32 exit_type, gint32 return_code, gchar **error)
115 if (con == NULL || msg == NULL)
128 dbus_connection_send(con, reply, NULL);
165 send_reply(rd->con, rd->msg, HALD_RUN_FAILED, 0, NULL);
176 send_reply(rd->con, rd->msg, HALD_RUN_SUCCESS, WEXITSTATUS(status), error);
183 if(rd->con != NULL && rd->emit_pid_exited) {
192 dbus_connection_send(rd->con, signal, NULL);
210 send_reply(rd->con, rd->msg, HALD_RUN_TIMEOUT, 0, NULL);
242 run_request_run (run_request *r, DBusConnection *con, DBusMessage *msg, GPid *out_pid)
278 if (con && msg)
279 send_reply(con, msg, HALD_RUN_FAILED, 0, NULL);
297 rd->con = con;
347 send_reply(rd->con, rd->msg, HALD_RUN_KILLED, 0, NULL);