Lines Matching refs:msg
54 DBusMessage *msg;
71 if (rd->msg)
72 dbus_message_unref(rd->msg);
107 send_reply(DBusConnection *con, DBusMessage *msg, guint32 exit_type, gint32 return_code, gchar **error)
113 if (con == NULL || msg == NULL)
116 reply = dbus_message_new_method_return(msg);
158 send_reply(rd->con, rd->msg, HALD_RUN_FAILED, 0, NULL);
168 if (rd->msg != NULL)
169 send_reply(rd->con, rd->msg, HALD_RUN_SUCCESS, WEXITSTATUS(status), error);
204 send_reply(rd->con, rd->msg, HALD_RUN_TIMEOUT, 0, NULL);
234 /* Run the given request and reply it's result on msg */
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);
287 rd->msg = msg;
288 if (msg != NULL)
289 dbus_message_ref(msg);
336 if (rd->msg != NULL)
337 send_reply(rd->con, rd->msg, HALD_RUN_KILLED, 0, NULL);