Lines Matching refs:reply
44 sd_bus_message *reply,
54 assert(reply);
57 r = sd_bus_message_open_container(reply, 'a', "s");
62 r = sd_bus_message_append(reply, "s", t);
67 return sd_bus_message_close_container(reply);
75 sd_bus_message *reply,
82 assert(reply);
86 return sd_bus_message_append(reply, "s", f ? f->id : "");
94 sd_bus_message *reply,
104 assert(reply);
106 r = sd_bus_message_open_container(reply, 'a', "s");
111 r = sd_bus_message_append(reply, "s", u->id);
116 return sd_bus_message_close_container(reply);
124 sd_bus_message *reply,
129 assert(reply);
132 return sd_bus_message_append(reply, "as", 0);
140 sd_bus_message *reply,
147 assert(reply);
150 return sd_bus_message_append(reply, "s", unit_description(u));
158 sd_bus_message *reply,
165 assert(reply);
168 return sd_bus_message_append(reply, "s", unit_active_state_to_string(unit_active_state(u)));
176 sd_bus_message *reply,
183 assert(reply);
186 return sd_bus_message_append(reply, "s", unit_sub_state_to_string(u));
194 sd_bus_message *reply,
202 assert(reply);
207 return sd_bus_message_append(reply, "s",
217 sd_bus_message *reply,
224 assert(reply);
227 return sd_bus_message_append(reply, "s", unit_file_state_to_string(unit_get_unit_file_state(u)));
235 sd_bus_message *reply,
242 assert(reply);
245 return sd_bus_message_append(reply, "b", unit_can_start(u) && !u->refuse_manual_start);
253 sd_bus_message *reply,
260 assert(reply);
266 return sd_bus_message_append(reply, "b", unit_can_start(u) && !u->refuse_manual_stop);
274 sd_bus_message *reply,
281 assert(reply);
284 return sd_bus_message_append(reply, "b", unit_can_reload(u));
292 sd_bus_message *reply,
299 assert(reply);
302 return sd_bus_message_append(reply, "b", unit_can_isolate(u) && !u->refuse_manual_start);
310 sd_bus_message *reply,
318 assert(reply);
322 return sd_bus_message_append(reply, "(uo)", 0, "/");
328 return sd_bus_message_append(reply, "(uo)", u->job->id, p);
336 sd_bus_message *reply,
343 assert(reply);
346 return sd_bus_message_append(reply, "b", unit_need_daemon_reload(u));
354 sd_bus_message *reply,
363 assert(reply);
368 r = sd_bus_message_open_container(reply, 'a', "(sbbsi)");
379 r = sd_bus_message_append(reply, "(sbbsi)",
388 return sd_bus_message_close_container(reply);
396 sd_bus_message *reply,
404 assert(reply);
410 return sd_bus_message_append(reply, "(ss)", e.name, e.message);
728 sd_bus_message *reply,
735 assert(reply);
738 return sd_bus_message_append(reply, "s", unit_slice_name(u));
746 sd_bus_message *reply,
755 assert(reply);
762 return sd_bus_message_append(reply, "t", sz);
770 sd_bus_message *reply,
779 assert(reply);
786 return sd_bus_message_append(reply, "t", cn);
794 sd_bus_message *reply,
803 assert(reply);
810 return sd_bus_message_append(reply, "t", ns);
818 sd_bus_message *reply,
826 assert(reply);
840 return sd_bus_message_append(reply, "s", t);